public class DateField extends AbstractField
changeSupportPROP_VALUE| Constructor and Description |
|---|
DateField(FormToolkit toolkit,
Composite parent,
IFormFieldData model) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Store the field value in the model.
|
Control |
createControl(FormToolkit toolkit,
Composite parent)
Create the edition control.
|
void |
refresh()
Refresh the value displayed by the field.
|
addPropertyChangeListener, fireValueChanged, getComposite, getControl, getHelpText, getLabel, getModel, getValidationError, isVertical, layout, removePropertyChangeListener, setEditable, setHelpText, setModel, setVerticalpublic DateField(FormToolkit toolkit,
Composite parent,
IFormFieldData model)
public void apply()
IFieldMay throw a runtime exception if the field value is not valid.
apply in interface IFieldapply in class AbstractFieldpublic Control createControl(FormToolkit toolkit,
Composite parent)
createControl in class AbstractFieldtoolkit - the FormToolkitparent - the parent compositepublic void refresh()
The field will typically query its IFormFieldData model and refresh its contents.