Class HtmlSearchInput

All Implemented Interfaces:
Serializable, Cloneable, DisabledElement, FormFieldWithNameHistory, SelectableTextInput, LabelableElement, SubmittableElement, ValidatableElement, Element, Node

public class HtmlSearchInput extends HtmlTextInput
Wrapper for the HTML element "input" where type is "search".
See Also:
  • Constructor Details

    • HtmlSearchInput

      HtmlSearchInput(String qualifiedName, SgmlPage page, Map<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 Details

    • isPatternSupported

      protected boolean isPatternSupported()
      Returns if the input element supports pattern validation. Refer to the HTML 5 documentation for details.
      Overrides:
      isPatternSupported in class HtmlTextInput
      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 HtmlTextInput
      Returns:
      if the input element supports pattern validation