public class IntegerInput extends NumberInput<java.lang.Integer>
nf
validators
Constructor and Description |
---|
IntegerInput() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
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.Integer i)
get a String representation of an Object that is compatible with the way
the input is parsed
|
java.lang.Integer |
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, setUnit
accept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSingle
getValue, setKey, setValue
addValidator, getKey, getPrettyString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, addValidator, getKey, getPrettyString, getValue, isEmpty, removeValidator, setKey, setValue, validate
getString, parse
public java.lang.String getString(java.lang.Integer i)
BaseInput
getString
in interface Input<java.lang.Integer>
getString
in class NumberInput<java.lang.Integer>
ParseInput
public java.lang.Integer parseValue(java.lang.String v) throws ParseException
ParseInput
Input.getString(Object)
method.ParseException