public class PropertiesEditor extends PropertyEditorSupport
Constructor and Description |
---|
PropertiesEditor() |
Modifier and Type | Method and Description |
---|---|
String |
getAsText()
Overrides superclass method.
|
Component |
getCustomEditor() |
String |
getJavaInitializationString() |
void |
setAsText(String text)
Overrides superclass method.
|
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
- if null
value
is passes in or some io problem by converting occuredpublic String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport