public class CalendarFieldInput extends IntegerSetInput
IntegerSetInput.IntegerSetValidator
nf
validators
Constructor and Description |
---|
CalendarFieldInput() |
CalendarFieldInput(int finest_field)
Constructor limiting the finest resolution field presented.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText(java.lang.Integer item)
get the user presented text from the domain object
may return null if not selected
|
void |
parse(java.lang.String v)
Set the value of the input by parsing a textual representation of the
input.
|
accept, getCount, getItem, getItembyValue, getItems, getTagByItem, getTagByValue, isValid, setItem
convert, getString, parseValue
formatRange, getMax, getMin, getStep, getType, getUnit, setMax, setMin, setNumberFormat, setStep, setUnit
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
addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validate
getString
public CalendarFieldInput()
public CalendarFieldInput(int finest_field)
finest_field
- public java.lang.String getText(java.lang.Integer item)
ListInput
getText
in interface ListInput<java.lang.Integer,java.lang.Integer>
getText
in class IntegerSetInput
public void parse(java.lang.String v) throws ParseException
ParseInput
ParseInput.parseValue(String)
and Input.setValue(Object)
but it can be overridden for example if the natural parse mechanism generates an Item
in an item input.ParseException