Class CheckNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
repast.simphony.dataLoader.ui.wizard.builder.CheckNode
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable
,MutableTreeNode
,TreeNode
- Direct Known Subclasses:
AgentLayerCheckNode
,NetworkCheckNode
Tree node with a selected checkbox like quality.
- Version:
- $Revision: 1.1 $ $Date: 2006/01/06 22:24:11 $
- Author:
- Nick Collier
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
protected boolean
protected boolean
static final int
static final int
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
abstract Icon
getIcon()
org.piccolo2d.PLayer
getLayer()
boolean
boolean
void
setCascadeSelection
(boolean cascadeSelection) void
setSelected
(boolean selected) void
sort
(Comparator comparator) 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
-
Field Details
-
NO_CHILDREN
public static final int NO_CHILDREN- See Also:
-
ALL_SELECTED
public static final int ALL_SELECTED- See Also:
-
ALL_DESELECTED
public static final int ALL_DESELECTED- See Also:
-
MIXED
public static final int MIXED- See Also:
-
isSelected
protected boolean isSelected -
cascadeSelection
protected boolean cascadeSelection
-
-
Constructor Details
-
CheckNode
-
-
Method Details
-
isCascadeSelection
public boolean isCascadeSelection() -
setCascadeSelection
public void setCascadeSelection(boolean cascadeSelection) -
isSelected
public boolean isSelected() -
getTreeState
-
setSelected
public void setSelected(boolean selected) -
sort
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
getLayer
public org.piccolo2d.PLayer getLayer() -
getIcon
-