Class AbstractCustomColorProvider

    • Constructor Detail

      • AbstractCustomColorProvider

        public AbstractCustomColorProvider()
    • Method Detail

      • getDefaultColors

        protected abstract Color[] getDefaultColors()
        Returns the default colors to use.
        Returns:
        the colors
      • setColors

        public void setColors​(Color[] value)
        Sets the colors to use.
        Parameters:
        value - the colors to use
      • getColors

        public Color[] getColors()
        Returns the colors in use.
        Returns:
        the colors in use
      • colorsTipText

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

        protected abstract boolean isDarkeningEnabled()
        Returns whether the allow-darkening option is enabled.
        Returns:
        true if enabled
      • setAllowDarkening

        public void setAllowDarkening​(boolean value)
        Sets whether to allow the darkening of colors.
        Parameters:
        value - if true colors are re-used in darker versions
      • getAllowDarkening

        public boolean getAllowDarkening()
        Returns whether to allow the darkening of colors.
        Returns:
        true if colors are re-used in darker versions
      • allowDarkeningTipText

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