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, setSize
getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getShortValue, getStringValue, getValue, isFilled, reset, setValue, setValue, setValueFromSubmit, toString, trimValues
add, addError, addLabel, addString, disable, disable, enable, enable, getLabel, getName, getValidateErrors, isEnabled, render, render, render, renderError, renderError, renderStyleTag, setStyleTag, validate
public Password(String name)
public Field.Type getType()
Field
Field.Type
. This type
is rendered as part of <input type= ...public void renderImpl(FormData fd, Writer writer) throws IOException
renderImpl
in class Field
IOException