public class LayerTreeNode extends javax.swing.tree.DefaultMutableTreeNode implements LayerNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NODE_ID |
Constructor and Description |
---|
LayerTreeNode() |
LayerTreeNode(Layer layer) |
LayerTreeNode(LayerTreeNode that) |
LayerTreeNode(java.lang.String title) |
LayerTreeNode(WMSLayerInfo layerInfo) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getID() |
Layer |
getLayer() |
java.lang.String |
getTitle() |
java.lang.String |
getToolTipText() |
WMSLayerInfo |
getWmsLayerInfo() |
boolean |
isEnableSelectionBox() |
boolean |
isSelected() |
void |
setEnableSelectionBox(boolean tf) |
void |
setLayer(Layer layer) |
void |
setSelected(boolean selected) |
void |
setTitle(java.lang.String title) |
void |
setToolTipText(java.lang.String toolTipText) |
java.lang.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, setUserObject
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setAllowsChildren
public static final java.lang.String NODE_ID
public LayerTreeNode()
public LayerTreeNode(Layer layer)
public LayerTreeNode(LayerTreeNode that)
public LayerTreeNode(java.lang.String title)
public LayerTreeNode(WMSLayerInfo layerInfo)
public java.lang.String getToolTipText()
getToolTipText
in interface LayerNode
public WMSLayerInfo getWmsLayerInfo()
getWmsLayerInfo
in interface LayerNode
public boolean isEnableSelectionBox()
isEnableSelectionBox
in interface LayerNode
public boolean isSelected()
isSelected
in interface LayerNode
public void setEnableSelectionBox(boolean tf)
setEnableSelectionBox
in interface LayerNode
public void setSelected(boolean selected)
setSelected
in interface LayerNode
public void setToolTipText(java.lang.String toolTipText)
setToolTipText
in interface LayerNode
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode