|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopoint.ui.util.HtmlTable
public class HtmlTable
The HtmlTable class is a helper for creating
HTML TABLE elements, TR element and TD elements in less
code that usual. It auto creates TR and TD elements since a
table cannot have content without TR and TD elements.
| Constructor Summary | |
|---|---|
HtmlTable()
Constructs a HtmlTable with a zero sized
border, cellpadding and cellspacing. |
|
HtmlTable(boolean whiteSpaceRelevant)
Constructs a HtmlTable with a zero sized
border, cellpadding and cellspacing and the specified
whitespacerelevant rule. |
|
HtmlTable(boolean whiteSpaceRelevant,
int border,
int cellspacing,
int cellpadding)
Constructs a HtmlTable with the specified
border, cellpadding and cellspacing. |
|
HtmlTable(int cellspacing,
int cellpadding)
Constructs a HtmlTable with a zero sized
border, and the specified cellpadding and cellspacing. |
|
HtmlTable(int border,
int cellspacing,
int cellpadding)
Constructs a HtmlTable with the specified
border, cellpadding and cellspacing. |
|
| Method Summary | |
|---|---|
Element |
getTABLE()
|
Element |
getTD()
|
Element |
getTR()
|
boolean |
isWhiteSpaceRelevant()
|
Element |
newTD()
Adds a new TD element to the current TR and returns the new TD element. |
Element |
newTD(boolean whiteSpaceRelevant)
Adds a new TD element to the current TR and returns the new TD element. |
Element |
newTR()
Adds a new TR element to the TABLE and returns the new TR element. |
Element |
newTR(boolean whiteSpaceRelevant)
Adds a new TR element to the TABLE and returns the new TR element. |
void |
setWhiteSpaceRelevant(boolean b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlTable()
HtmlTable with a zero sized
border, cellpadding and cellspacing. A TR and TD are also
created.
public HtmlTable(boolean whiteSpaceRelevant)
HtmlTable with a zero sized
border, cellpadding and cellspacing and the specified
whitespacerelevant rule. A TR and TD are also
created.
public HtmlTable(int cellspacing,
int cellpadding)
HtmlTable with a zero sized
border, and the specified cellpadding and cellspacing.
A TR and TD are also created.
cellspacing - cellpadding -
public HtmlTable(int border,
int cellspacing,
int cellpadding)
HtmlTable with the specified
border, cellpadding and cellspacing. A TR and TD are also
created.
border - cellspacing - cellpadding -
public HtmlTable(boolean whiteSpaceRelevant,
int border,
int cellspacing,
int cellpadding)
HtmlTable with the specified
border, cellpadding and cellspacing. A TR and TD are also
created.
border - cellspacing - cellpadding - | Method Detail |
|---|
public Element getTABLE()
public Element getTD()
public Element getTR()
public boolean isWhiteSpaceRelevant()
Element.setWhitespaceRelevant(boolean)public Element newTD()
public Element newTD(boolean whiteSpaceRelevant)
public Element newTR()
public Element newTR(boolean whiteSpaceRelevant)
public void setWhiteSpaceRelevant(boolean b)
b -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||