org.kuali.rice.krad.web.bind
Class UifKnsFormatterPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.kuali.rice.krad.web.bind.UifKnsFormatterPropertyEditor
All Implemented Interfaces:
PropertyEditor

public class UifKnsFormatterPropertyEditor
extends PropertyEditorSupport

Used to convert KNS style Formatter classes to Property Editors that can be used by Spring

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
(package private)  Formatter formatter
           
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
UifKnsFormatterPropertyEditor(Class<? extends Formatter> formatterClass)
          This constructs a ...
 
Method Summary
 String getAsText()
           
 void setAsText(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
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG

formatter

Formatter formatter
Constructor Detail

UifKnsFormatterPropertyEditor

public UifKnsFormatterPropertyEditor(Class<? extends Formatter> formatterClass)
This constructs a ...

Parameters:
formatter -
Method Detail

getAsText

public String getAsText()
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport

setAsText

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


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.