Class SimpleOverlay

    • Field Detail

      • m_IncludeBaseImage

        protected boolean m_IncludeBaseImage
        whether to include the base image.
      • m_BackgroundColor

        protected Color m_BackgroundColor
        the background color to use when not using the base image.
      • m_Layers

        protected BaseString[] m_Layers
        the layers to use.
      • m_ColorProvider

        protected ColorProvider m_ColorProvider
        the color provider for generating the colors.
      • m_Alpha

        protected int m_Alpha
        the alpha value to use for the overlay (0: transparent, 255: opaque).
    • Constructor Detail

      • SimpleOverlay

        public SimpleOverlay()
    • Method Detail

      • setIncludeBaseImage

        public void setIncludeBaseImage​(boolean value)
        Sets whether to use the base image or a uniform background color.
        Parameters:
        value - true if to use
      • getIncludeBaseImage

        public boolean getIncludeBaseImage()
        Returns whether to use the base image or a uniform background color.
        Returns:
        true if to use
      • includeBaseImageTipText

        public String includeBaseImageTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setBackgroundColor

        public void setBackgroundColor​(Color value)
        Sets the color to use as background when not using the base image.
        Parameters:
        value - the background color
      • getBackgroundColor

        public Color getBackgroundColor()
        Returns the color to use as background when not using the base image.
        Returns:
        the background color
      • backgroundColorTipText

        public String backgroundColorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setLayers

        public void setLayers​(BaseString[] value)
        Sets the layers to display, uses all if empty array.
        Parameters:
        value - the layers
      • getLayers

        public BaseString[] getLayers()
        Returns the layers to display, uses all if empty array.
        Returns:
        the layers
      • layersTipText

        public String layersTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setColorProvider

        public void setColorProvider​(ColorProvider value)
        Sets the color provider to use.
        Parameters:
        value - the color provider
      • getColorProvider

        public ColorProvider getColorProvider()
        Returns the color provider to use.
        Returns:
        the color provider
      • colorProviderTipText

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

        public void setAlpha​(int value)
        Sets the alpha value to use for the overlay: 0=transparent, 255=opaque.
        Parameters:
        value - the alphae value
      • getAlpha

        public int getAlpha()
        Returns the alpha value to use for the overlay: 0=transparent, 255=opaque.
        Returns:
        the alpha value
      • alphaTipText

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