|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.ui.Grid.RowReference
public static class Grid.RowReference
A data class which contains information which identifies a row in a
Grid.
Since this class follows the Flyweight-pattern any instance
of this object is subject to change without the user knowing it and so
should not be stored anywhere outside of the method providing these
instances.
| Constructor Summary | |
|---|---|
Grid.RowReference(Grid grid)
Creates a new row reference for the given grid. |
|
| Method Summary | |
|---|---|
Grid |
getGrid()
Gets the grid that contains the referenced row. |
Item |
getItem()
Gets the item for the row. |
java.lang.Object |
getItemId()
Gets the item id of the row. |
void |
set(java.lang.Object itemId)
Sets the identifying information for this row |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Grid.RowReference(Grid grid)
grid - the grid that the row belongs to| Method Detail |
|---|
public void set(java.lang.Object itemId)
itemId - the item id of the rowpublic Grid getGrid()
public java.lang.Object getItemId()
public Item getItem()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||