org.xhtmlrenderer.simple.xhtml.controls
Class TextControl

java.lang.Object
  extended by org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
      extended by org.xhtmlrenderer.simple.xhtml.controls.TextControl
All Implemented Interfaces:
FormControl

public class TextControl
extends AbstractControl


Field Summary
static int DEFAULT_ROWS
           
static int DEFAULT_SIZE
           
 
Constructor Summary
TextControl(XhtmlForm form, Element e)
           
 
Method Summary
 int getMaxLength()
           
 int getRows()
           
 int getSize()
           
 boolean isMultiLine()
           
 boolean isPassword()
           
 boolean isReadOnly()
           
 
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
 

Field Detail

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
Constructor Detail

TextControl

public TextControl(XhtmlForm form,
                   Element e)
Method Detail

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.