| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv CommonTree |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addTreeModelListener(TreeModelListener
the listener to add treeModelListener)Implements javax. TreeModelEvent
posted after the tree changes.
|
| public Object | getChild(Object
a node in the tree, obtained from this data source parent, int index of child to be returned i)Implements javax. parent at index index
in the parent's
child array.
|
| public int | getChildCount(Object
a node in the tree, obtained from this data source parent)Implements javax. parent.
|
| public int | getIndexOfChild(Object
a node in the tree, obtained from this data source parent, Object the node we are interested in child)Implements javax. |
| public Object | |
| public boolean | isLeaf(Object
a node in the tree, obtained from this data source node)Implements javax. true if node is a leaf.
|
| public void | removeTreeModelListener(TreeModelListener
the listener to remove treeModelListener)Implements javax. addTreeModelListener.
|
| public void | valueForPathChanged(TreePath
path to the node that the user has altered treePath, Object the new value from the TreeCellEditor o)Implements javax. path to newValue.
|
| root | back to summary |
|---|---|
| pack-priv CommonTree root | |
| JTreeScopeStackModel | back to summary |
|---|---|
| public JTreeScopeStackModel(InstanceScope scope) | |
| addAttributeDescriptions | back to summary |
|---|---|
| public void addAttributeDescriptions(ST st, JTreeScopeStackModel. | |
| addTreeModelListener | back to summary |
|---|---|
| public void addTreeModelListener(TreeModelListener treeModelListener) Implements javax. Doc from javax. Adds a listener for the
| |
| getChild | back to summary |
|---|---|
| public Object getChild(Object parent, int i) 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 treeModelListener) Implements javax. Doc from javax. Removes a listener previously added with
| |
| valueForPathChanged | back to summary |
|---|---|
| public void valueForPathChanged(TreePath treePath, Object o) Implements javax. Doc from javax. Messaged when the user has altered the value for the item identified
by | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isNil()
Overrides org. Implements org. |
| public String | toString()
Overrides org. Implements org. |
| text | back to summary |
|---|---|
| pack-priv String text | |
| StringTree | back to summary |
|---|---|
| public StringTree(String text) | |
| isNil | back to summary |
|---|---|
| public boolean isNil() Overrides org. Implements org. Doc from org. Indicates the node is a nil node but may still have children, meaning the tree is a flat list.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Implements org. Doc from org. Override to say how a node (not a tree) should look as text
| |