public class LayerTreeModel extends DefaultTreeModel
asksAllowsChildren, listenerList, root
Constructor and Description |
---|
LayerTreeModel() |
LayerTreeModel(LayerList layerList) |
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
public LayerTreeModel()
public LayerTreeModel(LayerList layerList)
public LayerTreeNode find(LayerNode layerNodeRequested)
public LayerTreeNode findByTitle(String title)
public LayerTreeNode findByTitle(String title, LayerTreeNode groupNode)
public LayerTreeNode findByTitle(String layerTitle, String groupTitle)
public LayerTreeNode findChild(String childName, LayerTreeNode parent)
public LayerTreeNode findLayer(Layer layer, LayerTreeGroupNode groupNode)
public List<LayerTreeNode> findLayerInstances(Layer layer, LayerTreeGroupNode groupNode)
public LayerTreeGroupNode getDefaultGroupNode()
public LayerTreeNode getLastNode(LayerPath path)
public LayerTreeGroupNode getRootNode()
public boolean isIncludeInternalLayers()
public static boolean isInternalLayer(Layer layer)
protected LayerTreeGroupNode makeGroup(LayerList layerList)
public void refresh(LayerList layerList)
removeNode(Object)
for that.layerList
- the layerlist to synchronize with, typically the active layer list of the World Window.public void removeNode(Object o)
public void selectLayer(Layer layer, boolean tf)
public void setIncludeInternalLayers(boolean includeInternalLayers)