webwork.examples.bank
Class NameEditor

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

public class NameEditor
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
NameEditor()
           
 
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

NameEditor

public NameEditor()
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.