public class ClassEditor extends AbstractConverter
Constructor and Description |
---|
ClassEditor() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
toObjectImpl(java.lang.String text)
Return a resolved class using the text value of the property as the name.
|
protected java.lang.String |
toStringImpl(java.lang.Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
protected java.lang.Object toObjectImpl(java.lang.String text)
toObjectImpl
in class AbstractConverter
text
- the text to convertPropertyEditorException
- Unable to resolve the Class object from the name.protected java.lang.String toStringImpl(java.lang.Object value)
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor type