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