Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIDragService Interface Reference

import "nsIDragService.idl";

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

List of all members.

Public Member Functions

void invokeDragSession (in nsIDOMNode aDOMNode, in nsISupportsArray aTransferables, in nsIScriptableRegion aRegion, in unsigned long aActionType)
 Starts a modal drag session with an array of transaferables.
nsIDragSession getCurrentSession ()
 Returns the current Drag Session.
void startDragSession ()
 Tells the Drag Service to start a drag session.
void endDragSession ()
 Tells the Drag Service to end a drag session.

Public Attributes

const long DRAGDROP_ACTION_NONE = 0
const long DRAGDROP_ACTION_COPY = 1
const long DRAGDROP_ACTION_MOVE = 2
const long DRAGDROP_ACTION_LINK = 4

Detailed Description

Definition at line 50 of file nsIDragService.idl.


Member Function Documentation

Tells the Drag Service to end a drag session.

This is called when an external drag occurs

Returns the current Drag Session.

void nsIDragService::invokeDragSession ( in nsIDOMNode  aDOMNode,
in nsISupportsArray  aTransferables,
in nsIScriptableRegion  aRegion,
in unsigned long  aActionType 
)

Starts a modal drag session with an array of transaferables.

Parameters:
aTransferables- an array of transferables to be dragged
aRegion- a region containing rectangles for cursor feedback, in window coordinates.
aActionType- specified which of copy/move/link are allowed

Tells the Drag Service to start a drag session.

This is called when an external drag occurs


Member Data Documentation

Definition at line 53 of file nsIDragService.idl.

Definition at line 55 of file nsIDragService.idl.

Definition at line 54 of file nsIDragService.idl.

Definition at line 52 of file nsIDragService.idl.


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