|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.ibm.dse.desktop.TreeNode
The TreeNode class provides a tree node.
Nested Class Summary |
---|
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
|
Field Summary | |
---|---|
TreeNodeData |
aNodeData
keeps the instance of the TreeNodeData |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
TreeNode()
This constructor creates a TreeNode object. |
|
TreeNode(java.lang.Object userObject)
This constructor creates a TreeNode object. |
|
TreeNode(java.lang.Object userObject,
boolean allowsChildren)
This constructor creates a TreeNode object. |
Method Summary | |
---|---|
void |
add(java.lang.Object o)
Adds a node to the tree. |
TreeNodeData |
getTreeNodeData()
Gets the tree node user object. |
void |
setBackgroundNonSelectionColor(java.lang.Object o)
Sets the user-object node color of the background when it is not selected. |
void |
setBackgroundSelectionColor(java.lang.Object o)
Sets the user-object node color of the background when it is selected. |
void |
setForegroundNonSelectionColor(java.lang.Object o)
Sets the user-object node color of the foreground when it is not selected. |
void |
setForegroundSelectionColor(java.lang.Object o)
Sets the user-object node color of the foreground when it is selected. |
void |
setIconName(java.lang.Object o)
Sets the user-object node icon. |
void |
setLabel(java.lang.Object o)
Sets the user-object node title. |
void |
setName(java.lang.Object o)
Sets the name. |
void |
setToolTipText(java.lang.Object o)
Sets the tool tip text. |
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 |
public TreeNodeData aNodeData
Constructor Detail |
public TreeNode()
public TreeNode(java.lang.Object userObject)
userObject
- java.lang.Objectpublic TreeNode(java.lang.Object userObject, boolean allowsChildren)
userObject
- java.lang.ObjectallowsChildren
- booleanMethod Detail |
public void add(java.lang.Object o)
add
in interface DesktopComponent
o
- java.lang.Objectpublic TreeNodeData getTreeNodeData()
public void setBackgroundNonSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setBackgroundSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setForegroundNonSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setForegroundSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setIconName(java.lang.Object o)
o
- java.lang.Objectpublic void setLabel(java.lang.Object o)
o
- java.lang.Objectpublic void setName(java.lang.Object o)
o
- java.lang.Objectpublic void setToolTipText(java.lang.Object o)
o
- java.lang.Object
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |