public class CalendarFieldInput extends IntegerSetInput
IntegerSetInput.IntegerSetValidatornfvalidators| 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, setItemconvert, getString, parseValueformatRange, getMax, getMin, getStep, getType, getUnit, setMax, setMin, setNumberFormat, setStep, setUnitgetBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSinglegetValue, setKey, setValueaddValidator, getKey, getPrettyString, getString, removeValidator, validate, validateInnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validategetStringpublic CalendarFieldInput()
public CalendarFieldInput(int finest_field)
finest_field - public java.lang.String getText(java.lang.Integer item)
ListInputgetText in interface ListInput<java.lang.Integer,java.lang.Integer>getText in class IntegerSetInputpublic void parse(java.lang.String v)
throws ParseException
ParseInputParseInput.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