Class TextControl
java.lang.Object
org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
org.xhtmlrenderer.simple.xhtml.controls.TextControl
- All Implemented Interfaces:
FormControl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final boolean
private final boolean
private final boolean
private final int
private final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
addFormControlListener, collectText, fireChanged, fireEnabled, fireSuccessful, getElement, getForm, getInitialValue, getIntAttribute, getMultipleValues, getName, getValue, isEnabled, isHidden, isMultiple, isSuccessful, removeFormControlListener, reset, setEnabled, setInitialValue, setMultipleValues, setSuccessful, setValue
-
Field Details
-
DEFAULT_SIZE
public static final int DEFAULT_SIZE- See Also:
-
DEFAULT_ROWS
public static final int DEFAULT_ROWS- See Also:
-
_password
private final boolean _password -
_readonly
private final boolean _readonly -
_multiline
private final boolean _multiline -
_size
private final int _size -
_rows
private final int _rows -
_maxlength
private final int _maxlength
-
-
Constructor Details
-
TextControl
-
-
Method Details
-
isMultiLine
public boolean isMultiLine() -
isPassword
public boolean isPassword() -
isReadOnly
public boolean isReadOnly() -
getSize
public int getSize() -
getRows
public int getRows() -
getMaxLength
public int getMaxLength()- Returns:
- the maximum length or
-1
if not defined
-