T - type of inputpublic interface BoundedInput<T> extends HTML5Input, Input<T>
Input which come from a range.
Normally the Input.convert(Object) method should
be able to parse string values for setting min/max values.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatRange(T n)
format step/range values as used by the input into compatible to the way they are
presented.
|
T |
getMax()
Maximum valid value
null value implies no maximum
|
T |
getMin()
Minimum valid value.
|
T |
setMax(T val)
set the maximum value
|
T |
setMin(T val)
Set the minimum value
|
getTypeaccept, addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validateT getMin()
T getMax()
java.lang.String formatRange(T n)
n -