Interface IPropCnrColorSettings<COLOR_OPTION extends IPropCnrColor>

All Superinterfaces:
IGProp<GProp<?>[]>, IPropCnr
All Known Implementing Classes:
Axis2D, EAxis2D, EPlot2D, ESeries, EUIChart, Plot2D, Series, UIChart

public interface IPropCnrColorSettings<COLOR_OPTION extends IPropCnrColor> extends IPropCnr
Interface implements by a property container supporting setting for colors.
Author:
Christopher Mindus
  • Method Details

    • get

      default GColor get(COLOR_OPTION option)
      Gets a color option.
      Parameters:
      option - The option to retrieve.
      Returns:
      The option value set, or its default value if not set.
    • getNoDefault

      default GColor getNoDefault(COLOR_OPTION option)
      Gets a color option without default value, i.e. returns null if not set.
      Parameters:
      option - The option to retrieve.
      Returns:
      The option value set, or null if not set.
    • set

      default boolean set(COLOR_OPTION option, GColor color)
      Sets a stroke option.
      Parameters:
      option - The option to set.
      color - The color value to set, or null to set default.
      Returns:
      true if the value was changed, false for no change.