public class PasswordField extends Textfield
ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, parent, parentElem, READONLY, root, viewMode
LABELLEDBY
Constructor and Description |
---|
PasswordField()
Constructs a new empty password field.
|
PasswordField(String name)
Constructs a password field with a name.
|
PasswordField(String name,
int size) |
PasswordField(String name,
String value)
Constructs a password field with a name and a value.
|
PasswordField(String name,
String value,
int size,
int length)
Constructs a password field with name, value, size, and length.
|
PasswordField(String name,
String value,
String styleClass)
Constructs a password field with a name, value, and style.
|
getContent, getMaxlength, getSize, getValue, setContent, setMaxlength, setSize, setValue
addClass, clone, create, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, removeClass, setActionListener, setAttribute, setBrowserMode, setClass, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toggleClass, toString
public PasswordField()
public PasswordField(String name)
name
- - the name of the fieldpublic PasswordField(String name, int size)
public PasswordField(String name, String value)
name
- the name of the fieldvalue
- the initial valuepublic PasswordField(String name, String value, String styleClass)
name
- the name and id of the fieldvalue
- the initial valuestyleClass
- the name of a CSS classpublic PasswordField(String name, String value, int size, int length)
name
- the name and id of the fieldvalue
- the initial valuesize
- the size of the PasswordFieldlength
- the maximal length of the text in the PasswordField@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.