org.shept.org.springframework.beans
Class CustomCalendarEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.shept.org.springframework.beans.CustomCalendarEditor
- All Implemented Interfaces:
- PropertyEditor
public class CustomCalendarEditor
- extends PropertyEditorSupport
- Version:
- $$Id: CustomCalendarEditor.java 34 2010-08-20 16:46:49Z aha $$
- Author:
- Andi
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dateFormat
private DateFormat dateFormat
allowEmpty
private boolean allowEmpty
CustomCalendarEditor
public CustomCalendarEditor(DateFormat dateFormat,
boolean allowEmpty)
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor- Overrides:
getAsText in class PropertyEditorSupport
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText in interface PropertyEditor- Overrides:
setAsText in class PropertyEditorSupport
- Throws:
IllegalArgumentException
Copyright © 2011. All Rights Reserved.