Package fileLogic.editors
Class DateEditor
java.lang.Object
fileLogic.editors.DateEditor
- All Implemented Interfaces:
PropertyEditor
Example of editor, that uses in fileLogic to convert String into object.
You should register your editor class in Loader by using their static method.
- Since:
- 1.0
- See Also:
-
Constructor Details
-
DateEditor
public DateEditor()Default constructor
-
-
Method Details
-
setValue
- Specified by:
setValuein interfacePropertyEditor
-
getValue
- Specified by:
getValuein interfacePropertyEditor
-
isPaintable
public boolean isPaintable()- Specified by:
isPaintablein interfacePropertyEditor
-
paintValue
- Specified by:
paintValuein interfacePropertyEditor
-
getJavaInitializationString
- Specified by:
getJavaInitializationStringin interfacePropertyEditor
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Throws:
IllegalArgumentException
-
getTags
- Specified by:
getTagsin interfacePropertyEditor
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfacePropertyEditor
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfacePropertyEditor
-