Class SubmitEvent

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class SubmitEvent
    extends Event
    A JavaScript object for SubmitEvent.
    See Also:
    Serialized Form
    • Constructor Detail

      • SubmitEvent

        public SubmitEvent()
        Default constructor.
      • SubmitEvent

        public SubmitEvent​(DomNode domNode,
                           HTMLElement submitElement)
        Ctor.
        Parameters:
        domNode - the DOM node that triggered the event
        submitElement - the element that has triggerd this event
    • Method Detail

      • jsConstructor

        public void jsConstructor​(java.lang.String type,
                                  org.htmlunit.corejs.javascript.ScriptableObject details)
        JavaScript constructor.
        Overrides:
        jsConstructor in class Event
        Parameters:
        type - the event type
        details - the event details (optional)
      • getSubmitter

        public HTMLElement getSubmitter()
        Returns:
        the submitter