Package ucar.ui.prefs
Class Field.Password
- java.lang.Object
-
- ucar.ui.prefs.Field
-
- ucar.ui.prefs.Field.Text
-
- ucar.ui.prefs.Field.Password
-
- Enclosing class:
- Field
public static class Field.Password extends Field.Text
A text input field which doesnt echo the input, for passwords.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ucar.ui.prefs.Field
Field.BeanTableField, Field.CheckBox, Field.Date, Field.Double, Field.EnumCombo, Field.Int, Field.Password, Field.Text, Field.TextArea, Field.TextCombo
-
-
Field Summary
-
Fields inherited from class ucar.ui.prefs.Field.Text
tf
-
Fields inherited from class ucar.ui.prefs.Field
label, listenerList, name, popupMenu, previousValue, storeData, validValue
-
-
Constructor Summary
Constructors Constructor Description Password(String name, String label, String defValue, PersistenceManager storeData)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
getPassword()
Return the current value as char array-
Methods inherited from class ucar.ui.prefs.Field.Text
_validate, getEditComponent, getEditValue, getStoreValue, getText, isEditable, normalize, setEditable, setEditValue, setStoreValue, setText
-
Methods inherited from class ucar.ui.prefs.Field
accept, acceptIfDifferent, addPopupMenuAction, addPropertyChangeListener, addStandardPopups, addValidator, dfrac, finish, getDeepEditComponent, getLabel, getName, getPersistenceManager, getToolTipText, getValue, isEnabled, next, removePropertyChangeListener, restoreValue, sendEvent, setEnabled, setNewValueFromStore, setToolTipText, setValue, validate
-
-
-
-
Constructor Detail
-
Password
public Password(String name, String label, String defValue, PersistenceManager storeData)
Constructor.- Parameters:
name
- of the field; must be unique within the storelabel
- to display to the userdefValue
- defau;lt value to start with.storeData
- store/fetch data from here, may be null.- See Also:
PrefPanel.addPasswordField(java.lang.String, java.lang.String, java.lang.String)
-
-