java.lang.Object | |
↳ | com.google.gwt.user.client.ui.HTMLTable.CellFormatter |
Known Direct Subclasses |
This class contains methods used to format a table's cells.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a style to the specified cell.
| |||||||||||
Gets the TD element representing the specified cell.
| |||||||||||
Gets the style of a specified cell.
| |||||||||||
Gets the primary style of a specified cell.
| |||||||||||
Determines whether or not this cell is visible.
| |||||||||||
Removes a style from the specified cell.
| |||||||||||
Sets the horizontal and vertical alignment of the specified cell's
contents.
| |||||||||||
Sets the height of the specified cell.
| |||||||||||
Sets the horizontal alignment of the specified cell.
| |||||||||||
Sets the style name associated with the specified cell.
| |||||||||||
Sets the primary style name associated with the specified cell.
| |||||||||||
Sets the vertical alignment of the specified cell.
| |||||||||||
Sets whether this cell is visible via the display style property.
| |||||||||||
Sets the width of the specified cell.
| |||||||||||
Sets whether the specified cell will allow word wrapping of its contents.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the element associated with a cell.
| |||||||||||
Convenience methods to get an attribute on a cell.
| |||||||||||
Convenience methods to set an attribute on a cell.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds a style to the specified cell.
row | the cell's row |
---|---|
column | the cell's column |
styleName | the style name to be added |
Gets the TD element representing the specified cell.
row | the row of the cell to be retrieved |
---|---|
column | the column of the cell to be retrieved |
IndexOutOfBoundsException |
---|
Gets the style of a specified cell.
row | the cell's row |
---|---|
column | the cell's column |
IndexOutOfBoundsException |
---|
Gets the primary style of a specified cell.
row | the cell's row |
---|---|
column | the cell's column |
IndexOutOfBoundsException |
---|
Determines whether or not this cell is visible.
row | the row of the cell whose visibility is to be set |
---|---|
column | the column of the cell whose visibility is to be set |
true
if the object is visible
Removes a style from the specified cell.
row | the cell's row |
---|---|
column | the cell's column |
styleName | the style name to be removed |
IndexOutOfBoundsException |
---|
Sets the horizontal and vertical alignment of the specified cell's contents.
row | the row of the cell whose alignment is to be set |
---|---|
column | the column of the cell whose alignment is to be set |
hAlign | the cell's new horizontal alignment as specified in
HasHorizontalAlignment |
vAlign | the cell's new vertical alignment as specified in
HasVerticalAlignment |
IndexOutOfBoundsException |
---|
Sets the height of the specified cell.
row | the row of the cell whose height is to be set |
---|---|
column | the column of the cell whose height is to be set |
height | the cell's new height, in CSS units |
IndexOutOfBoundsException |
---|
Sets the horizontal alignment of the specified cell.
row | the row of the cell whose alignment is to be set |
---|---|
column | the column of the cell whose alignment is to be set |
align | the cell's new horizontal alignment as specified in
HasHorizontalAlignment . |
IndexOutOfBoundsException |
---|
Sets the style name associated with the specified cell.
row | the row of the cell whose style name is to be set |
---|---|
column | the column of the cell whose style name is to be set |
styleName | the new style name |
IndexOutOfBoundsException |
---|
Sets the primary style name associated with the specified cell.
row | the row of the cell whose style name is to be set |
---|---|
column | the column of the cell whose style name is to be set |
styleName | the new style name |
IndexOutOfBoundsException |
---|
Sets the vertical alignment of the specified cell.
row | the row of the cell whose alignment is to be set |
---|---|
column | the column of the cell whose alignment is to be set |
align | the cell's new vertical alignment as specified in
HasVerticalAlignment . |
IndexOutOfBoundsException |
---|
Sets whether this cell is visible via the display style property. The other cells in the row will all shift left to fill the cell's space. So, for example a table with (0,1,2) will become (1,2) if cell 1 is hidden.
row | the row of the cell whose visibility is to be set |
---|---|
column | the column of the cell whose visibility is to be set |
visible | true to show the cell, false to
hide it
|
Sets the width of the specified cell.
row | the row of the cell whose width is to be set |
---|---|
column | the column of the cell whose width is to be set |
width | the cell's new width, in CSS units |
IndexOutOfBoundsException |
---|
Sets whether the specified cell will allow word wrapping of its contents.
row | the row of the cell whose word-wrap is to be set |
---|---|
column | the column of the cell whose word-wrap is to be set |
wrap | false to disable word wrapping in this cell |
IndexOutOfBoundsException |
---|
Gets the element associated with a cell. If it does not exist and the subtype allows creation of elements, creates it.
row | the cell's row |
---|---|
column | the cell's column |
IndexOutOfBoundsException |
---|
Convenience methods to get an attribute on a cell.
row | cell's row |
---|---|
column | cell's column |
attr | attribute to get |
IndexOutOfBoundsException |
---|
Convenience methods to set an attribute on a cell.
row | cell's row |
---|---|
column | cell's column |
attrName | attribute to set |
value | value to set |
IndexOutOfBoundsException |
---|