nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)boolean canDropLink(in nsIDOMDragEvent aEvent, in PRBool aAllowSameDocument); |
AString dropLink(in nsIDOMDragEvent aEvent, out AString aName, [optional] in boolean aDisallowInherit); |
void dropLinks(in nsIDOMDragEvent aEvent, [optional] in boolean aDisallowInherit, [optional] out unsigned long aCount, [retval, array, size_is(aCount)] out nsIDroppedLinkItem aLinks); |
Determines if a link being dragged can be dropped.
boolean canDropLink( in nsIDOMDragEvent aEvent, in PRBool aAllowSameDocument );
aEvent
aAllowSameDocument
false
, drops are only allowed if the document of the source of the drag is different from the destination. This check includes any parent, sibling and child frames in the same content tree. If true
, the source is not checked.true
if the link being dragged can be dropped.
Missing Exception
Given a drop event, determines the link being dragged. If a uri is returned the caller can, for instance, load it. If null
is returned, there is no valid link to be dropped.
AString dropLink( in nsIDOMDragEvent aEvent, out AString aName, [optional] in boolean aDisallowInherit );
aEvent
aName
A uri, or null
if there is no valid link to be dropped.
Given a drop event, determines the link being dragged. If non-empty links array is returned the caller can, for instance, load it. If empty links array is returned, there is no valid link to be dropped.
void dropLinks( in nsIDOMDragEvent aEvent, [optional] in boolean aDisallowInherit, [optional] out unsigned long aCount, [retval, array, size_is(aCount)] out nsIDroppedLinkItem aLinks );
aEvent
aDisallowInherit
aCount
aLinks
arrayaLinks
nsIDroppedLinkItem
interfaceNothing.