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

## com.tonbeller.wcf.tree
Class TestTreeModel

    java.lang.Object
      com.tonbeller.wcf.tree.AbstractTreeModel
          com.tonbeller.wcf.tree.TestTreeModel

All Implemented Interfaces:
  TreeModel

public class TestTreeModel
extends AbstractTreeModel

Created on 10.12.2002

Author:
  av

Nested Class Summary
`class` | `TestTreeModel.Node`

Field Summary

Fields inherited from interface com.tonbeller.wcf.tree.TreeModel
`EMPTY_MODEL`

Constructor Summary
`TestTreeModel()`
`TestTreeModel(int[] childCount)`

Method Summary
`java.lang.Object[]` | `getChildren(java.lang.Object node)`
`DeleteNodeModel` | `getDeleteNodeModel()`
`java.lang.Object` | `getParent(java.lang.Object node)`
`java.lang.Object[]` | `getRoots()` returns the root members of the tree.
`boolean` | `hasChildren(java.lang.Object node)`

Methods inherited from class com.tonbeller.wcf.tree.AbstractTreeModel
`addTreeModelChangeListener, fireModelChanged, fireModelChanged, fireModelChanged, removeTreeModelChangeListener`

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

Constructor Detail

### TestTreeModel

    public TestTreeModel()

### TestTreeModel

    public TestTreeModel(int[] childCount)

Method Detail

### getRoots

    public java.lang.Object[] getRoots()

  Description copied from interface: `TreeModel`
  returns the root members of the tree.

### hasChildren

    public boolean hasChildren(java.lang.Object node)

  Returns:
    true if the member can be expanded

### getChildren

    public java.lang.Object[] getChildren(java.lang.Object node)

  Returns:
    the children of the member

### getParent

    public java.lang.Object getParent(java.lang.Object node)

  Returns:
    the parent of member or null, if this is a root member

### getDeleteNodeModel

    public DeleteNodeModel getDeleteNodeModel()

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