|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.widget.grid.selection.SpaceSelectHandler<T>
T - row data typepublic class SpaceSelectHandler<T>
Generic class to perform selections when pressing space key.
| Constructor Summary | |
|---|---|
SpaceSelectHandler(Grid<T> grid)
Constructor for SpaceSelectHandler. |
|
| Method Summary | |
|---|---|
void |
removeHandler()
Clean up function for removing all now obsolete handlers. |
void |
setDeselectAllowed(boolean deselectAllowed)
Sets whether pressing space for the currently selected row should deselect the row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceSelectHandler(Grid<T> grid)
grid - grid to attach to| Method Detail |
|---|
public void removeHandler()
public void setDeselectAllowed(boolean deselectAllowed)
deselectAllowed - true to allow deselecting the selected row;
otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||