Package com.iizix.prop
Interface IPropCnrNumber
- All Known Implementing Classes:
- AxisNumber,- PlotNumber
 - public interface IPropCnrNumberInterface for a generic number setting for a property container implemented by enum classes with validation support.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods Default Methods - Modifier and Type - Method - Description - double- getDefaultValue()Gets the default value when the property is not set.- java.lang.String- getPropName()Returns the name of the property, usually starting with '$'.- default void- validate(PropCnr pc, double value)Validates a new value.
 
- Method Detail- getDefaultValue- double getDefaultValue() Gets the default value when the property is not set.
 - validate- default void validate(PropCnr pc, double value) throws PropValidateException Validates a new value.- Override to provide validation, default doesn't validate. - Parameters:
- pc- The property container that will be set.
- value- The new value to validate.
- Throws:
- PropValidateException- If the value doesn't validate.
 
 - getPropName- java.lang.String getPropName() Returns the name of the property, usually starting with '$'.