Interface IPropCnrIntegerSettings<INTEGER_OPTION extends IPropCnrInteger>

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

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

    • get

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

      default boolean set(INTEGER_OPTION option, int value) throws PropValidateException
      Sets a number option.
      Parameters:
      option - The option to set.
      value - The number value to set.
      Returns:
      true if the value was changed, false for no change.
      Throws:
      PropValidateException - If the value doesn't validate.