Package org.zkoss.zul.ext
Interface SelectionControl<E>
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
AbstractGroupsModel.DefaultSelectionControl,AbstractListModel.DefaultSelectionControl,AbstractTreeModel.DefaultSelectionControl
public interface SelectionControl<E> extends java.io.SerializableIndicate a selection control forSelectable- Since:
- 8.0.0
- Author:
- jumperchen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSelectable(E e)Returns whether the element can be selected.booleanisSelectAll()Returns whether it's all elements selectedvoidsetSelectAll(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
-
-