Package org.zkoss.zul.ext
Interface SelectionControl<E>
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractGroupsModel.DefaultSelectionControl,AbstractListModel.DefaultSelectionControl,AbstractTreeModel.DefaultSelectionControl
Indicate a selection control for
Selectable- Since:
- 8.0.0
- Author:
- jumperchen
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisSelectable(E e) Returns whether the element can be selected.booleanReturns whether it's all elements selectedvoidsetSelectAll(boolean selectAll) Sets to select all elements or deselect all elements.
-
Method Details
-
isSelectable
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
-