Package org.apache.jmeter.testbeans.gui
Class TextAreaEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.jmeter.testbeans.gui.TextAreaEditor
- All Implemented Interfaces:
FocusListener
,PropertyChangeListener
,PropertyEditor
,EventListener
public class TextAreaEditor
extends PropertyEditorSupport
implements FocusListener, PropertyChangeListener
-
Constructor Summary
ConstructorDescriptionTextAreaEditor
(PropertyDescriptor descriptor) Construct aTextAreaEditor
using the properties of a givenPropertyDescriptor
TextAreaEditor
(Object source) -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
-
Constructor Details
-
TextAreaEditor
public TextAreaEditor() -
TextAreaEditor
- Parameters:
source
- the source used for event firing
-
TextAreaEditor
Construct aTextAreaEditor
using the properties of a givenPropertyDescriptor
- Parameters:
descriptor
- to be used for the editor. Must not benull
-
-
Method Details
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditor
in interfacePropertyEditor
- Overrides:
getCustomEditor
in classPropertyEditorSupport
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
-
setValue
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
getValue
- Specified by:
getValue
in interfacePropertyEditor
- Overrides:
getValue
in classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-