Package com.iizix.prop
Interface IPropCnrNumber
- All Known Implementing Classes:
- AxisNumber,- PlotNumber
public interface IPropCnrNumber
Interface for a generic number setting for a property container implemented by enum classes with validation support.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- doubleGets the default value when the property is not set.Returns the name of the property, usually starting with '$'.- default voidValidates a new value.
- Method Details- getDefaultValuedouble getDefaultValue()Gets the default value when the property is not set.
- validateValidates 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.
 
- getPropNameString getPropName()Returns the name of the property, usually starting with '$'.