public class CheckBoxNode
extends javax.swing.tree.DefaultMutableTreeNode
DefaultMutableTreeNode,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isSelected |
| Constructor and Description |
|---|
CheckBoxNode()
Generic constructor.
|
CheckBoxNode(java.lang.Object userObject)
Constructor with base object only.
|
CheckBoxNode(java.lang.Object userObject,
java.lang.Object tag)
Constructor with arguments.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getTag()
Tag getter.
|
boolean |
isSelected()
Selected getter.
|
void |
setSelected(boolean isSelected)
Selected setter.
|
void |
setTag(java.lang.Object tag)
Tag setter.
|
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, toStringpublic CheckBoxNode()
DefaultMutableTreeNodepublic CheckBoxNode(java.lang.Object userObject,
java.lang.Object tag)
userObject - The base object.tag - The tag object to store as a reference.DefaultMutableTreeNodepublic CheckBoxNode(java.lang.Object userObject)
userObject - The base object.DefaultMutableTreeNodepublic void setSelected(boolean isSelected)
isSelected - Boolean indicating if the node is selected.public boolean isSelected()
public java.lang.Object getTag()
public void setTag(java.lang.Object tag)
tag - The object to store as the tag.