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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Avoid needlessly firing PropertyChanged events.void
void
getValue()
void
void
boolean
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
-
Constructor Details
-
PasswordEditor
protected PasswordEditor()
-
-
Method Details
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
-
getValue
- Specified by:
getValue
in interfacePropertyEditor
- Overrides:
getValue
in classPropertyEditorSupport
-
setValue
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditor
in interfacePropertyEditor
- Overrides:
getCustomEditor
in classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
-
firePropertyChange
public void firePropertyChange()Avoid needlessly firing PropertyChanged events.- Overrides:
firePropertyChange
in classPropertyEditorSupport
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-