|
||||||||||
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.Table
public class Table
This class creates a <table> 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 | |
---|---|
Table(int columns)
|
Method Summary | |
---|---|
Table |
addElement(Element element)
Adds an Element to the element. |
Table |
addElement(java.lang.String element)
Adds an Element to the element. |
Table |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
Table |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
Table |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Table |
setAlign(java.lang.String align)
Sets the align="" attribute. |
Table |
setCols(int cols)
Sets the columns="" attribute. |
Table |
setCols(java.lang.String cols)
Sets the columns="" 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 Table(int columns)
Method Detail |
---|
public Table setAlign(java.lang.String align)
align
- sets the align="" attribute.public Table setCols(int cols)
width
- sets the columns="" attribute.public Table setCols(java.lang.String cols)
width
- sets the columns="" attribute.public Table addElement(java.lang.String hashcode, Element element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Table addElement(java.lang.String hashcode, java.lang.String element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Table addElement(Element element)
element
- Adds an Element to the element.public Table addElement(java.lang.String element)
element
- Adds an Element to the element.public Table removeElement(java.lang.String hashcode)
hashcode
- the name of the element to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |