PropertyEditor, Converterpublic class DateEditor extends AbstractConverter
| Constructor | Description |
|---|---|
DateEditor() |
| Modifier and Type | Method | Description |
|---|---|---|
protected Object |
toObjectImpl(String text) |
Convert the text value of the property into a Date object instance.
|
protected String |
toStringImpl(Object value) |
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditoraddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorprotected Object toObjectImpl(String text)
toObjectImpl in class AbstractConvertertext - the text to convertPropertyEditorException - Unable to parse the string value into a Date.protected String toStringImpl(Object value)
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typeCopyright © 2005–2018. All rights reserved.