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
  • 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

  • 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