Class ActiveLayersPanel

    • Constructor Detail

      • ActiveLayersPanel

        public ActiveLayersPanel​(Registry registry)
    • Method Detail

      • setIncludeInternalLayers

        public void setIncludeInternalLayers​(boolean includeInternalLayers)
        Description copied from interface: ActiveLayersManager
        Specifies whether to show internal layers.
        Specified by:
        setIncludeInternalLayers in interface ActiveLayersManager
        Parameters:
        includeInternalLayers - true for internal layers to be shown, otherwise false.
      • isTwoState

        public boolean isTwoState()
        Description copied from interface: Feature
        Indicates whether the feature can be either on or off, without any other states. This is used by the tool bar and menu-bar menus to determine whether the feature's enable/disable button or menu item should be displayed with an indicator that it's either on or off. In the case of a menu the indicator is a check box. In the case of a tool bar button the indicator is a dot above the button.
        Specified by:
        isTwoState in interface Feature
        Overrides:
        isTwoState in class AbstractFeature
        Returns:
        true if the feature has only two states, otherwise off.
      • fillModel

        protected void fillModel​(LayerList layerList)
      • refresh

        protected void refresh​(java.beans.PropertyChangeEvent event)
      • updateLayerList

        public void updateLayerList​(LayerList layerList)
        Description copied from interface: ActiveLayersManager
        Replace the contents of the model with the contents of a specified [@link LayerList}.
        Specified by:
        updateLayerList in interface ActiveLayersManager
        Parameters:
        layerList - the layer list to display.