public static class MapLayerTreeModel.LayerNode
extends java.lang.Object
implements javax.swing.tree.TreeNode, java.lang.Comparable
Constructor and Description |
---|
MapLayerTreeModel.LayerNode(MapLayer layer,
MapLayerTreeModel mapLayerTreeModel) |
Modifier and Type | Method and Description |
---|---|
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() |
public MapLayerTreeModel.LayerNode(MapLayer layer, MapLayerTreeModel mapLayerTreeModel)
public boolean isContainer()
public MapLayer getLayer()
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getParent()
getParent
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode node)
getIndex
in interface javax.swing.tree.TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable