org.kuali.student.common.util.spring
Class SimpleEnumPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.kuali.student.common.util.spring.SimpleEnumPropertyEditor
All Implemented Interfaces:
PropertyEditor

public class SimpleEnumPropertyEditor
extends PropertyEditorSupport


Constructor Summary
SimpleEnumPropertyEditor(Class<? extends Enum<?>> enumClass)
           
 
Method Summary
 void setAsText(String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, 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

SimpleEnumPropertyEditor

public SimpleEnumPropertyEditor(Class<? extends Enum<?>> enumClass)
Method Detail

setAsText

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


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