Interface FGrid.SelectionModel.HasUserSelectionAllowed

All Superinterfaces:
FGrid.SelectionModel, Serializable
All Known Implementing Classes:
FGrid.MultiSelectionModel, FGrid.SingleSelectionModel
Enclosing interface:
FGrid.SelectionModel

public static interface FGrid.SelectionModel.HasUserSelectionAllowed extends FGrid.SelectionModel
Interface implemented by selection models which support disabling client side selection while still allowing programmatic selection on the server.
  • Method Details

    • 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