C
- type of the implementing JComponent
public interface DateFormularComponent<C extends JComponent> extends FormularComponent<C>
FormularComponent
which can edit and display dates.FormularComponent.ValueChangeListener
DATA_FIELD_SEPARATOR
Modifier and Type | Method and Description |
---|---|
XdevDate |
getDate()
Returns the value of this
DateFormularComponent as
XdevDate . |
XdevDate |
getDate(XdevDate defaultValue)
Returns the value of this
DateFormularComponent as
XdevDate . |
void |
setDate(XdevDate date)
Sets the date of this
DateFormularComponent . |
addValidator, addValueChangeListener, getClientProperty, getDataField, getFilterOperator, getFormularName, getFormularValue, getValidators, hasStateChanged, isEnabled, isMultiSelect, isReadOnly, isVisible, putClientProperty, removeValidator, restoreState, saveState, setDataField, setFilterOperator, setFormularValue, setFormularValue, setReadOnly, validateState, validateState, verify
XdevDate getDate() throws DateFormatException
DateFormularComponent
as
XdevDate
.DateFormularComponent
as
XdevDate
.DateFormatException
- if the value of this DateFormularComponent
can not be
converted.getDate(XdevDate)
,
TextFormat.parseDate(String)
XdevDate getDate(XdevDate defaultValue)
DateFormularComponent
as
XdevDate
. If the internal value can not be converted into a
XdevDate
, the defaultValue
is returned.defaultValue
- the default XdevDate
DateFormularComponent
. If the internal
value can not be converted into a XdevDate
, the
defaultValue
is returned.getDate()
void setDate(XdevDate date)
DateFormularComponent
.date
- the new dateCopyright © 2003–2021 XDEV Software. All rights reserved.