Package com.macrofocus.hierarchy
Interface MutableHierarchy<T>
- All Superinterfaces:
Hierarchy<T>
,Serializable
- All Known Implementing Classes:
SimpleHierarchy
Defines the requirements for a hierarchy that can change -- by adding or removing elements
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren
(T parent, List<T> children) void
insertChild
(T parent, int index, T child) void
void
void
removeChild
(T parent, T child) void
removeChildren
(List<T> children) void
setChildren
(T parent, List<T> children) Methods inherited from interface com.macrofocus.hierarchy.Hierarchy
addHierarchyListener, addWeakHierarchyListener, breadthFirstIterator, breadthFirstIterator, containsChild, containsChild, depthFirstIterator, depthFirstIterator, getChild, getChildCount, getChildList, getChildren, getDepth, getFirstLeaf, getIndexOfChild, getLastLeaf, getLeafCount, getLevel, getListeners, getNextLeaf, getParent, getPath, getPathToRoot, getPreviousLeaf, getRoot, hasChild, isLeaf, isRoot, leavesIterator, leavesIterator, notifyHierarchyNodeChanged, preorderIterator, preorderIterator, removeHierarchyListener, removeHierarchyListeners, setNotifyListeners
-
Method Details
-
addChild
-
insertChild
-
removeChild
-
moveChild
-
setChildren
-
addChildren
-
removeChildren
-
removeAll
void removeAll()
-