public class ConstructorConverter extends AbstractConverter
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Constructor |
constructor |
Constructor and Description |
---|
ConstructorConverter(java.lang.Class type,
java.lang.reflect.Constructor constructor) |
Modifier and Type | Method and Description |
---|---|
static ConstructorConverter |
editor(java.lang.Class type) |
protected java.lang.Object |
toObjectImpl(java.lang.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
public ConstructorConverter(java.lang.Class type, java.lang.reflect.Constructor constructor)
protected java.lang.Object toObjectImpl(java.lang.String text)
AbstractConverter
toObjectImpl
in class AbstractConverter
text
- the text to convertpublic static ConstructorConverter editor(java.lang.Class type)