Package hec.map
Class JLayerSelectorTreePanel.CheckBoxNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
hec.map.JLayerSelectorTreePanel.CheckBoxNode
- All Implemented Interfaces:
AttributeChangedListener
,Serializable
,Cloneable
,EventListener
,MutableTreeNode
,TreeNode
,CheckBoxNode
- Enclosing class:
- JLayerSelectorTreePanel
public class JLayerSelectorTreePanel.CheckBoxNode
extends DefaultMutableTreeNode
implements CheckBoxNode, AttributeChangedListener
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Fields inherited from interface rma.swing.tree.CheckBoxNode
DIG_IN_SELECTION, SINGLE_SELECTION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attributeChanged
(String name, String attrname, boolean shown) int
void
boolean
boolean
void
setIsRemovable
(boolean b) void
setSelected
(boolean b) toString()
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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface rma.swing.tree.CheckBoxNode
getUserObject
-
Constructor Details
-
CheckBoxNode
-
-
Method Details
-
isSelected
public boolean isSelected()- Specified by:
isSelected
in interfaceCheckBoxNode
-
setSelected
public void setSelected(boolean b) - Specified by:
setSelected
in interfaceCheckBoxNode
-
getAttributeSet
-
getSelectionMode
public int getSelectionMode()- Specified by:
getSelectionMode
in interfaceCheckBoxNode
-
toString
- Overrides:
toString
in classDefaultMutableTreeNode
-
attributeChanged
- Specified by:
attributeChanged
in interfaceAttributeChangedListener
-
setIsRemovable
public void setIsRemovable(boolean b) -
isRemovable
public boolean isRemovable() -
hasBeenRemoved
public void hasBeenRemoved() -
getAttributeName
-