Class TreeModel

  • All Implemented Interfaces:
    java.io.Serializable, org.zkoss.zul.ext.Openable, org.zkoss.zul.ext.Pageable, org.zkoss.zul.ext.Selectable, org.zkoss.zul.ext.TreeOpenableModel, org.zkoss.zul.ext.TreeSelectableModel, org.zkoss.zul.PageableModel, org.zkoss.zul.TreeModel

    public class TreeModel
    extends org.zkoss.zul.AbstractTreeModel
    Tree model for navigation node tree
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.zkoss.zul.AbstractTreeModel

        org.zkoss.zul.AbstractTreeModel.DefaultSelectionControl<E extends java.lang.Object>, org.zkoss.zul.AbstractTreeModel.Path
    • Field Summary

      • Fields inherited from class org.zkoss.zul.AbstractTreeModel

        _opens, _selection
      • Fields inherited from interface org.zkoss.zul.PageableModel

        INTERNAL_EVENT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getChild​(java.lang.Object nodeObj, int index)  
      int getChildCount​(java.lang.Object nodeObj)  
      boolean isLeaf​(java.lang.Object nodeObj)  
      • Methods inherited from class org.zkoss.zul.AbstractTreeModel

        addOpenObject, addOpenPath, addOpenPaths, addPagingEventListener, addSelectionPath, addSelectionPaths, addToSelection, addTreeDataListener, afterSort, beforeSort, clearOpen, clearSelection, clone, fireEvent, fireEvent, fireEvent, fireOpenChanged, fireSelectionChanged, getActivePage, getChild, getIndexOfChild, getOpenCount, getOpenObjects, getOpenPath, getOpenPaths, getPageCount, getPageSize, getPath, getRoot, getSelection, getSelectionControl, getSelectionCount, getSelectionPath, getSelectionPaths, isMultiple, isObjectOpened, isOpenEmpty, isPathOpened, isPathSelected, isSelected, isSelectionEmpty, removeFromSelection, removeOpenObject, removeOpenPath, removeOpenPaths, removePagingEventListener, removeSelectionPath, removeSelectionPaths, removeTreeDataListener, setActivePage, setMultiple, setOpenObjects, setPageSize, setSelection, setSelectionControl
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getChild

        public java.lang.Object getChild​(java.lang.Object nodeObj,
                                         int index)
      • getChildCount

        public int getChildCount​(java.lang.Object nodeObj)
      • isLeaf

        public boolean isLeaf​(java.lang.Object nodeObj)