Interface HasUserSelectionAllowed<T>
-
- Type Parameters:
T
- Grid's row type
- All Superinterfaces:
SelectionModel<T>
- All Known Implementing Classes:
MultiSelectionModelConnector.MultiSelectionModel
,SelectionModelMulti
,SelectionModelSingle
,SingleSelectionModelConnector.SingleSelectionModel
public interface HasUserSelectionAllowed<T> extends SelectionModel<T>
Interface implemented by selection models which support disabling client side selection while still allowing programmatic selection on the server.- Since:
- 7.7.7
-
-
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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isUserSelectionAllowed()
Checks if the user is allowed to change the selection.void
setUserSelectionAllowed​(boolean userSelectionAllowed)
Sets whether the user is allowed to change the selection.-
Methods inherited from interface com.vaadin.client.widget.grid.selection.SelectionModel
getSelectedRows, getSelectionColumnRenderer, isSelected, reset, setGrid
-
-
-
-
Method Detail
-
isUserSelectionAllowed
boolean isUserSelectionAllowed()
Checks if the user is allowed to change the selection.- Returns:
true
if the user is allowed to change the selection,false
otherwise
-
setUserSelectionAllowed
void setUserSelectionAllowed​(boolean userSelectionAllowed)
Sets whether the user is allowed to change the selection.- Parameters:
userSelectionAllowed
-true
if the user is allowed to change the selection,false
otherwise
-
-