|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.ibm.able.AbleCheckBoxTreeNode
This class provides a TreeNode and maintains an indicator as to whether or not it is selected.
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
AbleCheckBoxTreeNode(java.lang.Object userObject,
boolean allowsChildren,
boolean theSelection)
Construct the node and set its properties. |
|
| Method Summary | |
|---|---|
boolean |
isSelected()
Return the selection indicator for this node. |
void |
setSelected(boolean theSelection)
Set the selection indicator for this node. |
void |
setSelectedNode(boolean theSelection)
Set the selection indicator for this node. |
void |
setSelectedParent(boolean theSelection)
Set the selection indicator for this node's parents. |
| 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 |
| Constructor Detail |
public AbleCheckBoxTreeNode(java.lang.Object userObject,
boolean allowsChildren,
boolean theSelection)
userObject - is the underlying user object for the node.allowsChildren - indicates whether the node is a leaf or container.theSelection - sets the selection parameter for this node.| Method Detail |
public void setSelectedNode(boolean theSelection)
theSelection - sets the selection parameter for this node.public void setSelected(boolean theSelection)
theSelection - sets the selection parameter for this node.public void setSelectedParent(boolean theSelection)
theSelection - sets the selection parameter for this node.public boolean isSelected()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||