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
ConstructorsConstructorDescriptionTextAreaEditor(PropertyDescriptor descriptor) Construct aTextAreaEditorusing the properties of a givenPropertyDescriptorTextAreaEditor(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 aTextAreaEditorusing the properties of a givenPropertyDescriptor- Parameters:
descriptor- to be used for the editor. Must not benull
-
-
Method Details
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
setValue
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
getValue
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-