blob: 190b21793f5721f511c6633b5ceb54e525a72eff [file] [log] [blame]
{ "type": "interface",
"qname": "org.apache.royale.core.IDragInitiator",
"description": "The IDragInitiator interface is the basic interface for the object that wants to know if a drop was accepted in a drag/drop operation. There are two methods instead of the usual one because in some scenarios the drag initiator needs to prepare the data before it gets dropped. For example, in a tree control, dragging from one node to another, the tree should un-parent the node before it is moved to the new parent node, so the tree would un-parent the node in acceptingDrop.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "acceptingDrop",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "This method is called to notify the dragInitiator that you want to accept a drop. values are in org.apache.royale.core.DropType.",
"tags": [
{ "tagName": "param",
"values": ["type The type of drop accepted. Allowed"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "dropTarget", "type": "Object"},
{ "name": "type", "type": "String"}]}
,
{ "type": "method",
"qname": "acceptedDrop",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "This method is called to notify the dragInitiator that you have accepted the drop. values are in org.apache.royale.core.DropType.",
"tags": [
{ "tagName": "param",
"values": ["type The type of drop accepted. Allowed"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "dropTarget", "type": "Object"},
{ "name": "type", "type": "String"}]}
]
}