Package org.apache.jmeter.testbeans.gui
Class PasswordEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.jmeter.testbeans.gui.PasswordEditor
- All Implemented Interfaces:
ActionListener,FocusListener,PropertyEditor,EventListener
This class implements a property editor for non-null String properties that
supports custom editing (i.e.: provides a GUI component) based on a text
field.
The provided GUI is a simple password field.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidAvoid needlessly firing PropertyChanged events.voidvoidgetValue()voidvoidbooleanMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
-
Constructor Details
-
PasswordEditor
protected PasswordEditor()
-
-
Method Details
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport
-
getValue
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
setValue
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
firePropertyChange
public void firePropertyChange()Avoid needlessly firing PropertyChanged events.- Overrides:
firePropertyChangein classPropertyEditorSupport
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-