Class HTMLTable.RowFormatter
public
class
HTMLTable.RowFormatter
extends
Object
This class contains methods used to format a table's rows.
Methods
Method Detail
addStyleName
public void
addStyleName(
int row, String styleName)
Adds a style to the specified row.
Parameters
- row
- the row to which the style while be added
- styleName
- the style name to be added
See Also
UIObject.addStyleName(String)
getElement
Gets the TR element representing the specified row.
Parameters
- row
- the row whose TR element is to be retrieved
Return Value
the row's TR element
removeStyleName
public void
removeStyleName(
int row, String styleName)
Removes a style from the specified row.
Parameters
- row
- the row to which the style while be removed
- styleName
- the style name to be removed
See Also
UIObject.removeStyleName(String)
setStyleName
public void
setStyleName(
int row, String styleName)
Sets the style name associated with the specified row.
Parameters
- row
- the row whose style name is to be set
- styleName
- the new style name
See Also
UIObject.setStyleName(String)
setVerticalAlign
Sets the vertical alignment of the specified row.
Parameters
- row
- the row whose alignment is to be set
- align
- the row's new vertical alignment as specified in
HasVerticalAlignment.