Class WMSLayerTree


  • public class WMSLayerTree
    extends java.lang.Object
    The layer tree of a WMS server.
    • Constructor Detail

      • WMSLayerTree

        public WMSLayerTree()
        Constructs a new WMSLayerTree.
    • Method Detail

      • getTreeRootNode

        public javax.swing.tree.MutableTreeNode getTreeRootNode()
        Returns the root node.
        Returns:
        The root node
      • getLayerTree

        public javax.swing.JTree getLayerTree()
        Returns the JTree.
        Returns:
        The JTree
      • getSelectedLayers

        public java.util.List<LayerDetailsgetSelectedLayers()
        Returns the list of selected layers.
        Returns:
        the list of selected layers
      • updateTree

        public void updateTree​(WMSImagery wms)
        Updates the whole tree with the given WMS imagery info. All previous content is removed
        Parameters:
        wms - The imagery info for a given WMS server
      • updateTreeList

        public void updateTreeList​(java.util.Collection<LayerDetails> layers)
        Updates the list of WMS layers.
        Parameters:
        layers - The list of layers to add to the root node