public final class Password extends MaxSizable
Field.Type| Constructor and Description |
|---|
Password(String name)
Creates a new password element with the initial value set to
an empty string.
|
Password(String name,
String initialValue)
Creates a new password element with the specified initial
value.
|
| Modifier and Type | Method and Description |
|---|---|
Field.Type |
getType()
Subclasses should return an appropriate
Field.Type. |
void |
renderImpl(FormData fd,
Writer writer) |
setMaxSize, setSizegetBooleanValue, getDoubleValue, getFloatValue, getIntValue, getShortValue, getStringValue, getValue, isFilled, reset, setValue, setValue, setValueFromSubmit, toString, trimValuesadd, addError, addLabel, addString, disable, disable, enable, enable, getLabel, getName, getValidateErrors, isEnabled, render, render, render, renderError, renderError, renderStyleTag, setStyleTag, validatepublic Password(String name)
public Field.Type getType()
FieldField.Type. This type
is rendered as part of <input type= ...public void renderImpl(FormData fd, Writer writer) throws IOException
renderImpl in class FieldIOException