NASA World Wind

gov.nasa.worldwindx.applications.worldwindow.features.swinglayermanager
Class LayerTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by 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

Field Summary
static String NODE_ID
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
LayerTreeNode()
           
LayerTreeNode(Layer layer)
           
LayerTreeNode(LayerTreeNode that)
           
LayerTreeNode(String title)
           
LayerTreeNode(WMSLayerInfo layerInfo)
           
 
Method Summary
 Object getID()
           
 Layer getLayer()
           
 String getTitle()
           
 String getToolTipText()
           
 WMSLayerInfo getWmsLayerInfo()
           
 boolean isEnableSelectionBox()
           
 boolean isSelected()
           
 void setEnableSelectionBox(boolean tf)
           
 void setLayer(Layer layer)
           
 void setSelected(boolean selected)
           
 void setTitle(String title)
           
 void setToolTipText(String toolTipText)
           
 String 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 gov.nasa.worldwindx.applications.worldwindow.features.swinglayermanager.LayerNode
setAllowsChildren
 

Field Detail

NODE_ID

public static final String NODE_ID
See Also:
Constant Field Values
Constructor Detail

LayerTreeNode

public LayerTreeNode()

LayerTreeNode

public LayerTreeNode(Layer layer)

LayerTreeNode

public LayerTreeNode(LayerTreeNode that)

LayerTreeNode

public LayerTreeNode(String title)

LayerTreeNode

public LayerTreeNode(WMSLayerInfo layerInfo)
Method Detail

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

NASA World Wind