DhSection | +--DhCellpublic class DhCell
Creates a table cell. You can add any number of elements in any kind of layout to a cell using the add method.
Constructors
Name | Description |
---|---|
DhCell() | Creates an empty cell. |
DhCell( String text ) | Creates a cell with the specified text contents. |
Methods
Name | Description |
---|---|
add(DhElement e) | Adds this cell to the table. |
getColSpan() | Returns the number of columns this cell spans. |
getDataField() | Returns the data field bound to this cell. |
getRowSpan() | Returns the number of rows this cell spans. |
getTagNameID() | Topic under construction. |
getText() | Retrieves the text of the cell. |
getValue() | Retrieves the numeric value displayed in the cell. |
setColSpan(int span) | Sets the number of columns this cell spans. |
setRowSpan(int span) | Determines how many rows this cell spans. |
setText( String text ) | Sets the text of the cell. |
setValue( int i ) | Sets a numeric value for the cell. |
Creates an empty cell.
Creates a cell with the specified text contents.
Adds this cell to the table.
Returns the number of columns this cell spans.
Returns the number of columns this cell spans. This number is over and above what the default table layout engine determines.
Returns the column name bound to this cell, or a null string if no column name is bound.
Returns the data field bound to this cell.
Returns Number of rows this cell spans.
Returns the number of rows this cell spans. This number is over and above what the default table layout engine determines.
Topic under construction.
Returns The cell text.
Retrieves the text of the cell.
Returns an integer value.
Retrieves the numeric value displayed in the cell.
Sets the number of columns this cell spans. This number is over and above what the default table layout engine determines.
Determines how many rows this cell spans. This number is over and above what the default table layout engine determines.
Sets the text of the cell. Setting this value overwrites any previous call to setText or setValue.
Sets a numeric value for the cell. Setting this value overwrites any previous call to setText or setValue.