Constructor and Description |
---|
LayerTreeModel(WMTSThemes root) |
Modifier and Type | Method and Description |
---|---|
void |
addTreeModelListener(TreeModelListener l) |
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
int |
getIndexOfChild(Object parent,
Object child) |
String |
getName(Object node) |
Object |
getNodeByName(String name)
Searches in the tree for the first (and must be the unique) RemoteLayerNode with
the name specified by name.
|
Object |
getRoot() |
List<WMTSStyle> |
getStyles(Object node) |
String |
getTitle(Object node) |
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener l) |
String |
toString() |
void |
valueForPathChanged(TreePath path,
Object newValue) |
public LayerTreeModel(WMTSThemes root)
public int getChildCount(Object parent)
getChildCount
in interface TreeModel
public void addTreeModelListener(TreeModelListener l)
addTreeModelListener
in interface TreeModel
public void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener
in interface TreeModel
public int getIndexOfChild(Object parent, Object child)
getIndexOfChild
in interface TreeModel
public void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged
in interface TreeModel
public String getName(Object node)
node,
- the tree's desired node.public List<WMTSStyle> getStyles(Object node)
node,
- the tree's desired node.public String getTitle(Object node)
node,
- the tree's desired node.