public class DefaultTreeSelectionControlEx<E> extends Object implements org.zkoss.zul.ext.SelectionControl<E>
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.
AbstractTreeModel.setSelectionControl(SelectionControl),
Serialized Form| Constructor and Description |
|---|
DefaultTreeSelectionControlEx(org.zkoss.zul.AbstractTreeModel<E> model) |
| Modifier and Type | Method and Description |
|---|---|
protected List<E> |
getAllNodes() |
protected List<E> |
getChildrenNodes(E parent) |
boolean |
isSelectable(E e) |
boolean |
isSelectAll() |
void |
setSelectAll(boolean selectAll) |
public DefaultTreeSelectionControlEx(org.zkoss.zul.AbstractTreeModel<E> model)
public boolean isSelectable(E e)
isSelectable in interface org.zkoss.zul.ext.SelectionControl<E>public void setSelectAll(boolean selectAll)
setSelectAll in interface org.zkoss.zul.ext.SelectionControl<E>public boolean isSelectAll()
isSelectAll in interface org.zkoss.zul.ext.SelectionControl<E>Copyright © 2026. All rights reserved.