Package com.iizigo.prop.editor
Class TransformValidator
java.lang.Object
com.iizigo.prop.editor.TransformValidator
The transform validator. Angle units:
deg Degrees. grad Gradians. rad Radians. turn Turns.
- Author:
- Christopher Mindus
- Nested Class SummaryNested Classes
- Field SummaryFields
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescriptionGets the parameters that were successfully parsed.- void- setEntryFields- (Text... texts) Helper to fill in values in entry fields.- static String- shortDouble- (double d) Short double formatting to string.
- Field Details- ANGLE_UNITSAngle units.
- inputThe input string.
- functionFunction.
- valuesList of value objects, either GUnit, Double or Angle.
- errorPotential error.
 
- Constructor Details- TransformValidatorCreates the validator for an input.
 
- Method Details- shortDoubleShort double formatting to string.
- getCSSValueGets the parameters that were successfully parsed.
- setEntryFieldsHelper to fill in values in entry fields.