Back to index

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

#include <nsIDOMLoadListener.h>

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

List of all members.

Public Member Functions

NS_IMETHOD Load (nsIDOMEvent *aEvent)=0
 Processes a page or image load event.
NS_IMETHOD BeforeUnload (nsIDOMEvent *aEvent)=0
 Processes a page beforeUnload event.
NS_IMETHOD Unload (nsIDOMEvent *aEvent)=0
 Processes a page unload event.
NS_IMETHOD Abort (nsIDOMEvent *aEvent)=0
 Processes a load abort event.
NS_IMETHOD Error (nsIDOMEvent *aEvent)=0
 Processes an load error 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 nsIDOMLoadListener.h.


Member Function Documentation

NS_IMETHOD nsIDOMLoadListener::Abort ( nsIDOMEvent aEvent) [pure virtual]

Processes a load abort event.

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

Implemented in nsXBLStreamListener, nsSyncLoader, nsFormFillController, nsXMLHttpRequest, nsDOMParser, and nsLoadListenerProxy.

Processes a page beforeUnload event.

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

Implemented in nsXBLStreamListener, nsSyncLoader, nsFormFillController, nsXMLHttpRequest, nsDOMParser, and nsLoadListenerProxy.

NS_IMETHOD nsIDOMLoadListener::Error ( nsIDOMEvent aEvent) [pure virtual]

Processes an load error event.

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

Implemented in nsXBLStreamListener, nsSyncLoader, nsFormFillController, nsXMLHttpRequest, nsDOMParser, and nsLoadListenerProxy.

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 nsIDOMLoadListener::Load ( nsIDOMEvent aEvent) [pure virtual]

Processes a page or image load event.

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

Implemented in nsXBLStreamListener, nsSyncLoader, nsFormFillController, nsXMLHttpRequest, nsDOMParser, and nsLoadListenerProxy.

NS_IMETHOD nsIDOMLoadListener::Unload ( nsIDOMEvent aEvent) [pure virtual]

Processes a page unload event.

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

Implemented in nsXBLStreamListener, nsSyncLoader, nsFormFillController, nsXMLHttpRequest, nsDOMParser, and nsLoadListenerProxy.


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