public class StringEditor extends PropertyEditorSupport implements ExPropertyEditor
PROP_VALUE_VALID, PROPERTY_HELP_ID
Constructor and Description |
---|
StringEditor() |
Modifier and Type | Method and Description |
---|---|
void |
attachEnv(PropertyEnv env) |
String |
getAsText() |
Component |
getCustomEditor() |
String |
getJavaInitializationString() |
boolean |
isEditable()
gets information if the text in editor should be editable or not
|
void |
setAsText(String s)
sets new value
|
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue
public boolean isEditable()
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String s)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
public 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
public void attachEnv(PropertyEnv env)
attachEnv
in interface ExPropertyEditor