gui.componentEditor.propertyeditor
Class DateEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by gui.componentEditor.propertyeditor.TextPropertyEditorSupport
          extended by gui.componentEditor.propertyeditor.DateEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class DateEditor
extends TextPropertyEditorSupport

A property editor for Date typed properties.

Version:
$Rev: 356022 $

Constructor Summary
DateEditor()
           
 
Method Summary
 java.lang.Object getValue()
          Convert the text value of the property into a Date object instance.
 
Methods inherited from class gui.componentEditor.propertyeditor.TextPropertyEditorSupport
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateEditor

public DateEditor()
Method Detail

getValue

public java.lang.Object getValue()
Convert the text value of the property into a Date object instance.

Specified by:
getValue in interface java.beans.PropertyEditor
Overrides:
getValue in class java.beans.PropertyEditorSupport
Returns:
a Date object constructed from the property text value.
Throws:
PropertyEditorException - Unable to parse the string value into a Date.