Interface FGrid.SelectionModel.None

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

public static interface FGrid.SelectionModel.None extends FGrid.SelectionModel
A SelectionModel that does not allow for rows to be selected.

This interface has a contract of having the same behavior, no matter how the selection model is interacted with. In other words, if the developer is unable to select something programmatically, it is not allowed for the end-user to select anything, either.

  • Method Details

    • isSelected

      boolean isSelected(Object itemId)
      Checks whether an item is selected or not.
      Specified by:
      isSelected in interface FGrid.SelectionModel
      Parameters:
      itemId - the item id to check for
      Returns:
      always false.
    • getSelectedRows

      Collection<Object> getSelectedRows()
      Returns a collection of all the currently selected itemIds.
      Specified by:
      getSelectedRows in interface FGrid.SelectionModel
      Returns:
      always an empty collection.