org.shept.org.springframework.beans
public class CustomCalendarEditor extends PropertyEditorSupport
| Modifier and Type | Field and Description |
|---|---|
private boolean |
allowEmpty |
private DateFormat |
dateFormat |
| Constructor and Description |
|---|
CustomCalendarEditor(DateFormat dateFormat,
boolean allowEmpty) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorprivate DateFormat dateFormat
private boolean allowEmpty
public CustomCalendarEditor(DateFormat dateFormat, boolean allowEmpty)
public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionCopyright © 2014. All Rights Reserved.