Package hec.map
Class JLayerSelectorTreePanel.JLayerSelectionNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
hec.map.JLayerSelectorTreePanel.JLayerSelectionNode
- All Implemented Interfaces:
AttributeChangedListener
,Serializable
,Cloneable
,EventListener
,MutableTreeNode
,TreeNode
,CheckBoxNode
- Enclosing class:
- JLayerSelectorTreePanel
public class JLayerSelectorTreePanel.JLayerSelectionNode
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
addLayer()
void
attributeChanged
(String name, String attrname, boolean shown) boolean
int
boolean
void
void
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
-
JLayerSelectionNode
-
-
Method Details
-
setLayerSelection
-
getLayerSelection
-
toString
- Overrides:
toString
in classDefaultMutableTreeNode
-
isSelected
public boolean isSelected()- Specified by:
isSelected
in interfaceCheckBoxNode
-
setSelected
public void setSelected(boolean b) - Specified by:
setSelected
in interfaceCheckBoxNode
-
getSelectionMode
public int getSelectionMode()- Specified by:
getSelectionMode
in interfaceCheckBoxNode
-
canAddLayer
public boolean canAddLayer() -
addLayer
public void addLayer() -
setAttributeSet
-
attributeChanged
- Specified by:
attributeChanged
in interfaceAttributeChangedListener
-