|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode hades.manager.tree.SortedTreeNode
SortedTreeNode: a mutable tree node which sorts its children alphabetically.
Nested Class Summary |
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
Field Summary | |
(package private) java.net.URL |
__url
|
(package private) static javax.swing.ImageIcon |
_icon
|
(package private) static boolean |
debug
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
SortedTreeNode()
|
|
SortedTreeNode(java.lang.Object userObject)
|
Method Summary | |
void |
add(SortedTreeNode child)
adds a TreeNode to the child list |
javax.swing.ImageIcon |
getIcon()
this is a base class without icon: return the "unknown" icon |
java.net.URL |
getURL()
|
void |
handleDoubleClick(BrowserFrame browser)
handle a tree double click event on this node in the Colibri tree control. |
void |
handleTreeSelection(BrowserFrame browser)
handle a tree selection event on this node in the Colibri tree control. |
static javax.swing.ImageIcon |
loadIcon(java.lang.String resourcename)
|
static void |
msg(java.lang.String s)
utility method to print a String, if 'debug' is true. |
void |
setURL(java.net.URL u)
|
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, setUserObject, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static boolean debug
static javax.swing.ImageIcon _icon
java.net.URL __url
Constructor Detail |
public SortedTreeNode()
public SortedTreeNode(java.lang.Object userObject)
Method Detail |
public javax.swing.ImageIcon getIcon()
public static javax.swing.ImageIcon loadIcon(java.lang.String resourcename)
public java.net.URL getURL()
public void setURL(java.net.URL u)
public void add(SortedTreeNode child)
public void handleTreeSelection(BrowserFrame browser)
public void handleDoubleClick(BrowserFrame browser)
public static void msg(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |