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