| java.lang.Object com.projity.grouping.core.hierarchy.AbstractMutableNodeHierarchy
All known Subclasses: com.projity.grouping.core.hierarchy.FilteredNodeHierarchy, com.projity.grouping.core.hierarchy.MutableNodeHierarchy,
AbstractMutableNodeHierarchy | abstract public class AbstractMutableNodeHierarchy implements NodeHierarchy(Code) | | |
Method Summary | |
public void | addHierarchyListener(HierarchyListener l) | protected synchronized void | beginUpdate() | abstract public Object | clone() | public void | dump() | public void | dump(StringBuffer buf) | protected synchronized void | endUpdate() | protected void | fireNodesChanged(Object source, Object[] nodes, Object[] oldNodes, Object flag) | protected void | fireNodesChanged(Object source, Object[] nodes) | protected void | fireNodesInserted(Object source, Object[] nodes, Object[] oldNodes, Object flag) | protected void | fireNodesInserted(Object source, Object[] nodes) | protected void | fireNodesRemoved(Object source, Object[] nodes, Object[] oldNodes, Object flag) | protected void | fireNodesRemoved(Object source, Object[] nodes) | protected void | fireStructureChanged(Object source) | public Object | getChild(Object parent, int index) | public int | getChildCount(Object parent) | public HierarchyListener[] | getHierarchyListeners() | public EventListener[] | getHierarchyListeners(Class listenerType) | public int | getIndexOfChild(Object parent, Object child) | public int | getIndexOfNode(Node key, boolean skipVoid) | public Node | getNext(Node current) | public Node | getPrevious(Node current) | abstract public Object | getRoot() | protected synchronized int | getUpdateLevel() | public Iterator | iterator(Node rootNode) | public Iterator | iterator() | public void | removeHierarchyListener(HierarchyListener l) | public void | renumber() | public Iterator | shallowIterator(int maxLevel, boolean returnRoot) | public List | toList(boolean isNode, Predicate filter) Convenience method to convert hierarchy to a list of nodes in depth-first order. | public void | visitAll(Closure visitor) | public void | visitAll(Node parent, Closure visitor) | public void | visitAll(Node parent, boolean skipLazyParents, Closure visitor) | public void | visitAll(boolean first, Node parent, boolean skipLazyParents, Closure visitor) | public void | visitAllLevelOrder(Node parent, boolean skipLazyParents, Closure visitor) | public void | visitAllLevelOrder(boolean first, Node parent, boolean skipLazyParents, Closure visitor) | public void | visitLeaves(Node node, Closure visitor) |
updateLevel | protected int updateLevel(Code) | | |
beginUpdate | protected synchronized void beginUpdate()(Code) | | |
endUpdate | protected synchronized void endUpdate()(Code) | | |
fireStructureChanged | protected void fireStructureChanged(Object source)(Code) | | |
getIndexOfNode | public int getIndexOfNode(Node key, boolean skipVoid)(Code) | | |
getNext | public Node getNext(Node current)(Code) | | Get next non virtual node
|
getUpdateLevel | protected synchronized int getUpdateLevel()(Code) | | |
renumber | public void renumber()(Code) | | |
shallowIterator | public Iterator shallowIterator(int maxLevel, boolean returnRoot)(Code) | | |
toList | public List toList(boolean isNode, Predicate filter)(Code) | | Convenience method to convert hierarchy to a list of nodes in depth-first order.
|
visitAll | public void visitAll(Closure visitor)(Code) | | |
visitAll | public void visitAll(Node parent, Closure visitor)(Code) | | |
visitAll | public void visitAll(Node parent, boolean skipLazyParents, Closure visitor)(Code) | | |
visitAll | public void visitAll(boolean first, Node parent, boolean skipLazyParents, Closure visitor)(Code) | | |
visitAllLevelOrder | public void visitAllLevelOrder(Node parent, boolean skipLazyParents, Closure visitor)(Code) | | |
visitAllLevelOrder | public void visitAllLevelOrder(boolean first, Node parent, boolean skipLazyParents, Closure visitor)(Code) | | |
visitLeaves | public void visitLeaves(Node node, Closure visitor)(Code) | | |
|
|