Class ClickSelectHandler<T>
- java.lang.Object
-
- com.vaadin.v7.client.widget.grid.selection.ClickSelectHandler<T>
-
public class ClickSelectHandler<T> extends Object
Generic class to perform selections when clicking on cells in body of Grid.- Since:
- 7.4
- Author:
- Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description ClickSelectHandler(Grid<T> grid)Constructor for ClickSelectHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidremoveHandler()Clean up function for removing all now obsolete handlers.voidsetDeselectAllowed(boolean deselectAllowed)Sets whether clicking 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 clicking the currently selected row should deselect the row.- Parameters:
deselectAllowed-trueto allow deselecting the selected row; otherwisefalse
-
-