Interface InputBuilder

    • Method Detail

      • accept

        InputBuilder accept​(java.lang.String accept)
        A comma-separated list of content types that a server processing this form will handle correctly.
        See Also:
        W3C HTML Specification
      • checked

        InputBuilder checked()
        Set the state of the form control to true when type attribute of the element has the value "radio" or "checkbox".
      • defaultChecked

        InputBuilder defaultChecked()
        Set the default state of the form control to true when type attribute of the element has the value "radio" or "checkbox".
        See Also:
        W3C HTML Specification
      • defaultValue

        InputBuilder defaultValue​(java.lang.String defaultValue)
        When the type attribute of the element has the value "text", "file" or "password", this represents the HTML value attribute of the element. The value of this attribute does not change if the contents of the corresponding form control, in an interactive user agent, changes.
        See Also:
        W3C HTML Specification
      • maxLength

        InputBuilder maxLength​(int maxLength)
        Maximum number of characters for text fields, when type has the value "text" or "password".
        See Also:
        W3C HTML Specification
      • src

        InputBuilder src​(java.lang.String src)
        When the type attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button.
        See Also:
        W3C HTML Specification
      • value

        InputBuilder value​(java.lang.String value)
        When the type attribute of the element has the value "text", "file" or "password", this represents the current contents of the corresponding form control, in an interactive user agent. Changing this attribute changes the contents of the form control, but does not change the value of the HTML value attribute of the element. When the type attribute of the element has the value "button", "hidden", "submit", "reset", "image", "checkbox" or "radio", this represents the HTML value attribute of the element.
        See Also:
        W3C HTML Specification