org.apache.jmeter.testbeans.gui
Class PasswordEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.jmeter.testbeans.gui.PasswordEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.FocusListener, java.beans.PropertyEditor, java.util.EventListener
public class PasswordEditor
- extends java.beans.PropertyEditorSupport
- implements java.awt.event.ActionListener, java.awt.event.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.
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordEditor
protected PasswordEditor()
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interface java.beans.PropertyEditor
- Overrides:
getAsText
in class java.beans.PropertyEditorSupport
setAsText
public void setAsText(java.lang.String value)
- Specified by:
setAsText
in interface java.beans.PropertyEditor
- Overrides:
setAsText
in class java.beans.PropertyEditorSupport
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface java.beans.PropertyEditor
- Overrides:
getValue
in class java.beans.PropertyEditorSupport
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interface java.beans.PropertyEditor
- Overrides:
setValue
in class java.beans.PropertyEditorSupport
getCustomEditor
public java.awt.Component getCustomEditor()
- Specified by:
getCustomEditor
in interface java.beans.PropertyEditor
- Overrides:
getCustomEditor
in class java.beans.PropertyEditorSupport
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interface java.beans.PropertyEditor
- Overrides:
supportsCustomEditor
in class java.beans.PropertyEditorSupport
firePropertyChange
public void firePropertyChange()
- Overrides:
firePropertyChange
in class java.beans.PropertyEditorSupport
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGained
in interface java.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLost
in interface java.awt.event.FocusListener
Copyright © 1998-2009 Apache Software Foundation. All Rights Reserved.