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
PropertyDescriptor
descriptor
- to be used for the editor. Must not be null
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public java.awt.Component getCustomEditor()
getCustomEditor
in interface java.beans.PropertyEditor
getCustomEditor
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public void setValue(java.lang.Object value)
setValue
in interface java.beans.PropertyEditor
setValue
in class java.beans.PropertyEditorSupport
public java.lang.Object getValue()
getValue
in interface java.beans.PropertyEditor
getValue
in class java.beans.PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface java.beans.PropertyEditor
supportsCustomEditor
in class java.beans.PropertyEditorSupport
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.