+++ /dev/null
-<html>\r
-<head>\r
- <title>The source code</title>\r
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js">\r
-<div id="cls-Ext.air.DragType"></div>/**\r
- * @class Ext.air.DragType\r
- * \r
- * Drag drop type constants\r
- * \r
- * @singleton\r
- */\r
-Ext.air.DragType = {\r
- <div id="prop-Ext.air.DragType-TEXT"></div>/**\r
- * Constant for text data\r
- */\r
- TEXT : 'text/plain',\r
- <div id="prop-Ext.air.DragType-HTML"></div>/**\r
- * Constant for html data\r
- */\r
- HTML : 'text/html',\r
- <div id="prop-Ext.air.DragType-URL"></div>/**\r
- * Constant for url data\r
- */\r
- URL : 'text/uri-list',\r
- <div id="prop-Ext.air.DragType-BITMAP"></div>/**\r
- * Constant for bitmap data\r
- */\r
- BITMAP : 'image/x-vnd.adobe.air.bitmap',\r
- <div id="prop-Ext.air.DragType-FILES"></div>/**\r
- * Constant for file list data\r
- */\r
- FILES : 'application/x-vnd.adobe.air.file-list'\r
-};\r
-\r
-\r
-// workaround for DD dataTransfer Clipboard not having hasFormat\r
-\r
-Ext.apply(Ext.EventObjectImpl.prototype, {\r
- hasFormat : function(format){\r
- if (this.browserEvent.dataTransfer) {\r
- for (var i = 0, len = this.browserEvent.dataTransfer.types.length; i < len; i++) {\r
- if(this.browserEvent.dataTransfer.types[i] == format) {\r
- return true;\r
- }\r
- }\r
- }\r
- return false;\r
- },\r
- \r
- getData : function(type){\r
- return this.browserEvent.dataTransfer.getData(type);\r
- }\r
-});\r
-\r
-\r
-</pre> \r
-</body>\r
-</html>
\ No newline at end of file