|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.ui.util.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 | |
nextapp.echoservlet.html.Element |
getTABLE()
|
nextapp.echoservlet.html.Element |
getTD()
|
nextapp.echoservlet.html.Element |
getTR()
|
boolean |
isWhiteSpaceRelevant()
|
nextapp.echoservlet.html.Element |
newTD()
Adds a new TD element to the current TR and returns the new TD element. |
nextapp.echoservlet.html.Element |
newTD(boolean whiteSpaceRelevant)
Adds a new TD element to the current TR and returns the new TD element. |
nextapp.echoservlet.html.Element |
newTR()
Adds a new TR element to the TABLE and returns the new TR element. |
nextapp.echoservlet.html.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 nextapp.echoservlet.html.Element getTABLE()
public nextapp.echoservlet.html.Element getTD()
public nextapp.echoservlet.html.Element getTR()
public boolean isWhiteSpaceRelevant()
Element.setWhitespaceRelevant(boolean)
public nextapp.echoservlet.html.Element newTD()
public nextapp.echoservlet.html.Element newTD(boolean whiteSpaceRelevant)
public nextapp.echoservlet.html.Element newTR()
public nextapp.echoservlet.html.Element newTR(boolean whiteSpaceRelevant)
public void setWhiteSpaceRelevant(boolean b)
b
-
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |