Package org.apache.jmeter.testbeans.gui
Class PasswordEditor
-
- All Implemented Interfaces:
-
java.awt.event.ActionListener
,java.awt.event.FocusListener
,java.beans.PropertyEditor
,java.util.EventListener
public class PasswordEditor extends PropertyEditorSupport implements ActionListener, FocusListener
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.
-
-
Method Summary
Modifier and Type Method Description String
getAsText()
void
setAsText(String value)
Object
getValue()
void
setValue(Object value)
Component
getCustomEditor()
boolean
supportsCustomEditor()
void
firePropertyChange()
Avoid needlessly firing PropertyChanged events. void
actionPerformed(ActionEvent e)
void
focusGained(FocusEvent e)
void
focusLost(FocusEvent e)
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCustomEditor
Component getCustomEditor()
-
supportsCustomEditor
boolean supportsCustomEditor()
-
firePropertyChange
void firePropertyChange()
Avoid needlessly firing PropertyChanged events.
-
actionPerformed
void actionPerformed(ActionEvent e)
-
focusGained
void focusGained(FocusEvent e)
-
focusLost
void focusLost(FocusEvent e)
-
-
-
-