Interface IPropCnrNumberSettings<NUMBER_OPTION extends IPropCnrNumber>

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

public interface IPropCnrNumberSettings<NUMBER_OPTION extends IPropCnrNumber> extends IPropCnr
Interface implements by a property container supporting setting as strings.
Author:
Christopher Mindus
  • Method Details

    • get

      default double get(NUMBER_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(NUMBER_OPTION option, double 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.