Back to index

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

#include <nsIDOMDragListener.h>

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

List of all members.

Public Member Functions

NS_IMETHOD DragEnter (nsIDOMEvent *aMouseEvent)=0
 Processes a drag enter event.
NS_IMETHOD DragOver (nsIDOMEvent *aMouseEvent)=0
 Processes a drag over event.
NS_IMETHOD DragExit (nsIDOMEvent *aMouseEvent)=0
 Processes a drag Exit event.
NS_IMETHOD DragDrop (nsIDOMEvent *aMouseEvent)=0
 Processes a drag drop event.
NS_IMETHOD DragGesture (nsIDOMEvent *aMouseEvent)=0
 Processes a drag gesture 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 nsIDOMDragListener.h.


Member Function Documentation

NS_IMETHOD nsIDOMDragListener::DragDrop ( nsIDOMEvent aMouseEvent) [pure virtual]

Processes a drag drop event.

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

Implemented in nsPluginInstanceOwner, nsTextEditorDragListener, mozXMLTermDragListener, nsContentAreaDragDrop, and nsXBLWindowDragHandler.

NS_IMETHOD nsIDOMDragListener::DragEnter ( nsIDOMEvent aMouseEvent) [pure virtual]

Processes a drag enter event.

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

Implemented in nsPluginInstanceOwner, nsTextEditorDragListener, mozXMLTermDragListener, nsContentAreaDragDrop, and nsXBLWindowDragHandler.

NS_IMETHOD nsIDOMDragListener::DragExit ( nsIDOMEvent aMouseEvent) [pure virtual]

Processes a drag Exit event.

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

Implemented in nsPluginInstanceOwner, nsTextEditorDragListener, mozXMLTermDragListener, nsContentAreaDragDrop, and nsXBLWindowDragHandler.

NS_IMETHOD nsIDOMDragListener::DragGesture ( nsIDOMEvent aMouseEvent) [pure virtual]

Processes a drag gesture event.

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

Implemented in nsPluginInstanceOwner, nsTextEditorDragListener, mozXMLTermDragListener, nsContentAreaDragDrop, and nsXBLWindowDragHandler.

NS_IMETHOD nsIDOMDragListener::DragOver ( nsIDOMEvent aMouseEvent) [pure virtual]

Processes a drag over event.

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

Implemented in nsPluginInstanceOwner, nsTextEditorDragListener, mozXMLTermDragListener, nsContentAreaDragDrop, and nsXBLWindowDragHandler.

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: