nsIDragDropHandler

IID:4f418f58-f834-4736-a755-e0395bedca9d
Inherits From:nsISupports
Status:UNDER_REVIEW

Interface for communicating with the built-in drag and drop implementation in the content area. Use this to register where the listeners should attach (something that implements nsIDOMEventReceiver which is what we end up using under the hood).

This interface is implemented by the following components:


Methods

void detach ( ) void hookupTo ( nsIDOMEventTarget attachPoint , nsIWebNavigation navigator )

void detach ( )

Unregister all handlers related to drag&drop;


void hookupTo ( nsIDOMEventTarget attachPoint , nsIWebNavigation navigator )

Attach drag handlers to receiver specified by attachPoint and specify callbacks to allow overriding of the built-in behaviors.

Arguments:
attachPoint: hookup listeners to this location
navigator: loads dropped urls via this interface. If NULL, the client must handle the drop itself, either through the method provided via |overrideDrop| or by letting the event bubble up through the DOM.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com