|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.MultiPartElement
org.apache.ecs.wml.P
public class P
This class implements the p element
| Field Summary |
|---|
| Fields inherited from class org.apache.ecs.GenericElement |
|---|
tabLevel |
| Fields inherited from interface org.apache.ecs.Attributes |
|---|
NO_ATTRIBUTE_VALUE |
| Fields inherited from interface org.apache.ecs.Element |
|---|
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE |
| Constructor Summary | |
|---|---|
P()
Basic constructor. |
|
P(Alignment alignType)
Constructor sets the alignType attribute. |
|
P(Alignment alignType,
Mode modeType)
Use the set* methods to set the values of the attributes. |
|
| Method Summary | |
|---|---|
P |
addElement(Element element)
Adds an Element to the element. |
P |
addElement(java.lang.String s)
Adds a String to the element. |
P |
setAlignment(Alignment alignType)
Sets the align="" attribute |
P |
setMode(Mode modeType)
Sets the mode="" attribute |
| Methods inherited from class org.apache.ecs.ConcreteElement |
|---|
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public P()
public P(Alignment alignType)
alignType - the align="" attribute
public P(Alignment alignType,
Mode modeType)
alignType - the align="" attributemodeType - the mode="" attribute| Method Detail |
|---|
public P setAlignment(Alignment alignType)
alignType - the align="" attributepublic P setMode(Mode modeType)
modeType - the mode="" attributepublic P addElement(Element element)
element - the element to addpublic P addElement(java.lang.String s)
s - the String to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||