public final class Text extends MaxSizable
Field.Type
Constructor and Description |
---|
Text(String name)
Creates a new text element with a initial value of "".
|
Text(String name,
String value)
Creates a new text 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 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