gov.nasa.worldwindx.applications.worldwindow.features.swinglayermanager
Class LayerTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
gov.nasa.worldwindx.applications.worldwindow.features.swinglayermanager.LayerTreeNode
- All Implemented Interfaces:
- LayerNode, Serializable, Cloneable, MutableTreeNode, TreeNode
- Direct Known Subclasses:
- LayerTreeGroupNode
public class LayerTreeNode
- extends DefaultMutableTreeNode
- implements LayerNode
- See Also:
- Serialized Form
| 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 interface gov.nasa.worldwindx.applications.worldwindow.features.swinglayermanager.LayerNode |
setAllowsChildren |
NODE_ID
public static final String NODE_ID
- See Also:
- Constant Field Values
LayerTreeNode
public LayerTreeNode()
LayerTreeNode
public LayerTreeNode(Layer layer)
LayerTreeNode
public LayerTreeNode(LayerTreeNode that)
LayerTreeNode
public LayerTreeNode(String title)
LayerTreeNode
public LayerTreeNode(WMSLayerInfo layerInfo)
getID
public Object getID()
- Specified by:
getID in interface LayerNode
getLayer
public Layer getLayer()
- Specified by:
getLayer in interface LayerNode
getTitle
public String getTitle()
- Specified by:
getTitle in interface LayerNode
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText in interface LayerNode
getWmsLayerInfo
public WMSLayerInfo getWmsLayerInfo()
- Specified by:
getWmsLayerInfo in interface LayerNode
isEnableSelectionBox
public boolean isEnableSelectionBox()
- Specified by:
isEnableSelectionBox in interface LayerNode
isSelected
public boolean isSelected()
- Specified by:
isSelected in interface LayerNode
setEnableSelectionBox
public void setEnableSelectionBox(boolean tf)
- Specified by:
setEnableSelectionBox in interface LayerNode
setLayer
public void setLayer(Layer layer)
- Specified by:
setLayer in interface LayerNode
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelected in interface LayerNode
setTitle
public void setTitle(String title)
- Specified by:
setTitle in interface LayerNode
setToolTipText
public void setToolTipText(String toolTipText)
- Specified by:
setToolTipText in interface LayerNode
toString
public String toString()
- Overrides:
toString in class DefaultMutableTreeNode