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.


Variable Index

 o ATTR_ALIGN
The ALIGN Attribute.
 o ATTR_ALIGN_CENTER
The ALIGN Attribute value CENTER.
 o ATTR_ALIGN_LEFT
The ALIGN Attribute value LEFT.
 o ATTR_ALIGN_RIGHT
The ALIGN Attribute value RIGHT.
 o ATTR_BGCOLOR
The BGCOLOR Attribute.
 o ATTR_COLSPAN
The COLSPAN Attribute.
 o ATTR_ROWSPAN
The ROWSPAN Attribute.
 o ATTR_VALIGN
The VALIGN Attribute.
 o ATTR_VALIGN_BOTTOM
The VALIGN Attribute value BOTTOM.
 o ATTR_VALIGN_MIDDLE
The VALIGN Attribute value MIDDLE.
 o ATTR_VALIGN_TOP
The VALIGN Attribute value TOP.
 o NAME
The element's name.

Constructor Index

 o Td()
Constructs a new, empty table row element.
 o Td(String)
Constructs a new table row element with the given text.
 o Td(String, String, String, String, String)
Constructs a new, empty table element with the given attributes.

Method Index

 o addText(char[])
Adds text to the cell.
 o addText(char[], int, int)
Adds text to the cell from a subarray of a character array.
 o addText(String)
Adds text to the cell.

Variables

 o NAME
 public static final String NAME
The element's name.

 o ATTR_ALIGN
 public static final String ATTR_ALIGN
The ALIGN Attribute.

 o ATTR_ALIGN_LEFT
 public static final String ATTR_ALIGN_LEFT
The ALIGN Attribute value LEFT.

 o ATTR_ALIGN_CENTER
 public static final String ATTR_ALIGN_CENTER
The ALIGN Attribute value CENTER.

 o ATTR_ALIGN_RIGHT
 public static final String ATTR_ALIGN_RIGHT
The ALIGN Attribute value RIGHT.

 o ATTR_VALIGN
 public static final String ATTR_VALIGN
The VALIGN Attribute.

 o ATTR_VALIGN_TOP
 public static final String ATTR_VALIGN_TOP
The VALIGN Attribute value TOP.

 o ATTR_VALIGN_MIDDLE
 public static final String ATTR_VALIGN_MIDDLE
The VALIGN Attribute value MIDDLE.

 o ATTR_VALIGN_BOTTOM
 public static final String ATTR_VALIGN_BOTTOM
The VALIGN Attribute value BOTTOM.

 o ATTR_COLSPAN
 public static final String ATTR_COLSPAN
The COLSPAN Attribute.

 o ATTR_ROWSPAN
 public static final String ATTR_ROWSPAN
The ROWSPAN Attribute.

 o ATTR_BGCOLOR
 public static final String ATTR_BGCOLOR
The BGCOLOR Attribute.

Constructors

 o Td
 public Td()
Constructs a new, empty table row element.

 o Td
 public Td(String text)
Constructs a new table row element with the given text.

Parameters:
text - text to be added to the cell
 o 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)

Methods

 o addText
 public void addText(String text)
Adds text to the cell.

Parameters:
text - the String to be added.
 o addText
 public void addText(char text[])
Adds text to the cell.

Parameters:
text - the character array to be added.
 o 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