Package org.zkoss.zkmax.zul.impl
Class DefaultTreeSelectionControlEx<E>
java.lang.Object
org.zkoss.zkmax.zul.impl.DefaultTreeSelectionControlEx<E>
- All Implemented Interfaces:
Serializable,org.zkoss.zul.ext.SelectionControl<E>
public class DefaultTreeSelectionControlEx<E>
extends Object
implements org.zkoss.zul.ext.SelectionControl<E>
An extension of
AbstractTreeModel.DefaultSelectionControl,
by default it assumes all elements are selectable.
Note: the implementation is not used for a huge data model, if in this case, please implement your own one to speed up.
- Since:
- 9.6.0
- Author:
- leon
- See Also:
-
AbstractTreeModel.setSelectionControl(SelectionControl)- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChildrenNodes(E parent) booleanisSelectable(E e) booleanvoidsetSelectAll(boolean selectAll)
-
Constructor Details
-
DefaultTreeSelectionControlEx
-
-
Method Details
-
isSelectable
- Specified by:
isSelectablein interfaceorg.zkoss.zul.ext.SelectionControl<E>
-
setSelectAll
public void setSelectAll(boolean selectAll) - Specified by:
setSelectAllin interfaceorg.zkoss.zul.ext.SelectionControl<E>
-
getAllNodes
-
isSelectAll
public boolean isSelectAll()- Specified by:
isSelectAllin interfaceorg.zkoss.zul.ext.SelectionControl<E>
-
getChildrenNodes
-