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 Summary
Field Summary
Constructor Summary
Method Summary
Modifier 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_UNITS
Angle units.input
The input string.function
Function.values
List of value objects, either GUnit, Double or Angle.error
Potential error.
Constructor Details
TransformValidator
Creates the validator for an input.
Method Details
shortDouble
Short double formatting to string.getCSSValue
Gets the parameters that were successfully parsed.setEntryFields
Helper to fill in values in entry fields.