Class TmaBpoTreeModel<T extends TmaProductOfferingModel>

    • 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
      void addNewNode​(TmaPoTreeNode parentNode, TmaProductOfferingModel productOfferingModel)
      Creates a new TmaPoTreeNode for the given TmaProductOfferingModel and appends it to an existing node.
      TmaPoTreeNode getChild​(TmaPoTreeNode node, int index)  
      int getChildCount​(TmaPoTreeNode node)  
      int[] getPath​(TmaPoTreeNode child)  
      boolean isLeaf​(TmaPoTreeNode node)  
      void remove​(TmaPoTreeNode node)
      Removes a tree node from the tree hierarchy, triggering the event also on Tree which is responsible for displaying the tree structure.
      • 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, 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

      • TmaBpoTreeModel

        public TmaBpoTreeModel​(TmaPoTreeNode root)
    • Method Detail

      • getChildCount

        public int getChildCount​(TmaPoTreeNode node)
      • remove

        public void remove​(TmaPoTreeNode node)
        Removes a tree node from the tree hierarchy, triggering the event also on Tree which is responsible for displaying the tree structure.
        Parameters:
        node - the node to be removed