Class HtmlTextInput

    • Constructor Detail

      • HtmlTextInput

        HtmlTextInput​(java.lang.String qualifiedName,
                      SgmlPage page,
                      java.util.Map<java.lang.String,​DomAttr> attributes)
        Creates an instance.
        Parameters:
        qualifiedName - the qualified name of the element type to instantiate
        page - the page that contains this element
        attributes - the initial attributes
    • Method Detail

      • isSubmittableByEnter

        protected boolean isSubmittableByEnter()
        Returns true if clicking Enter (ASCII 10, or '\n') should submit the enclosed form (if any). The default implementation returns false.
        Overrides:
        isSubmittableByEnter in class HtmlElement
        Returns:
        true if clicking Enter should submit the enclosed form (if any)
      • isPatternSupported

        protected boolean isPatternSupported()
        Returns if the input element supports pattern validation. Refer to the HTML 5 documentation for details.
        Overrides:
        isPatternSupported in class HtmlInput
        Returns:
        if the input element supports pattern validation
      • isMinMaxLengthSupported

        protected boolean isMinMaxLengthSupported()
        Returns if the input element supports maxlength minlength validation. Refer to the HTML 5 documentation for details.
        Overrides:
        isMinMaxLengthSupported in class HtmlInput
        Returns:
        if the input element supports pattern validation