public class StaticFactoryConverter extends AbstractConverter
Constructor and Description |
---|
StaticFactoryConverter(Class type,
Method method) |
Modifier and Type | Method and Description |
---|---|
static StaticFactoryConverter |
editor(Class type) |
protected Object |
toObjectImpl(String text)
Converts the supplied text in to an instance of the editor type.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString, toStringImpl
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
protected Object toObjectImpl(String text)
AbstractConverter
toObjectImpl
in class AbstractConverter
text
- the text to convertpublic static StaticFactoryConverter editor(Class type)
Copyright © 2005–2019. All rights reserved.