Class MultiMapOverlay

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable

    public class MultiMapOverlay
    extends AbstractMapOverlay
    A meta-overlay that paints multiple overlays.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -enabled <boolean> (property: enabled)
        If enabled, the overlay gets painted.
        default: true
     
    -overlay <adams.flow.sink.openstreetmapviewer.AbstractMapOverlay> [-overlay ...] (property: overlays)
        The array of overlays to use.
        default: 
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • MultiMapOverlay

        public MultiMapOverlay()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractMapOverlay
      • setOverlays

        public void setOverlays​(AbstractMapOverlay[] value)
        Sets the overlays to use.
        Parameters:
        value - the filters to use
      • getOverlays

        public AbstractMapOverlay[] getOverlays()
        Returns the overlays in use.
        Returns:
        the overlays
      • overlaysTipText

        public String overlaysTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui