Package org.zkoss.zul.ext

## Interface SelectionControl<E>

- All Superinterfaces:
    `java.io.Serializable`
  All Known Implementing Classes:
    `AbstractGroupsModel.DefaultSelectionControl`, `AbstractListModel.DefaultSelectionControl`, `AbstractTreeModel.DefaultSelectionControl`, `DefaultTreeSelectionControlEx`

      public interface SelectionControl<E>
      extends java.io.Serializable

  Indicate a selection control for `Selectable`
  Since:
    8.0.0
  Author:
    jumperchen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `isSelectable​(E e)` | Returns whether the element can be selected.
    `boolean` | `isSelectAll()` | Returns whether it's all elements selected
    `void` | `setSelectAll​(boolean selectAll)` | Sets to select all elements or deselect all elements.

- - ### Method Detail

    - #### 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