|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
hades.manager.tree.SortedTreeNode
hades.manager.tree.SimObjectTreeNode
Nested Class Summary |
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
Field Summary | |
(package private) static javax.swing.ImageIcon |
_icon
|
(package private) ComponentInfo |
clb
|
(package private) java.lang.String |
name
|
Fields inherited from class hades.manager.tree.SortedTreeNode |
__url, debug |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
SimObjectTreeNode()
|
Method Summary | |
javax.swing.ImageIcon |
getIcon()
this is a base class without icon: return the "unknown" icon |
void |
handleDoubleClick(BrowserFrame browser)
handle a tree double click event on this node in the Colibri tree control. |
void |
handleTreeSelection(BrowserFrame browser)
load and set the Icon for this SimObject, load and display the name/author/version/description attributes from a CLB and display in the Browser InfoPanel |
void |
loadComponentInfo()
load the ComponentInfo CLB file for this tree node. |
void |
setUserObject(java.lang.Object o)
override setUserObject to also set our "name" for display in the tree: we want to strip off any remaining directory pathname, and also to strip off the ".clb" extension, if any. |
java.lang.String |
toString()
|
Methods inherited from class hades.manager.tree.SortedTreeNode |
add, getURL, loadIcon, msg, setURL |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
ComponentInfo clb
java.lang.String name
static javax.swing.ImageIcon _icon
Constructor Detail |
public SimObjectTreeNode()
Method Detail |
public javax.swing.ImageIcon getIcon()
SortedTreeNode
getIcon
in class SortedTreeNode
public void loadComponentInfo()
public void handleTreeSelection(BrowserFrame browser)
handleTreeSelection
in class SortedTreeNode
public void handleDoubleClick(BrowserFrame browser)
handleDoubleClick
in class SortedTreeNode
public void setUserObject(java.lang.Object o)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |