webwork.examples.bank
Class AmountEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended bywebwork.action.ValidationEditorSupport
          extended bywebwork.examples.bank.AmountEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class AmountEditor
extends ValidationEditorSupport

This code is an adaptation of the Struts example from the JavaWorld article by Thor Kristmundsson. http://www.javaworld.com/javaworld/jw-12-2000/jw-1201-struts_p.html


Field Summary
 
Fields inherited from class webwork.action.ValidationEditorSupport
value
 
Constructor Summary
AmountEditor()
           
 
Method Summary
 void setAsText(java.lang.String txt)
           
 
Methods inherited from class webwork.action.ValidationEditorSupport
getAsText, getAsText, 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

AmountEditor

public AmountEditor()
Method Detail

setAsText

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


Copyright © 2001-2003 WebWork All Rights Reserved.