Package org.zkoss.zul

Class AbstractGroupsModel.DefaultSelectionControl<E>

  • All Implemented Interfaces:, SelectionControl<E>
    Enclosing class:

    public static class AbstractGroupsModel.DefaultSelectionControl<E>
    extends java.lang.Object
    implements SelectionControl<E>
    A default selection control implementation for AbstractGroupsModel, 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.

    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