Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ix.iface.ui.tree
Class IXTrees

    java.lang.Object
      ix.iface.ui.tree.IXTrees

    public class IXTrees

extends java.lang.Object

Field Summary
`static java.lang.String` | `ROOTNAME`

Constructor Summary
`IXTrees()`

Method Summary
`static java.util.List` | `findRoots(java.util.List userNodes)` Finds all roots in the list of TreeNode objects.
`static javax.swing.tree.TreeModel` | `setupTreeModel(EditableTreeModel model, java.util.List userObjects)` Makes a tree for the given IXTree object using the given list of user objects.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### ROOTNAME

    public static final java.lang.String ROOTNAME

See Also:
  Constant Field Values

Constructor Detail

### IXTrees

    public IXTrees()

Method Detail

### setupTreeModel

    public static javax.swing.tree.TreeModel setupTreeModel(EditableTreeModel model,
                                                            java.util.List userObjects)

  Makes a tree for the given IXTree object using the given list of user objects. Creates a model from this, adds it to the tree.

### findRoots

    public static java.util.List findRoots(java.util.List userNodes)

  Finds all roots in the list of TreeNode objects.

  Parameters:
    `userNodes` - A list of user objects that implement TreeNode.
  Returns:
    A list of User Objects (tree nodes) that have no parents.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD