Class LayerTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- gov.nasa.worldwindx.applications.worldwindow.features.swinglayermanager.LayerTreeNode
-
- All Implemented Interfaces:
LayerNode,java.io.Serializable,java.lang.Cloneable,javax.swing.tree.MutableTreeNode,javax.swing.tree.TreeNode
- Direct Known Subclasses:
LayerTreeGroupNode
public class LayerTreeNode extends javax.swing.tree.DefaultMutableTreeNode implements LayerNode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNODE_ID
-
Constructor Summary
Constructors Constructor Description LayerTreeNode()LayerTreeNode(Layer layer)LayerTreeNode(WMSLayerInfo layerInfo)LayerTreeNode(LayerTreeNode that)LayerTreeNode(java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetID()LayergetLayer()java.lang.StringgetTitle()java.lang.StringgetToolTipText()WMSLayerInfogetWmsLayerInfo()booleanisEnableSelectionBox()booleanisSelected()voidsetEnableSelectionBox(boolean tf)voidsetLayer(Layer layer)voidsetSelected(boolean selected)voidsetTitle(java.lang.String title)voidsetToolTipText(java.lang.String toolTipText)java.lang.StringtoString()-
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, 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 java.lang.String NODE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LayerTreeNode
public LayerTreeNode()
-
LayerTreeNode
public LayerTreeNode(java.lang.String title)
-
LayerTreeNode
public LayerTreeNode(Layer layer)
-
LayerTreeNode
public LayerTreeNode(WMSLayerInfo layerInfo)
-
LayerTreeNode
public LayerTreeNode(LayerTreeNode that)
-
-
Method Detail
-
setTitle
public void setTitle(java.lang.String title)
-
isSelected
public boolean isSelected()
- Specified by:
isSelectedin interfaceLayerNode
-
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelectedin interfaceLayerNode
-
getWmsLayerInfo
public WMSLayerInfo getWmsLayerInfo()
- Specified by:
getWmsLayerInfoin interfaceLayerNode
-
getToolTipText
public java.lang.String getToolTipText()
- Specified by:
getToolTipTextin interfaceLayerNode
-
setToolTipText
public void setToolTipText(java.lang.String toolTipText)
- Specified by:
setToolTipTextin interfaceLayerNode
-
setEnableSelectionBox
public void setEnableSelectionBox(boolean tf)
- Specified by:
setEnableSelectionBoxin interfaceLayerNode
-
isEnableSelectionBox
public boolean isEnableSelectionBox()
- Specified by:
isEnableSelectionBoxin interfaceLayerNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjavax.swing.tree.DefaultMutableTreeNode
-
-