Back to index

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

#include <nsEditorInterfaces.h>

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

List of all members.

Public Member Functions

 nsEditorMouseListener ()
virtual ~nsEditorMouseListener ()
virtual NS_DECL_ISUPPORTS nsresult HandleEvent (nsIDOMEvent *aEvent)
virtual nsresult MouseDown (nsIDOMEvent *aMouseEvent)
 Processes a mouse down event.
virtual nsresult MouseUp (nsIDOMEvent *aMouseEvent)
 Processes a mouse up event.
virtual nsresult MouseClick (nsIDOMEvent *aMouseEvent)
 Processes a mouse click event.
virtual nsresult MouseDblClick (nsIDOMEvent *aMouseEvent)
 Processes a mouse click event.
virtual nsresult MouseOver (nsIDOMEvent *aMouseEvent)
 Processes a mouse enter event.
virtual nsresult MouseOut (nsIDOMEvent *aMouseEvent)
 Processes a mouse leave 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 65 of file nsEditorInterfaces.h.


Constructor & Destructor Documentation


Member Function Documentation

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.
virtual nsresult nsEditorMouseListener::MouseClick ( nsIDOMEvent aMouseEvent) [virtual]

Processes a mouse click event.

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

Implements nsIDOMMouseListener.

virtual nsresult nsEditorMouseListener::MouseDblClick ( nsIDOMEvent aMouseEvent) [virtual]

Processes a mouse click event.

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

Implements nsIDOMMouseListener.

virtual nsresult nsEditorMouseListener::MouseDown ( nsIDOMEvent aMouseEvent) [virtual]

Processes a mouse down event.

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

Implements nsIDOMMouseListener.

virtual nsresult nsEditorMouseListener::MouseOut ( nsIDOMEvent aMouseEvent) [virtual]

Processes a mouse leave event.

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

Implements nsIDOMMouseListener.

virtual nsresult nsEditorMouseListener::MouseOver ( nsIDOMEvent aMouseEvent) [virtual]

Processes a mouse enter event.

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

Implements nsIDOMMouseListener.

virtual nsresult nsEditorMouseListener::MouseUp ( nsIDOMEvent aMouseEvent) [virtual]

Processes a mouse up event.

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

Implements nsIDOMMouseListener.


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