public class PercentInput extends DoubleInput
nfvalidators| Constructor and Description |
|---|
PercentInput() |
PercentInput(boolean integer_only) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatRange(java.lang.Double n)
format step/range values as used by the input into compatible to the way they are
presented.
|
java.lang.String |
getType()
get the type tag to emit for
the corresponding html5 type.
|
protected java.lang.Double |
normalise(java.lang.Double val)
Extension point to normalise a value after a parse
|
convert, getString, parseValuegetMax, getMin, getStep, 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 PercentInput()
public PercentInput(boolean integer_only)
public java.lang.String formatRange(java.lang.Double n)
BoundedInputformatRange in interface BoundedInput<java.lang.Double>formatRange in class NumberInput<java.lang.Double>public java.lang.String getType()
HTML5InputgetType in interface HTML5InputgetType in class NumberInput<java.lang.Double>protected java.lang.Double normalise(java.lang.Double val)
DoubleInputnormalise in class DoubleInput