Interface IPropCnrNumberSettings<NUMBER_OPTION extends IPropCnrNumber>

    • Method Detail

      • 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.