Interface SelectionControl<E>

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractGroupsModel.DefaultSelectionControl, AbstractListModel.DefaultSelectionControl, AbstractTreeModel.DefaultSelectionControl

public interface SelectionControl<E> extends Serializable
Indicate a selection control for Selectable
Since:
8.0.0
Author:
jumperchen
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the element can be selected.
    boolean
    Returns whether it's all elements selected
    void
    setSelectAll(boolean selectAll)
    Sets to select all elements or deselect all elements.
  • Method Details

    • isSelectable

      boolean isSelectable(E e)
      Returns whether the element can be selected.
      Parameters:
      e -
    • setSelectAll

      void setSelectAll(boolean selectAll)
      Sets to select all elements or deselect all elements.
    • isSelectAll

      boolean isSelectAll()
      Returns whether it's all elements selected