1 <div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.air.DragType-props"><img src="resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.air.DragType-methods"><img src="resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.air.DragType-events"><img src="resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="bookmark" href="../docs/?class=Ext.air.DragType"><img src="resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><h1>Class <a href="source/NativeDD.html#cls-Ext.air.DragType">Ext.air.DragType</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.air</td></tr><tr><td class="label">Defined In:</td><td class="hd-info">NativeDD.js</td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/NativeDD.html#cls-Ext.air.DragType">DragType</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr></table><div class="description">Drag drop type constants<br><br><i>This class is a singleton and cannot be created directly.</i></div><div class="hr"></div><a id="Ext.air.DragType-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-BITMAP"></a><b><a href="source/NativeDD.html#prop-Ext.air.DragType-BITMAP">BITMAP</a></b> : Object<div class="mdesc">Constant for bitmap data</div></td><td class="msource">DragType</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-FILES"></a><b><a href="source/NativeDD.html#prop-Ext.air.DragType-FILES">FILES</a></b> : Object<div class="mdesc">Constant for file list data</div></td><td class="msource">DragType</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-HTML"></a><b><a href="source/NativeDD.html#prop-Ext.air.DragType-HTML">HTML</a></b> : Object<div class="mdesc">Constant for html data</div></td><td class="msource">DragType</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-TEXT"></a><b><a href="source/NativeDD.html#prop-Ext.air.DragType-TEXT">TEXT</a></b> : Object<div class="mdesc">Constant for text data</div></td><td class="msource">DragType</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-URL"></a><b><a href="source/NativeDD.html#prop-Ext.air.DragType-URL">URL</a></b> : Object<div class="mdesc">Constant for url data</div></td><td class="msource">DragType</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-matchers"></a><b><a href="source/ext-air-adapter.html#prop-Ext.air.DragType-matchers">matchers</a></b> : Object<div class="mdesc">Collection of matching regular expressions and code snippets.</div></td><td class="msource">DragType</td></tr><tr class="property-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-pseudos"></a><b><a href="source/ext-air-adapter.html#prop-Ext.air.DragType-pseudos">pseudos</a></b> : Object<div class="mdesc"><div class="short">Collection of "pseudo class" processors. Each processor is passed the current nodeset (array)
2 and the argument (if a...</div><div class="long">Collection of "pseudo class" processors. Each processor is passed the current nodeset (array)
\r
3 and the argument (if any) supplied in the selector.</div></div></td><td class="msource">DragType</td></tr></tbody></table><a id="Ext.air.DragType-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-filter"></a><b><a href="source/ext-air-adapter.html#method-Ext.air.DragType-filter">filter</a></b>( <code>Array el</code>, <code>String selector</code>, <code>Boolean nonMatches</code> )
5 Array<div class="mdesc"><div class="short">Filters an array of elements to only include matches of a simple selector (e.g. div.some-class or span:first-child)</div><div class="long">Filters an array of elements to only include matches of a simple selector (e.g. div.some-class or span:first-child)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Array<div class="sub-desc">An array of elements to filter</div></li><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li><li><code>nonMatches</code> : Boolean<div class="sub-desc">If true, it returns the elements that DON'T match
\r
6 the selector instead of the ones that match</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">DragType</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-is"></a><b><a href="source/ext-air-adapter.html#method-Ext.air.DragType-is">is</a></b>( <code>String/HTMLElement/Array el</code>, <code>String selector</code> )
8 Boolean<div class="mdesc"><div class="short">Returns true if the passed element(s) match the passed simple selector (e.g. div.some-class or span:first-child)</div><div class="long">Returns true if the passed element(s) match the passed simple selector (e.g. div.some-class or span:first-child)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : String/HTMLElement/Array<div class="sub-desc">An element id, element or array of elements</div></li><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">DragType</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-operators"></a><b><a href="source/ext-air-adapter.html#method-Ext.air.DragType-operators">operators</a></b>()
10 void<div class="mdesc"><div class="short">Collection of operator comparison functions. The default operators are =, !=, ^=, $=, *=, %=, |= and ~=.
11 New operato...</div><div class="long">Collection of operator comparison functions. The default operators are =, !=, ^=, $=, *=, %=, |= and ~=.
\r
12 New operators can be added as long as the match the format <i>c</i>= where <i>c</i> is any character other than space, > <.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragType</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-select"></a><b><a href="source/ext-air-adapter.html#method-Ext.air.DragType-select">select</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Node root</code>]</span> )
14 Array<div class="mdesc"><div class="short">Selects a group of elements.</div><div class="long">Selects a group of elements.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The selector/xpath query (can be a comma separated list of selectors)</div></li><li><code>root</code> : Node<div class="sub-desc">(optional) The start of the query (defaults to document).</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">DragType</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-selectNode"></a><b><a href="source/ext-air-adapter.html#method-Ext.air.DragType-selectNode">selectNode</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Node root</code>]</span> )
16 Element<div class="mdesc"><div class="short">Selects a single element.</div><div class="long">Selects a single element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The selector/xpath query</div></li><li><code>root</code> : Node<div class="sub-desc">(optional) The start of the query (defaults to document).</div></li></ul><strong>Returns:</strong><ul><li><code>Element</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">DragType</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-selectNumber"></a><b><a href="source/ext-air-adapter.html#method-Ext.air.DragType-selectNumber">selectNumber</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Node root</code>]</span>, <code>Number defaultValue</code> )
18 Number<div class="mdesc"><div class="short">Selects the value of a node, parsing integers and floats.</div><div class="long">Selects the value of a node, parsing integers and floats.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The selector/xpath query</div></li><li><code>root</code> : Node<div class="sub-desc">(optional) The start of the query (defaults to document).</div></li><li><code>defaultValue</code> : Number<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">DragType</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.air.DragType-selectValue"></a><b><a href="source/ext-air-adapter.html#method-Ext.air.DragType-selectValue">selectValue</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Node root</code>]</span>, <code>String defaultValue</code> )
20 void<div class="mdesc"><div class="short">Selects the value of a node, optionally replacing null with the defaultValue.</div><div class="long">Selects the value of a node, optionally replacing null with the defaultValue.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The selector/xpath query</div></li><li><code>root</code> : Node<div class="sub-desc">(optional) The start of the query (defaults to document).</div></li><li><code>defaultValue</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragType</td></tr></tbody></table><a id="Ext.air.DragType-events"></a><h2>Public Events</h2><div class="no-members">This class has no public events.</div></div>