JavaScript is disabled on your browser.
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method
org.htmlunit.html

Class HtmlNumberInput

    • 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)
      • doType

        protected void doType(char c,
         boolean lastType)
        Performs the effective type action, called after the keyPress event and before the keyUp event.
        Overrides:
        doType in class HtmlSelectableTextInput
        Parameters:
        c - the character you with to simulate typing
        lastType - is this the last character to type
      • 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
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /