|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.tree.TreeUtilities
public class TreeUtilities
Contains convenience classes/methods for handling hierarchical Swing structures.
Nested Class Summary | |
---|---|
static class |
TreeUtilities.BreadthFirstModelEnumeration
Implementation of a breadthFirst traversal of a subtree in a TreeModel. |
static class |
TreeUtilities.BreadthFirstNodeEnumeration<M extends TreeNode>
Implementation of a breadthFirst traversal of a subtree with nodes of type TreeNode. |
static class |
TreeUtilities.PostorderModelEnumeration
Implementation of a postorder traversal of a subtree in a TreeModel. |
static class |
TreeUtilities.PostorderNodeEnumeration<M extends TreeNode>
Implementation of a postorder traversal of a subtree with nodes of type TreeNode. |
static class |
TreeUtilities.PreorderModelEnumeration
Implementation of a preorder traversal of a TreeModel. |
static class |
TreeUtilities.PreorderNodeEnumeration<M extends TreeNode>
Implementation of a preorder traversal of a subtree with nodes of type TreeNode. |
Field Summary | |
---|---|
static Enumeration |
EMPTY_ENUMERATION
An enumeration that is always empty. |
Method Summary | |
---|---|
static Enumeration |
children(TreeModel model)
Creates and returns an Enumeration across the direct children of the rootNode in the given TreeModel. |
static Enumeration |
children(TreeModel model,
Object parent)
Creates and returns an Enumeration across the direct children of parentNode in the given TreeModel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Enumeration EMPTY_ENUMERATION
Method Detail |
---|
public static Enumeration children(TreeModel model)
model
- the TreeModel which contains parent, must not be null
public static Enumeration children(TreeModel model, Object parent)
model
- the TreeModel which contains parent, must not be nullparent
- the parent of the enumerated children
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |