Package org.zkoss.zul

Class AbstractTreeModel.DefaultSelectionControl<E>

  • All Implemented Interfaces:
    java.io.Serializable, SelectionControl<E>
    Enclosing class:
    AbstractTreeModel<E>

    public static class AbstractTreeModel.DefaultSelectionControl<E>
    extends java.lang.Object
    implements SelectionControl<E>
    A default selection control implementation for AbstractTreeModel, 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:
    8.0.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait