com.basistech.util
Class ISO15924Editor
java.lang.Object
java.beans.PropertyEditorSupport
com.basistech.util.ISO15924Editor
- All Implemented Interfaces:
- PropertyEditor
public class ISO15924Editor
- extends PropertyEditorSupport
This class provides notational convenience for users of the Spring
IoC container, or any other facility that participates in the
java.beans property editor discipline. JavaBeans automatically
discovers PropertyEditor classes if they are in the same package as
the class they handle, and have the same name but with an 'Editor'
suffix.
This class turns a String value into a valid value for a property
of type ISO15924
. The string is converted via the function
ISO15924.lookupByCode4(java.lang.String)
.
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
ISO15924Editor
public ISO15924Editor()
setAsText
public void setAsText(String text)
throws IllegalArgumentException
-
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.