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.v7.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 booleanisUserSelectionAllowed()Checks if the user is allowed to change the selection.voidsetUserSelectionAllowed(boolean userSelectionAllowed)Sets whether the user is allowed to change the selection.-
Methods inherited from interface com.vaadin.v7.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:
trueif the user is allowed to change the selection,falseotherwise
-
setUserSelectionAllowed
void setUserSelectionAllowed(boolean userSelectionAllowed)
Sets whether the user is allowed to change the selection.- Parameters:
userSelectionAllowed-trueif the user is allowed to change the selection,falseotherwise
-
-