Interface IPropCnrBooleanSettings<BOOLEAN_OPTION extends IPropCnrBoolean>

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

public interface IPropCnrBooleanSettings<BOOLEAN_OPTION extends IPropCnrBoolean> extends IPropCnr
Interface implements by a property container supporting setting as choices, numbers,
Author:
Christopher Mindus
  • Method Details

    • get

      default boolean get(BOOLEAN_OPTION option)
      Gets a boolean option.
      Parameters:
      option - The option to retrieve.
      Returns:
      The option value set, or its default value if not set.
    • set

      default boolean set(BOOLEAN_OPTION option, boolean on)
      Sets a boolean option.
      Parameters:
      option - The option to set.
      on - The boolean value to set.
      Returns:
      true if the value was changed, false for no change.