net.sf.springlayout.web.controller.propertyeditor
Class UpperCaseStringPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by net.sf.springlayout.web.controller.propertyeditor.UpperCaseStringPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class UpperCaseStringPropertyEditor
extends java.beans.PropertyEditorSupport

A generic PropertyEditor to Upper Case a string.

Author:
tomlinm

Constructor Summary
UpperCaseStringPropertyEditor()
           
 
Method Summary
 java.lang.String getAsText()
          Format the String
 void setAsText(java.lang.String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpperCaseStringPropertyEditor

public UpperCaseStringPropertyEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Format the String

Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException


Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.