|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.xml.ComplexTag
|
+--com.jdc.gui.html.ComplexTag
|
+--com.jdc.gui.html.tag.TableColumn
TableColumn is used to create the HTML required to create a table column, i.e. data, in a browser, including the start tag, the column attributes, and the end tag as well as the actual table column data. It is the container for a cell in a table.
Table,
TableRow,
Serialized Form| Nested Class Summary | |
static interface |
TableColumn.Format
Format represents the Cascading Style Sheet (CSS) class styles for a table column. |
| Field Summary |
| Fields inherited from interface com.jdc.gui.html.MarkupLanguage |
XHTML |
| Constructor Summary | |
TableColumn()
Constructs a TableColumn object. |
|
TableColumn(boolean format)
Constructs a TableColumn object and sets the format status. |
|
| Method Summary | |
String |
create(String data)
Create and return the HTML required to create a table column in a browser. |
String |
endTag()
Return a table column end tag. |
TableColumn |
setAlign(Align align)
Set the table column alignment. |
TableColumn |
setClass(String value)
Set the table column class. |
TableColumn |
setColumnSpan(int columns)
Set the number of columns spanned. |
TableColumn |
setHeight(int height)
Set the table column height. |
TableColumn |
setTitle(String text)
Set the table column title. |
TableColumn |
setVerticalAlign(VerticalAlign verticalAlign)
Set the table column vertical alignment. |
TableColumn |
setWidth(int width)
Set the table column width. |
String |
startTag()
Return a table column start tag. |
| Methods inherited from class com.jdc.gui.html.ComplexTag |
addAttribute, create, create, endTag, setFormat, setIdentifier, startTag |
| Methods inherited from class com.jdc.xml.ComplexTag |
addAttribute, create, getAttributes, getBody, getIdentifier, setBody, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TableColumn()
public TableColumn(boolean format)
| Method Detail |
public String create(String data)
create in class ComplexTagpublic String startTag()
startTag in class ComplexTagpublic String endTag()
endTag in class ComplexTagpublic TableColumn setAlign(Align align)
public TableColumn setClass(String value)
public TableColumn setColumnSpan(int columns)
public TableColumn setHeight(int height)
public TableColumn setTitle(String text)
public TableColumn setVerticalAlign(VerticalAlign verticalAlign)
public TableColumn setWidth(int width)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||