We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.widget.grid.selection.
Class SpaceSelectHandler<T>
- java.lang.Object
-
- com.vaadin.client.widget.grid.selection.SpaceSelectHandler<T>
-
Type Parameters:
T
- row data typepublic class SpaceSelectHandler<T> extends Object
Generic class to perform selections when pressing space key.
Since:
7.4
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description SpaceSelectHandler(Grid<T> grid)
Constructor for SpaceSelectHandler.
-
Method Summary
All Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
removeHandler
public void removeHandler()
Clean up function for removing all now obsolete handlers.
-
setDeselectAllowed
public void setDeselectAllowed(boolean deselectAllowed)
Sets whether pressing space for the currently selected row should deselect the row.
Parameters:
deselectAllowed
-true
to allow deselecting the selected row; otherwisefalse
-
-