Class MaxSizable

Direct Known Subclasses:
Password, Text

public abstract class MaxSizable extends AbstractText
Represents an HTML field that accepts a 'maxlength' html attribute
  • Method Details

    • setSize

      public MaxSizable setSize(int size)
      Specifies the size of this text box. This value (if set) is rendered as the html SIZE tag.
      Returns:
      this object for method chaining convenience
    • setMaxSize

      public MaxSizable setMaxSize(int maxlen)
      Specifies the maximum number of characters a text box can accept. This value (if set) is rendered as the html MAXLENGTH tag.
      Returns:
      this object for method chaining convenience