DatePickerBean
Class DateEditor
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--DatePickerBean.DateEditor
- All Implemented Interfaces:
- DatePickerListener, java.beans.PropertyEditor
- public class DateEditor
- extends java.beans.PropertyEditorSupport
- implements DatePickerListener
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getTags, removePropertyChangeListener, setAsText |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateEditor
public DateEditor()
setValue
public void setValue(java.lang.Object ob)
- Overrides:
setValue
in class java.beans.PropertyEditorSupport
getValue
public java.lang.Object getValue()
- Overrides:
getValue
in class java.beans.PropertyEditorSupport
supportsCustomEditor
public boolean supportsCustomEditor()
- Overrides:
supportsCustomEditor
in class java.beans.PropertyEditorSupport
getCustomEditor
public java.awt.Component getCustomEditor()
- Overrides:
getCustomEditor
in class java.beans.PropertyEditorSupport
isPaintable
public boolean isPaintable()
- Overrides:
isPaintable
in class java.beans.PropertyEditorSupport
dateChanged
public void dateChanged(DatePicker ob)
- Description copied from interface:
DatePickerListener
- This method is invoked every time you select a Date from the Calendar or use one of the 'setDate' Methods.
Caution:
Do not use 'setDate' methods of inside this method.
This will be recursively called if you do otherwise.
- Specified by:
dateChanged
in interface DatePickerListener
getJavaInitializationString
public java.lang.String getJavaInitializationString()
- Overrides:
getJavaInitializationString
in class java.beans.PropertyEditorSupport
paintValue
public void paintValue(java.awt.Graphics g,
java.awt.Rectangle clipRect)
- Overrides:
paintValue
in class java.beans.PropertyEditorSupport