Class HtmlDateInput

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

        public boolean isValid()
        Returns whether this element satisfies all form validation constraints set.
        Overrides:
        isValid in class HtmlInput
        Returns:
        whether this element satisfies all form validation constraints set
      • setValue

        public void setValue​(java.lang.String newValue)
        Sets the value.
        Overrides:
        setValue in class HtmlSelectableTextInput
        Parameters:
        newValue - the new value