Back to index

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

#include <nsIDOMFocusListener.h>

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

List of all members.

Public Member Functions

NS_IMETHOD Focus (nsIDOMEvent *aEvent)=0
 Processes a focus event.
NS_IMETHOD Blur (nsIDOMEvent *aEvent)=0
 Processes a blur 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 nsIDOMFocusListener.h.


Member Function Documentation

NS_IMETHOD nsIDOMFocusListener::Blur ( nsIDOMEvent aEvent) [pure virtual]

Processes a blur event.

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

Implemented in nsPluginInstanceOwner, nsDocViewerFocusListener, nsTextEditorFocusListener, nsTextInputListener, nsPasswordManager, nsFocusController, nsImageMap, nsFormFillController, nsRootAccessible, nsMenuBarListener, and nsMenuListener.

NS_IMETHOD nsIDOMFocusListener::Focus ( nsIDOMEvent aEvent) [pure virtual]

Processes a focus event.

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

Implemented in nsPluginInstanceOwner, nsDocViewerFocusListener, nsTextEditorFocusListener, nsTextInputListener, nsPasswordManager, nsFocusController, nsImageMap, nsFormFillController, nsRootAccessible, nsMenuBarListener, and nsMenuListener.

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.

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