public class DoubleInput extends NumberInput<java.lang.Double>
nfvalidators| Constructor and Description |
|---|
DoubleInput() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
convert(java.lang.Object v)
Perform any supported type conversions to to generate a value of the
target type
|
java.lang.String |
getString(java.lang.Double val)
get a String representation of an Object that is compatible with the way
the input is parsed
|
protected java.lang.Double |
normalise(java.lang.Double val)
Extension point to normalise a value after a parse
|
java.lang.Double |
parseValue(java.lang.String v)
Parse a String into the correct type for this input.
|
formatRange, getMax, getMin, getStep, getType, getUnit, setMax, setMin, setNumberFormat, setStep, setUnitaccept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSinglegetValue, setKey, setValueaddValidator, getKey, getPrettyString, getString, removeValidator, validate, validateInnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addValidator, getKey, getPrettyString, getValue, isEmpty, removeValidator, setKey, setValue, validategetString, parsepublic java.lang.Double convert(java.lang.Object v)
throws TypeError
Inputpublic java.lang.String getString(java.lang.Double val)
BaseInputgetString in interface Input<java.lang.Double>getString in class NumberInput<java.lang.Double>ParseInputpublic java.lang.Double parseValue(java.lang.String v)
throws ParseException
ParseInputInput.getString(Object) method.ParseExceptionprotected java.lang.Double normalise(java.lang.Double val)
val -