| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private SimpleTreeNode | |
| private static final SimpleTreeNode |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addTreeModelListener(TreeModelListener l)
Implements javax. Adds a listener for the |
| public void | |
| public Object | getChild(Object parent, int index)
Implements javax. Returns the child of |
| public int | getChildCount(Object parent)
Implements javax. Returns the number of children of |
| public int | getIndexOfChild(Object parent, Object child)
Implements javax. Returns the index of child in parent. |
| public Object | |
| public boolean | |
| public void | removeTreeModelListener(TreeModelListener l)
Implements javax. Removes a listener previously added with
|
| public void | |
| public void | valueForPathChanged(TreePath path, Object newValue)
Implements javax. Unsupported operation |
| listeners | back to summary |
|---|---|
| private List<TreeModelListener> listeners | |
| root | back to summary |
|---|---|
| private SimpleTreeNode root | |
| singletonNullRoot | back to summary |
|---|---|
| private static final SimpleTreeNode singletonNullRoot | |
| SimpleTreeModel | back to summary |
|---|---|
| public SimpleTreeModel() | |
| addTreeModelListener | back to summary |
|---|---|
| public void addTreeModelListener(TreeModelListener l) Implements javax. Doc from javax. Adds a listener for the | |
| fireTreeStructureChanged | back to summary |
|---|---|
| public void fireTreeStructureChanged() | |
| getChild | back to summary |
|---|---|
| public Object getChild(Object parent, int index) Implements javax. Doc from javax. Returns the child of | |
| getChildCount | back to summary |
|---|---|
| public int getChildCount(Object parent) Implements javax. Doc from javax. Returns the number of children of | |
| getIndexOfChild | back to summary |
|---|---|
| public int getIndexOfChild(Object parent, Object child) Implements javax. Doc from javax. Returns the index of child in parent. If either | |
| getRoot | back to summary |
|---|---|
| public Object getRoot() Implements javax. Doc from javax. Returns the root of the tree. Returns | |
| isLeaf | back to summary |
|---|---|
| public boolean isLeaf(Object node) Implements javax. Doc from javax. Returns | |
| removeTreeModelListener | back to summary |
|---|---|
| public void removeTreeModelListener(TreeModelListener l) Implements javax. Doc from javax. Removes a listener previously added with
| |
| setRoot | back to summary |
|---|---|
| public void setRoot(SimpleTreeNode node) | |
| valueForPathChanged | back to summary |
|---|---|
| public void valueForPathChanged(TreePath path, Object newValue) Implements javax. Unsupported operation | |