webwork.util.editor
Class DateEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended bywebwork.action.ValidationEditorSupport
          extended bywebwork.util.editor.DateEditor
All Implemented Interfaces:
FastPropertyEditor, java.beans.PropertyEditor
Direct Known Subclasses:
TimestampEditor

public class DateEditor
extends ValidationEditorSupport
implements FastPropertyEditor

Version:
$Revision: 1.6 $
Author:
Matt Baldree (matt@smallleap.com)
See Also:
PropertyEditorSupport, ValidationEditorSupport, FastPropertyEditor, PropertyEditorException

Field Summary
 
Fields inherited from class webwork.action.ValidationEditorSupport
value
 
Constructor Summary
DateEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 java.lang.String getAsText(java.lang.Object val)
          This method is specified in the FastPropertyEditor interface and it is implemented here for convenience
 java.lang.Object getAsValue(java.lang.String txt)
           
 void setAsText(java.lang.String txt)
           
 
Methods inherited from class webwork.action.ValidationEditorSupport
getValue, setValue
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateEditor

public DateEditor()
Method Detail

setAsText

public void setAsText(java.lang.String txt)
Specified by:
setAsText in interface java.beans.PropertyEditor
Specified by:
setAsText in class ValidationEditorSupport

getAsValue

public java.lang.Object getAsValue(java.lang.String txt)
Specified by:
getAsValue in interface FastPropertyEditor

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class ValidationEditorSupport

getAsText

public java.lang.String getAsText(java.lang.Object val)
Description copied from class: ValidationEditorSupport
This method is specified in the FastPropertyEditor interface and it is implemented here for convenience

Specified by:
getAsText in interface FastPropertyEditor
Overrides:
getAsText in class ValidationEditorSupport


Copyright © 2001-2003 WebWork All Rights Reserved.