public class PasswordEditor
extends java.beans.PropertyEditorSupport
implements java.awt.event.ActionListener, java.awt.event.FocusListener
The provided GUI is a simple password field.
| Modifier | Constructor and Description |
|---|---|
protected |
PasswordEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
firePropertyChange()
Avoid needlessly firing PropertyChanged events.
|
void |
focusGained(java.awt.event.FocusEvent e) |
void |
focusLost(java.awt.event.FocusEvent e) |
java.lang.String |
getAsText() |
java.awt.Component |
getCustomEditor() |
java.lang.Object |
getValue() |
void |
setAsText(java.lang.String value) |
void |
setValue(java.lang.Object value) |
boolean |
supportsCustomEditor() |
public java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String value)
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportpublic java.lang.Object getValue()
getValue in interface java.beans.PropertyEditorgetValue in class java.beans.PropertyEditorSupportpublic void setValue(java.lang.Object value)
setValue in interface java.beans.PropertyEditorsetValue in class java.beans.PropertyEditorSupportpublic java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorgetCustomEditor in class java.beans.PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorsupportsCustomEditor in class java.beans.PropertyEditorSupportpublic void firePropertyChange()
firePropertyChange in class java.beans.PropertyEditorSupportpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void focusGained(java.awt.event.FocusEvent e)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.