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
Constructors Constructor Description TextAreaEditor()TextAreaEditor(PropertyDescriptor descriptor)Construct aTextAreaEditorusing the properties of a givenPropertyDescriptorTextAreaEditor(Object source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfocusGained(FocusEvent e)voidfocusLost(FocusEvent e)StringgetAsText()ComponentgetCustomEditor()ObjectgetValue()voidpropertyChange(PropertyChangeEvent evt)voidsetAsText(String text)voidsetValue(Object value)booleansupportsCustomEditor()-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
-
-
-
-
Constructor Detail
-
TextAreaEditor
public TextAreaEditor()
-
TextAreaEditor
public TextAreaEditor(Object source)
- Parameters:
source- the source used for event firing
-
TextAreaEditor
public TextAreaEditor(PropertyDescriptor descriptor)
Construct aTextAreaEditorusing the properties of a givenPropertyDescriptor- Parameters:
descriptor- to be used for the editor. Must not benull
-
-
Method Detail
-
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLostin interfaceFocusListener
-
getAsText
public String getAsText()
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
setValue
public void setValue(Object value)
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
getValue
public Object getValue()
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacePropertyChangeListener
-
-