All Packages Class Hierarchy This Package Previous Next Index
Class vnet.markup.html.Td
java.lang.Object
|
+----vnet.markup.Element
|
+----vnet.markup.html.Td
- public class Td
- extends Element
The table data (td) Element for an HTML document.
-
ATTR_ALIGN
- The ALIGN Attribute.
-
ATTR_ALIGN_CENTER
- The ALIGN Attribute value CENTER.
-
ATTR_ALIGN_LEFT
- The ALIGN Attribute value LEFT.
-
ATTR_ALIGN_RIGHT
- The ALIGN Attribute value RIGHT.
-
ATTR_BGCOLOR
- The BGCOLOR Attribute.
-
ATTR_COLSPAN
- The COLSPAN Attribute.
-
ATTR_ROWSPAN
- The ROWSPAN Attribute.
-
ATTR_VALIGN
- The VALIGN Attribute.
-
ATTR_VALIGN_BOTTOM
- The VALIGN Attribute value BOTTOM.
-
ATTR_VALIGN_MIDDLE
- The VALIGN Attribute value MIDDLE.
-
ATTR_VALIGN_TOP
- The VALIGN Attribute value TOP.
-
NAME
- The element's name.
-
Td()
- Constructs a new, empty table row element.
-
Td(String)
- Constructs a new table row element with the given text.
-
Td(String, String, String, String, String)
- Constructs a new, empty table element with the given attributes.
-
addText(char[])
- Adds text to the cell.
-
addText(char[], int, int)
- Adds text to the cell from a subarray of a character array.
-
addText(String)
- Adds text to the cell.
NAME
public static final String NAME
- The element's name.
ATTR_ALIGN
public static final String ATTR_ALIGN
- The ALIGN Attribute.
ATTR_ALIGN_LEFT
public static final String ATTR_ALIGN_LEFT
- The ALIGN Attribute value LEFT.
ATTR_ALIGN_CENTER
public static final String ATTR_ALIGN_CENTER
- The ALIGN Attribute value CENTER.
ATTR_ALIGN_RIGHT
public static final String ATTR_ALIGN_RIGHT
- The ALIGN Attribute value RIGHT.
ATTR_VALIGN
public static final String ATTR_VALIGN
- The VALIGN Attribute.
ATTR_VALIGN_TOP
public static final String ATTR_VALIGN_TOP
- The VALIGN Attribute value TOP.
ATTR_VALIGN_MIDDLE
public static final String ATTR_VALIGN_MIDDLE
- The VALIGN Attribute value MIDDLE.
ATTR_VALIGN_BOTTOM
public static final String ATTR_VALIGN_BOTTOM
- The VALIGN Attribute value BOTTOM.
ATTR_COLSPAN
public static final String ATTR_COLSPAN
- The COLSPAN Attribute.
ATTR_ROWSPAN
public static final String ATTR_ROWSPAN
- The ROWSPAN Attribute.
ATTR_BGCOLOR
public static final String ATTR_BGCOLOR
- The BGCOLOR Attribute.
Td
public Td()
- Constructs a new, empty table row element.
Td
public Td(String text)
- Constructs a new table row element with the given text.
- Parameters:
- text - text to be added to the cell
Td
public Td(String align,
String valign,
String colspan,
String rowspan,
String bgcolor)
- Constructs a new, empty table element with the given attributes.
- Parameters:
- align - horizontal alignment (may be null)
- valign - vertical alignment (may be null)
- colspan - number of columns to span (may be null)
- rowspan - number of rows to span (may be null)
- bgcolor - the background colour (may be null)
addText
public void addText(String text)
- Adds text to the cell.
- Parameters:
- text - the String to be added.
addText
public void addText(char text[])
- Adds text to the cell.
- Parameters:
- text - the character array to be added.
addText
public void addText(char text[],
int offset,
int count)
- Adds text to the cell from a subarray of a character array.
- Parameters:
- text - the source character array.
- offset - the initial offset
- count - the length
All Packages Class Hierarchy This Package Previous Next Index