|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectARoad0.Gui2.ISTree
public class ISTree
This utility class is responsible for creating and for updating a viewable tree for the IS structure. All the methods are static.
Field Summary | |
---|---|
private static int |
INITIAL_CAPACITY
|
Constructor Summary | |
---|---|
private |
ISTree()
only one private constructor |
Method Summary | |
---|---|
static javax.swing.JTree |
createISnodeTree(javax.swing.JTree _tree,
ImmutableName _iSname,
ImmutableName _name,
javax.swing.tree.DefaultMutableTreeNode _parent)
Creates a graphical subtree of IS objects, where the last component of the object name is the user object for the tree node. |
static javax.swing.tree.DefaultMutableTreeNode |
getParentInISTree(ImmutableName _name)
Gets the parent TreeNode from the element name, through a searching from the root. |
static javax.swing.tree.DefaultMutableTreeNode |
getTreeNodeInISTree(ImmutableName _name)
Gets the TreeNode from the IS node name, through a searching from the root. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int INITIAL_CAPACITY
Constructor Detail |
---|
private ISTree()
Method Detail |
---|
public static final javax.swing.JTree createISnodeTree(javax.swing.JTree _tree, ImmutableName _iSname, ImmutableName _name, javax.swing.tree.DefaultMutableTreeNode _parent)
_tree
- to process_iSname
- name of the IS. Never null._name
- of the IS node. Never null. It is _iSname to create the IS in the tree._parent
- of _tree under which a node has to be created for _name
public static final javax.swing.tree.DefaultMutableTreeNode getParentInISTree(ImmutableName _name)
_name
- of an NameISTree element in a registered IS
public static final javax.swing.tree.DefaultMutableTreeNode getTreeNodeInISTree(ImmutableName _name)
_name
- of an IS element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |