org.xhtmlrenderer.simple.xhtml.controls
Class TextControl
java.lang.Object
org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
org.xhtmlrenderer.simple.xhtml.controls.TextControl
- All Implemented Interfaces:
- FormControl
public class TextControl
- extends AbstractControl
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SIZE
public static final int DEFAULT_SIZE
- See Also:
- Constant Field Values
DEFAULT_ROWS
public static final int DEFAULT_ROWS
- See Also:
- Constant Field Values
TextControl
public TextControl(XhtmlForm form,
Element e)
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
Copyright © 2013. All Rights Reserved.