|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.connectors.AbstractSelectionModelConnector.AbstractSelectionModel
public abstract static class AbstractSelectionModelConnector.AbstractSelectionModel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel |
|---|
SelectionModel.Multi<T>, SelectionModel.None<T>, SelectionModel.Single<T> |
| Constructor Summary | |
|---|---|
AbstractSelectionModelConnector.AbstractSelectionModel()
|
|
| Method Summary | |
|---|---|
java.util.Collection<elemental.json.JsonObject> |
getSelectedRows()
Returns a Collection containing all selected rows. |
boolean |
isSelected(elemental.json.JsonObject row)
Return true if the provided row is considered selected under the implementing selection model. |
void |
reset()
Resets the SelectionModel to the initial state. |
void |
setGrid(Grid<elemental.json.JsonObject> grid)
Tells this SelectionModel which Grid it belongs to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel |
|---|
getSelectionColumnRenderer |
| Constructor Detail |
|---|
public AbstractSelectionModelConnector.AbstractSelectionModel()
| Method Detail |
|---|
public boolean isSelected(elemental.json.JsonObject row)
SelectionModel
isSelected in interface SelectionModel<elemental.json.JsonObject>row - row object instance
true, if the row given as argument is considered
selected.public void setGrid(Grid<elemental.json.JsonObject> grid)
SelectionModelImplementations are free to have this be a no-op. This method is called internally by Grid.
setGrid in interface SelectionModel<elemental.json.JsonObject>grid - a Grid instance; null when removing from
Gridpublic void reset()
SelectionModelThis method can be called internally, for example, when the attached Grid's data source changes.
reset in interface SelectionModel<elemental.json.JsonObject>public java.util.Collection<elemental.json.JsonObject> getSelectedRows()
SelectionModel
getSelectedRows in interface SelectionModel<elemental.json.JsonObject>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||