Back to index

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

Listens for window mouse events, key clicks etc. More...

#include <nsIWindowListener.h>

Inheritance diagram for nsIWindowListener:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void MouseClick (nsIDOMEvent *aMouseEvent, nsIXPBaseWindow *aWindow, PRBool &aStatus)=0
 Method called when the user clicks the mouse.
virtual void Initialize (nsIXPBaseWindow *aWindow)=0
 Method called After the URL passed to the dialog box or window has completed loading.
virtual void Destroy (nsIXPBaseWindow *aWindow)=0
 Method called when dialog box or window is no longer visibleg.

Detailed Description

Listens for window mouse events, key clicks etc.

Also initializes the contents for form elements.

Definition at line 50 of file nsIWindowListener.h.


Member Function Documentation

virtual void nsIWindowListener::Destroy ( nsIXPBaseWindow aWindow) [pure virtual]

Method called when dialog box or window is no longer visibleg.

Parameters:
aWindowthe window which is about to be destroyed

Implemented in nsPrintSetupDialog, nsBaseDialog, nsImageInspectorDialog, nsTableInspectorDialog, and nsFindDialog.

Here is the caller graph for this function:

virtual void nsIWindowListener::Initialize ( nsIXPBaseWindow aWindow) [pure virtual]

Method called After the URL passed to the dialog box or window has completed loading.

Usually it is used to set place the initial settings in form elements.

Parameters:
aWindowthe window to initialize form element settings for.

Implemented in nsPrintSetupDialog, nsBaseDialog, nsImageInspectorDialog, nsTableInspectorDialog, and nsFindDialog.

Here is the caller graph for this function:

virtual void nsIWindowListener::MouseClick ( nsIDOMEvent aMouseEvent,
nsIXPBaseWindow aWindow,
PRBool aStatus 
) [pure virtual]

Method called when the user clicks the mouse.

Clicks are only generated when the mouse-up event happens over a widget.

Parameters:
aMouseEventDOM event holding mouse click info.
aWindowWindow which generated the mouse click event

Implemented in nsPrintSetupDialog, nsBaseDialog, nsImageInspectorDialog, nsTableInspectorDialog, and nsFindDialog.

Here is the caller graph for this function:


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