Package docking.options.editor
Class DateEditor
java.lang.Object
java.beans.PropertyEditorSupport
docking.options.editor.DateEditor
- All Implemented Interfaces:
PropertyEditor
Non-editable Editor for date and time; creates a text field for the string version of the date.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()voidvoidsetDateFormat(DateFormat format) voidbooleanMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
-
Field Details
-
DEFAULT_DATE_FORMAT
-
-
Constructor Details
-
DateEditor
public DateEditor()
-
-
Method Details
-
setDateFormat
-
format
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
getValue
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
setValue
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-