public class LayerTreeNode extends DefaultMutableTreeNode implements LayerNode
| Modifier and Type | Field and Description | 
|---|---|
| static String | NODE_ID | 
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Constructor and Description | 
|---|
| LayerTreeNode() | 
| LayerTreeNode(Layer layer) | 
| LayerTreeNode(LayerTreeNode that) | 
| LayerTreeNode(String title) | 
| LayerTreeNode(WMSLayerInfo layerInfo) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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() | 
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, setUserObjectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetAllowsChildrenpublic static final String NODE_ID
public LayerTreeNode()
public LayerTreeNode(Layer layer)
public LayerTreeNode(LayerTreeNode that)
public LayerTreeNode(String title)
public LayerTreeNode(WMSLayerInfo layerInfo)
public String getToolTipText()
getToolTipText in interface LayerNodepublic WMSLayerInfo getWmsLayerInfo()
getWmsLayerInfo in interface LayerNodepublic boolean isEnableSelectionBox()
isEnableSelectionBox in interface LayerNodepublic boolean isSelected()
isSelected in interface LayerNodepublic void setEnableSelectionBox(boolean tf)
setEnableSelectionBox in interface LayerNodepublic void setSelected(boolean selected)
setSelected in interface LayerNodepublic void setToolTipText(String toolTipText)
setToolTipText in interface LayerNodepublic String toString()
toString in class DefaultMutableTreeNode