|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.google.gwt.user.client.ui.HTMLTable.RowFormatter
This class contains methods used to format a table's rows.
| Field Summary |
| Fields inherited from class java.lang.Object |
typeId, typeName |
| Constructor Summary | |
HTMLTable.RowFormatter()
|
|
| Method Summary | |
void |
addStyleName(int row,
String styleName)
Adds a style to the specified row. |
protected Element |
ensureElement(int row)
Ensure the TR element representing the specified row exists for subclasses that allow dynamic addition of elements. |
Element |
getElement(int row)
Gets the TR element representing the specified row. |
String |
getStyleName(int row)
Gets a style from a specified row. |
void |
removeStyleName(int row,
String styleName)
Removes a style from the specified row. |
void |
setStyleName(int row,
String styleName)
Sets the style name associated with the specified row. |
void |
setVerticalAlign(int row,
HasVerticalAlignment.VerticalAlignmentConstant align)
Sets the vertical alignment of the specified row. |
| Methods inherited from class java.lang.Object |
equals, finalize, hashCode, toString |
| Constructor Detail |
public HTMLTable.RowFormatter()
| Method Detail |
public void addStyleName(int row,
String styleName)
row - the row to which the style while be addedstyleName - the style name to be added
IndexOutOfBoundsExceptionUIObject.addStyleName(String)public Element getElement(int row)
row - the row whose TR element is to be retrieved
IndexOutOfBoundsExceptionpublic String getStyleName(int row)
row - the row to which the style while be added
IndexOutOfBoundsExceptionUIObject#getStyleName(String)
public void removeStyleName(int row,
String styleName)
row - the row to which the style while be removedstyleName - the style name to be removed
IndexOutOfBoundsExceptionUIObject.removeStyleName(String)
public void setStyleName(int row,
String styleName)
row - the row whose style name is to be setstyleName - the new style name
IndexOutOfBoundsExceptionUIObject.setStyleName(String)
public void setVerticalAlign(int row,
HasVerticalAlignment.VerticalAlignmentConstant align)
row - the row whose alignment is to be setalign - the row's new vertical alignment as specified in
HasVerticalAlignment
IndexOutOfBoundsExceptionprotected Element ensureElement(int row)
row - the row whose TR element is to be retrieved
IndexOutOfBoundsException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||