public class DataPasswordField extends MustPasswordField implements Storable
additionalTagFragments, className, INSTANCE_NAME_PREFIX, maxlength, size, value
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
DataPasswordField(java.lang.String name,
DataObject assignedDataObject) |
DataPasswordField(java.lang.String name,
int size,
DataObject assignedDataObject) |
DataPasswordField(java.lang.String name,
int size,
int maxlength,
DataObject assignedDataObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
isModified()
Indicates whether the component's value differs from its initial value.
|
void |
loadValue()
Loads the component's database stored value.
|
void |
saveValue()
Stores the component's value.
|
void |
setStorageEncrypted(boolean storageEncrypted)
Sets the flag that password is to be stored encrypted.
|
fetchYourValueFromRequest, getCreationTag, getText, isFilled, isRequirementUnfulfilled, isValid, setAdditionalTagFragments, setClassName, setDefaultAdditionalTagFragments, setDefaultClassName, setRequired, setText
destroy, getName, setComment, setFocus, setPlaceHolder, setToolTipText, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFilled, isRequirementUnfulfilled, isValid, setRequired
destroy, getCreationTag, setComment, setToolTipText
public DataPasswordField(java.lang.String name, DataObject assignedDataObject)
name
- the name of the field to be used for markup parametersassignedDataObject
- the assigned data objectpublic DataPasswordField(java.lang.String name, int size, DataObject assignedDataObject)
name
- the name of the field to be used for markup parameterssize
- rendering relevant size of the text fieldassignedDataObject
- the assigned data objectpublic DataPasswordField(java.lang.String name, int size, int maxlength, DataObject assignedDataObject)
name
- the name of the field to be used for markup parameterssize
- rendering relevant size of the text fieldmaxlength
- input control relevant max length of the text fieldassignedDataObject
- the assigned data objectpublic void setStorageEncrypted(boolean storageEncrypted)
storageEncrypted
- whether password is to be stored encrypted or notpublic void loadValue()
public boolean isModified()
isModified
in interface Storable
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de