public static class Field.Password extends Field.Text
Field.BeanTableField, Field.CheckBox, Field.Date, Field.Double, Field.EnumCombo, Field.Int, Field.Password, Field.Text, Field.TextArea, Field.TextCombo
tf
label, listenerList, name, popupMenu, previousValue, storeData, validValue
Constructor and Description |
---|
Password(java.lang.String name,
java.lang.String label,
java.lang.String defValue,
PersistenceManager storeData)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
char[] |
getPassword()
Return the current value as char array
|
_validate, getEditComponent, getEditValue, getStoreValue, getText, isEditable, normalize, setEditable, setEditValue, setStoreValue, setText
accept, acceptIfDifferent, addPopupMenuAction, addPropertyChangeListener, addStandardPopups, addValidator, dfrac, finish, getDeepEditComponent, getLabel, getName, getPersistenceManager, getToolTipText, getValue, isEnabled, next, removePropertyChangeListener, restoreValue, sendEvent, setEnabled, setNewValueFromStore, setToolTipText, setValue, validate
public Password(java.lang.String name, java.lang.String label, java.lang.String defValue, PersistenceManager storeData)
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.PrefPanel.addPasswordField(java.lang.String, java.lang.String, java.lang.String)