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.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String value)
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
public java.lang.Object getValue()
getValue
in interface java.beans.PropertyEditor
getValue
in class java.beans.PropertyEditorSupport
public void setValue(java.lang.Object value)
setValue
in interface java.beans.PropertyEditor
setValue
in class java.beans.PropertyEditorSupport
public java.awt.Component getCustomEditor()
getCustomEditor
in interface java.beans.PropertyEditor
getCustomEditor
in class java.beans.PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface java.beans.PropertyEditor
supportsCustomEditor
in class java.beans.PropertyEditorSupport
public void firePropertyChange()
firePropertyChange
in class java.beans.PropertyEditorSupport
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.