|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--com.ibm.able.AbleCheckBoxTreeNode
This class provides a TreeNode and maintains an indicator as to whether or not it is selected.
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 | |
---|---|
static java.lang.String |
Copyright()
Determine the copyright of this class. |
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()
public static java.lang.String Copyright()
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |