org.apache.jmeter.testbeans.gui

Class PasswordEditor

Implemented Interfaces:
ActionListener, FocusListener

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.

Constructor Summary

PasswordEditor()

Method Summary

void
actionPerformed(ActionEvent e)
void
firePropertyChange()
void
focusGained(FocusEvent e)
void
focusLost(FocusEvent e)
String
getAsText()
Component
getCustomEditor()
Object
getValue()
void
setAsText(String value)
void
setValue(Object value)
boolean
supportsCustomEditor()

Constructor Details

PasswordEditor

protected PasswordEditor()

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)

firePropertyChange

public void firePropertyChange()

focusGained

public void focusGained(FocusEvent e)

focusLost

public void focusLost(FocusEvent e)

getAsText

public String getAsText()

getCustomEditor

public Component getCustomEditor()

getValue

public Object getValue()

setAsText

public void setAsText(String value)

setValue

public void setValue(Object value)

supportsCustomEditor

public boolean supportsCustomEditor()

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.