Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDOMFormListener Class Reference

#include <nsIDOMFormListener.h>

Inheritance diagram for nsIDOMFormListener:
Inheritance graph
[legend]
Collaboration diagram for nsIDOMFormListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD Submit (nsIDOMEvent *aEvent)=0
 Processes a form submit event.
NS_IMETHOD Reset (nsIDOMEvent *aEvent)=0
 Processes a form reset event.
NS_IMETHOD Change (nsIDOMEvent *aEvent)=0
 Processes a form change event.
NS_IMETHOD Select (nsIDOMEvent *aEvent)=0
 Processes a form select event.
NS_IMETHOD Input (nsIDOMEvent *aEvent)=0
 Processes a form input event.
void handleEvent (in nsIDOMEvent event)
 This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Detailed Description

Definition at line 54 of file nsIDOMFormListener.h.


Member Function Documentation

NS_IMETHOD nsIDOMFormListener::Change ( nsIDOMEvent aEvent) [pure virtual]

Processes a form change event.

Parameters:
aEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implemented in nsFormFillController, and nsRootAccessible.

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Parameters:
evtThe Event contains contextual information about the event. It also contains the stopPropagation and preventDefault methods which are used in determining the event's flow and default action.
NS_IMETHOD nsIDOMFormListener::Input ( nsIDOMEvent aEvent) [pure virtual]

Processes a form input event.

Parameters:
aEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implemented in nsFormFillController, and nsRootAccessible.

NS_IMETHOD nsIDOMFormListener::Reset ( nsIDOMEvent aEvent) [pure virtual]

Processes a form reset event.

Parameters:
aEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implemented in nsFormFillController, and nsRootAccessible.

NS_IMETHOD nsIDOMFormListener::Select ( nsIDOMEvent aEvent) [pure virtual]

Processes a form select event.

Parameters:
aEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implemented in nsFormFillController, and nsRootAccessible.

NS_IMETHOD nsIDOMFormListener::Submit ( nsIDOMEvent aEvent) [pure virtual]

Processes a form submit event.

Parameters:
aEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implemented in nsFormFillController, and nsRootAccessible.


The documentation for this class was generated from the following file: