public class TextAreaEditor extends PropertyEditorSupport implements FocusListener, PropertyChangeListener
| Constructor and Description |
|---|
TextAreaEditor() |
TextAreaEditor(Object source) |
TextAreaEditor(PropertyDescriptor descriptor)
Construct a
TextAreaEditor using the properties of a given
PropertyDescriptor |
| Modifier and Type | Method and Description |
|---|---|
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
String |
getAsText() |
Component |
getCustomEditor() |
Object |
getValue() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
setAsText(String text) |
void |
setValue(Object value) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSourcepublic TextAreaEditor()
public TextAreaEditor(Object source)
source - the source used for event firingpublic TextAreaEditor(PropertyDescriptor descriptor)
TextAreaEditor using the properties of a given
PropertyDescriptordescriptor - to be used for the editor. Must not be nullpublic void focusGained(FocusEvent e)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupportpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic void setValue(Object value)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportpublic Object getValue()
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.