com.vividsolutions.jump.workbench.ui.plugin.wms
Class MapLayerTreeModel.LayerNode

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.plugin.wms.MapLayerTreeModel.LayerNode
All Implemented Interfaces:
java.lang.Comparable, javax.swing.tree.TreeNode
Enclosing class:
MapLayerTreeModel

public static class MapLayerTreeModel.LayerNode
extends java.lang.Object
implements javax.swing.tree.TreeNode, java.lang.Comparable


Constructor Summary
MapLayerTreeModel.LayerNode(MapLayer layer, MapLayerTreeModel mapLayerTreeModel)
           
 
Method Summary
 java.util.Enumeration children()
           
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 MapLayer getLayer()
           
 javax.swing.tree.TreeNode getParent()
           
 boolean isContainer()
           
 boolean isLeaf()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapLayerTreeModel.LayerNode

public MapLayerTreeModel.LayerNode(MapLayer layer,
                                   MapLayerTreeModel mapLayerTreeModel)
Method Detail

isContainer

public boolean isContainer()

getLayer

public MapLayer getLayer()

getChildAt

public javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getParent

public javax.swing.tree.TreeNode getParent()
Specified by:
getParent in interface javax.swing.tree.TreeNode

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode

children

public java.util.Enumeration children()
Specified by:
children in interface javax.swing.tree.TreeNode

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable