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, userObjectFields inherited from interface rma.swing.tree.CheckBoxNode
DIG_IN_SELECTION, SINGLE_SELECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayer()voidattributeChanged(String name, String attrname, boolean shown) booleanintbooleanvoidvoidvoidsetSelected(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, setUserObjectMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface rma.swing.tree.CheckBoxNode
getUserObject
-
Constructor Details
-
JLayerSelectionNode
-
-
Method Details
-
setLayerSelection
-
getLayerSelection
-
toString
- Overrides:
toStringin classDefaultMutableTreeNode
-
isSelected
public boolean isSelected()- Specified by:
isSelectedin interfaceCheckBoxNode
-
setSelected
public void setSelected(boolean b) - Specified by:
setSelectedin interfaceCheckBoxNode
-
getSelectionMode
public int getSelectionMode()- Specified by:
getSelectionModein interfaceCheckBoxNode
-
canAddLayer
public boolean canAddLayer() -
addLayer
public void addLayer() -
setAttributeSet
-
attributeChanged
- Specified by:
attributeChangedin interfaceAttributeChangedListener
-