123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425 |
- <div class="body-wrap">
- <div class="top-tools">
- <a class="inner-link" href="#Ext.dd.DropZone-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
- <a class="inner-link" href="#Ext.dd.DropZone-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
- <a class="inner-link" href="#Ext.dd.DropZone-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
- <a class="inner-link" href="#Ext.dd.DropZone-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
- <a class="bookmark" href="../docs/?class=Ext.dd.DropZone"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
- </div>
- <div class="inheritance res-block">
- <pre class="res-block-inner"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a>
- <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DDTarget" ext:member="" href="output/Ext.dd.DDTarget.html">DDTarget</a>
- <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DropTarget" ext:member="" href="output/Ext.dd.DropTarget.html">DropTarget</a>
- <img src="resources/elbow-end.gif"/>DropZone</pre></div>
- <h1>Class Ext.dd.DropZone</h1>
- <table cellspacing="0">
- <tr><td class="label">Package:</td><td class="hd-info">Ext.dd</td></tr>
- <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/DropZone.js" target="_blank">DropZone.js</a></td></tr>
- <tr><td class="label">Class:</td><td class="hd-info">DropZone</td></tr>
- <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.tree.TreeDropZone" href="output/Ext.tree.TreeDropZone.html">TreeDropZone</a></td></tr>
- <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.dd.DropTarget" ext:member="" href="output/Ext.dd.DropTarget.html">DropTarget</a></td></tr>
- </table>
- <div class="description">
- This class provides a container DD instance that proxies for multiple child node targets.<br />
- By default, this class requires that child nodes accepting drop are registered with <a ext:cls="Ext.dd.Registry" href="output/Ext.dd.Registry.html">Ext.dd.Registry</a>. </div>
-
- <div class="hr"></div>
- <a id="Ext.dd.DropZone-configs"></a>
- <h2>Config Options</h2>
- <table cellspacing="0" class="member-table">
- <tr>
- <th class="sig-header" colspan="2">Config Options</th>
- <th class="msource-header">Defined By</th>
- </tr>
- <tr class="config-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-ddGroup"></a>
- <b>ddGroup</b> : String <div class="mdesc">
- <div class="short">A named drag drop group to which this object belongs. If a group is specified, then this object will only interact wi...</div>
- <div class="long">
- A named drag drop group to which this object belongs. If a group is specified, then this object will only interact with other drag drop objects in the same group (defaults to undefined). </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DropTarget" ext:member="#ddGroup" href="output/Ext.dd.DropTarget.html#ddGroup">DropTarget</a></td>
- </tr>
- <tr class="config-row inherited alt">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-dropAllowed"></a>
- <b>dropAllowed</b> : String <div class="mdesc">
- The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok"). </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DropTarget" ext:member="#dropAllowed" href="output/Ext.dd.DropTarget.html#dropAllowed">DropTarget</a></td>
- </tr>
- <tr class="config-row inherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-dropNotAllowed"></a>
- <b>dropNotAllowed</b> : String <div class="mdesc">
- The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop"). </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DropTarget" ext:member="#dropNotAllowed" href="output/Ext.dd.DropTarget.html#dropNotAllowed">DropTarget</a></td>
- </tr>
- <tr class="config-row inherited alt">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-overClass"></a>
- <b>overClass</b> : String <div class="mdesc">
- The CSS class applied to the drop target element while the drag source is over it (defaults to ""). </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DropTarget" ext:member="#overClass" href="output/Ext.dd.DropTarget.html#overClass">DropTarget</a></td>
- </tr>
- </table>
- <a id="Ext.dd.DropZone-props"></a>
- <h2>Public Properties</h2>
- <table cellspacing="0" class="member-table">
- <tr>
- <th class="sig-header" colspan="2">Property</th>
- <th class="msource-header">Defined By</th>
- </tr>
- <tr class="property-row inherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-available"></a>
- <b>available</b> : boolean <div class="mdesc">
- The availabe property is false until the linked dom element is accessible. </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#available" href="output/Ext.dd.DragDrop.html#available">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited alt">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-config"></a>
- <b>config</b> : object <div class="mdesc">
- Configuration attributes passed into the constructor </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#config" href="output/Ext.dd.DragDrop.html#config">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-groups"></a>
- <b>groups</b> : object <div class="mdesc">
- <div class="short">The group defines a logical collection of DragDrop objects that are
- related. Instances only get events when interact...</div>
- <div class="long">
- The group defines a logical collection of DragDrop objects that are
- related. Instances only get events when interacting with other
- DragDrop object in the same group. This lets us define multiple
- groups using a single DragDrop subclass if we want. </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#groups" href="output/Ext.dd.DragDrop.html#groups">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-hasOuterHandles"></a>
- <b>hasOuterHandles</b> : boolean <div class="mdesc">
- <div class="short">By default, drags can only be initiated if the mousedown occurs in the
- region the linked element is. This is done in...</div>
- <div class="long">
- By default, drags can only be initiated if the mousedown occurs in the
- region the linked element is. This is done in part to work around a
- bug in some browsers that mis-report the mousedown if the previous
- mouseup happened outside of the window. This property is set to true
- if outer handles are defined. </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#hasOuterHandles" href="output/Ext.dd.DragDrop.html#hasOuterHandles">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-id"></a>
- <b>id</b> : String <div class="mdesc">
- <div class="short">The id of the element associated with this object. This is what we
- refer to as the "linked element" because the size...</div>
- <div class="long">
- The id of the element associated with this object. This is what we
- refer to as the "linked element" because the size and position of
- this element is used to determine when the drag and drop objects have
- interacted. </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#id" href="output/Ext.dd.DragDrop.html#id">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited alt">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-invalidHandleClasses"></a>
- <b>invalidHandleClasses</b> : string[] <div class="mdesc">
- An indexted array of css class names for elements that will be ignored
- if clicked. </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleClasses" href="output/Ext.dd.DragDrop.html#invalidHandleClasses">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-invalidHandleIds"></a>
- <b>invalidHandleIds</b> : string: <div class="mdesc">
- An associative array of ids for elements that will be ignored if clicked </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleIds" href="output/Ext.dd.DragDrop.html#invalidHandleIds">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited alt">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-invalidHandleTypes"></a>
- <b>invalidHandleTypes</b> : string: <div class="mdesc">
- An associative array of HTML tags that will be ignored if clicked. </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleTypes" href="output/Ext.dd.DragDrop.html#invalidHandleTypes">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-isTarget"></a>
- <b>isTarget</b> : boolean <div class="mdesc">
- By default, all insances can be a drop target. This can be disabled by
- setting isTarget to false. </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isTarget" href="output/Ext.dd.DragDrop.html#isTarget">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-maintainOffset"></a>
- <b>maintainOffset</b> : boolean <div class="mdesc">
- <div class="short">Maintain offsets when we resetconstraints. Set to true when you want
- the position of the element relative to its par...</div>
- <div class="long">
- Maintain offsets when we resetconstraints. Set to true when you want
- the position of the element relative to its parent to stay the same
- when the page changes </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#maintainOffset" href="output/Ext.dd.DragDrop.html#maintainOffset">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-padding"></a>
- <b>padding</b> : int[] <div class="mdesc">
- The padding configured for this drag and drop object for calculating
- the drop zone intersection with this object. </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#padding" href="output/Ext.dd.DragDrop.html#padding">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-primaryButtonOnly"></a>
- <b>primaryButtonOnly</b> : boolean <div class="mdesc">
- <div class="short">By default the drag and drop instance will only respond to the primary
- button click (left button for a right-handed m...</div>
- <div class="long">
- By default the drag and drop instance will only respond to the primary
- button click (left button for a right-handed mouse). Set to true to
- allow drag and drop to start with any mouse click that is propogated
- by the browser </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#primaryButtonOnly" href="output/Ext.dd.DragDrop.html#primaryButtonOnly">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-xTicks"></a>
- <b>xTicks</b> : int[] <div class="mdesc">
- <div class="short">Array of pixel locations the element will snap to if we specified a
- horizontal graduation/interval. This array is ge...</div>
- <div class="long">
- Array of pixel locations the element will snap to if we specified a
- horizontal graduation/interval. This array is generated automatically
- when you define a tick interval. </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#xTicks" href="output/Ext.dd.DragDrop.html#xTicks">DragDrop</a></td>
- </tr>
- <tr class="property-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-yTicks"></a>
- <b>yTicks</b> : int[] <div class="mdesc">
- <div class="short">Array of pixel locations the element will snap to if we specified a
- vertical graduation/interval. This array is gene...</div>
- <div class="long">
- Array of pixel locations the element will snap to if we specified a
- vertical graduation/interval. This array is generated automatically
- when you define a tick interval. </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#yTicks" href="output/Ext.dd.DragDrop.html#yTicks">DragDrop</a></td>
- </tr>
- </table>
- <a id="Ext.dd.DropZone-methods"></a>
- <h2>Public Methods</h2>
- <table cellspacing="0" class="member-table">
- <tr>
- <th class="sig-header" colspan="2">Method</th>
- <th class="msource-header">Defined By</th>
- </tr>
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-DropZone"></a>
- <b>DropZone</b>( <code>Mixed el</code>, <code>Object config</code> ) <div class="mdesc">
- <div class="short"></div>
- <div class="long">
- <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>el</code> : Mixed<div class="sub-desc">The container element</div></li><li><code>config</code> : Object<div class="sub-desc"></div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code></code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-addInvalidHandleClass"></a>
- <b>addInvalidHandleClass</b>( <code>string cssClass</code> ) : void <div class="mdesc">
- <div class="short">Lets you specify a css class of elements that will not initiate a drag</div>
- <div class="long">
- Lets you specify a css class of elements that will not initiate a drag <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the elements you wish to ignore</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleClass" href="output/Ext.dd.DragDrop.html#addInvalidHandleClass">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-addInvalidHandleId"></a>
- <b>addInvalidHandleId</b>( <code>string id</code> ) : void <div class="mdesc">
- <div class="short">Lets you to specify an element id for a child of a drag handle
- that should not initiate a drag</div>
- <div class="long">
- Lets you to specify an element id for a child of a drag handle
- that should not initiate a drag <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>id</code> : string<div class="sub-desc">the element id of the element you wish to ignore</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleId" href="output/Ext.dd.DragDrop.html#addInvalidHandleId">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-addInvalidHandleType"></a>
- <b>addInvalidHandleType</b>( <code>string tagName</code> ) : void <div class="mdesc">
- <div class="short">Allows you to specify a tag name that should not start a drag operation
- when clicked. This is designed to facilitate...</div>
- <div class="long">
- Allows you to specify a tag name that should not start a drag operation
- when clicked. This is designed to facilitate embedding links within a
- drag handle that do something other than start the drag. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to exclude</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleType" href="output/Ext.dd.DragDrop.html#addInvalidHandleType">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-addToGroup"></a>
- <b>addToGroup</b>( <code>sGroup {string}</code> ) : void <div class="mdesc">
- <div class="short">Add this instance to a group of related drag/drop objects. All
- instances belong to at least one group, and can belon...</div>
- <div class="long">
- Add this instance to a group of related drag/drop objects. All
- instances belong to at least one group, and can belong to as many
- groups as needed. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addToGroup" href="output/Ext.dd.DragDrop.html#addToGroup">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-applyConfig"></a>
- <b>applyConfig</b>() : void <div class="mdesc">
- <div class="short">Applies the configuration parameters that were passed into the constructor.
- This is supposed to happen at each level ...</div>
- <div class="long">
- Applies the configuration parameters that were passed into the constructor.
- This is supposed to happen at each level through the inheritance chain. So
- a DDProxy implentation will execute apply config on DDProxy, DD, and
- DragDrop in order to get all of the parameters that are available in
- each object. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#applyConfig" href="output/Ext.dd.DragDrop.html#applyConfig">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-clearConstraints"></a>
- <b>clearConstraints</b>() : void <div class="mdesc">
- <div class="short">Clears any constraints applied to this instance. Also clears ticks
- since they can't exist independent of a constrain...</div>
- <div class="long">
- Clears any constraints applied to this instance. Also clears ticks
- since they can't exist independent of a constraint at this time. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearConstraints" href="output/Ext.dd.DragDrop.html#clearConstraints">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-clearTicks"></a>
- <b>clearTicks</b>() : void <div class="mdesc">
- <div class="short">Clears any tick interval defined for this instance</div>
- <div class="long">
- Clears any tick interval defined for this instance <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearTicks" href="output/Ext.dd.DragDrop.html#clearTicks">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-endDrag"></a>
- <b>endDrag</b>( <code>Event e</code> ) : void <div class="mdesc">
- <div class="short">Fired when we are done dragging the object</div>
- <div class="long">
- Fired when we are done dragging the object <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#endDrag" href="output/Ext.dd.DragDrop.html#endDrag">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-getDragEl"></a>
- <b>getDragEl</b>() : HTMLElement <div class="mdesc">
- <div class="short">Returns a reference to the actual element to drag. By default this is
- the same as the html element, but it can be as...</div>
- <div class="long">
- Returns a reference to the actual element to drag. By default this is
- the same as the html element, but it can be assigned to another
- element. An example of this can be found in Ext.dd.DDProxy <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getDragEl" href="output/Ext.dd.DragDrop.html#getDragEl">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-getEl"></a>
- <b>getEl</b>() : HTMLElement <div class="mdesc">
- <div class="short">Returns a reference to the linked element</div>
- <div class="long">
- Returns a reference to the linked element <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getEl" href="output/Ext.dd.DragDrop.html#getEl">DragDrop</a></td>
- </tr>
- <tr class="method-row alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-getTargetFromEvent"></a>
- <b>getTargetFromEvent</b>( <code>Event e</code> ) : Object <div class="mdesc">
- <div class="short">Returns a custom data object associated with the DOM node that is the target of the event. By default
- this looks up ...</div>
- <div class="long">
- Returns a custom data object associated with the DOM node that is the target of the event. By default
- this looks up the event target in the <a ext:cls="Ext.dd.Registry" href="output/Ext.dd.Registry.html">Ext.dd.Registry</a>, although you can override this method to
- provide your own custom lookup. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">The event</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>Object</code><div class="sub-desc">data The custom data</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-init"></a>
- <b>init</b>( <code>id the</code>, <code>String sGroup</code>, <code>object config</code> ) : void <div class="mdesc">
- <div class="short">Sets up the DragDrop object. Must be called in the constructor of any
- Ext.dd.DragDrop subclass</div>
- <div class="long">
- Sets up the DragDrop object. Must be called in the constructor of any
- Ext.dd.DragDrop subclass <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>the</code> : id<div class="sub-desc">id of the linked element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related items</div></li><li><code>config</code> : object<div class="sub-desc">configuration attributes</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#init" href="output/Ext.dd.DragDrop.html#init">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-initTarget"></a>
- <b>initTarget</b>( <code>id the</code>, <code>String sGroup</code>, <code>object config</code> ) : void <div class="mdesc">
- <div class="short">Initializes Targeting functionality only... the object does not
- get a mousedown handler.</div>
- <div class="long">
- Initializes Targeting functionality only... the object does not
- get a mousedown handler. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>the</code> : id<div class="sub-desc">id of the linked element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related items</div></li><li><code>config</code> : object<div class="sub-desc">configuration attributes</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#initTarget" href="output/Ext.dd.DragDrop.html#initTarget">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-isLocked"></a>
- <b>isLocked</b>() : boolean <div class="mdesc">
- <div class="short">Returns true if this instance is locked, or the drag drop mgr is locked
- (meaning that all drag/drop is disabled on th...</div>
- <div class="long">
- Returns true if this instance is locked, or the drag drop mgr is locked
- (meaning that all drag/drop is disabled on the page.) <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>boolean</code><div class="sub-desc">true if this obj or all drag/drop is locked, else false</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isLocked" href="output/Ext.dd.DragDrop.html#isLocked">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-isValidHandleChild"></a>
- <b>isValidHandleChild</b>( <code>HTMLElement node</code> ) : boolean <div class="mdesc">
- <div class="short">Checks the tag exclusion list to see if this click should be ignored</div>
- <div class="long">
- Checks the tag exclusion list to see if this click should be ignored <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>node</code> : HTMLElement<div class="sub-desc">the HTMLElement to evaluate</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>boolean</code><div class="sub-desc">true if this is a valid tag type, false if not</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isValidHandleChild" href="output/Ext.dd.DragDrop.html#isValidHandleChild">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-lock"></a>
- <b>lock</b>() : void <div class="mdesc">
- <div class="short">Lock this instance</div>
- <div class="long">
- Lock this instance <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#lock" href="output/Ext.dd.DragDrop.html#lock">DragDrop</a></td>
- </tr>
- <tr class="method-row alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-notifyDrop"></a>
- <b>notifyDrop</b>( <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : Boolean <div class="mdesc">
- <div class="short">The function a Ext.dd.DragSource calls once to notify this drop zone that the dragged item has
- been dropped on it. T...</div>
- <div class="long">
- The function a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> calls once to notify this drop zone that the dragged item has
- been dropped on it. The drag zone will look up the target node based on the event passed in, and if there
- is a node registered for that event, it will delegate to <a ext:cls="Ext.dd.DropZone" ext:member="onNodeDrop" href="output/Ext.dd.DropZone.html#onNodeDrop">onNodeDrop</a> for node-specific handling,
- otherwise it will call <a ext:cls="Ext.dd.DropZone" ext:member="onContainerDrop" href="output/Ext.dd.DropZone.html#onContainerDrop">onContainerDrop</a>. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>Boolean</code><div class="sub-desc">True if the drop was valid, else false</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-notifyEnter"></a>
- <b>notifyEnter</b>( <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : String <div class="mdesc">
- <div class="short">The function a Ext.dd.DragSource calls once to notify this drop zone that the source is now over
- the zone. The defau...</div>
- <div class="long">
- The function a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> calls once to notify this drop zone that the source is now over
- the zone. The default implementation returns this.dropNotAllowed and expects that only registered drop
- nodes can process drag drop operations, so if you need the drop zone itself to be able to process drops
- you should override this method and provide a custom implementation. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>String</code><div class="sub-desc">status The CSS class that communicates the drop status back to the source so that the underlying {@link Ext.dd.StatusProxy} can be updated</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-notifyOut"></a>
- <b>notifyOut</b>( <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : void <div class="mdesc">
- <div class="short">The function a Ext.dd.DragSource calls once to notify this drop zone that the source has been dragged
- out of the zone...</div>
- <div class="long">
- The function a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> calls once to notify this drop zone that the source has been dragged
- out of the zone without dropping. If the drag source is currently over a registered node, the notification
- will be delegated to <a ext:cls="Ext.dd.DropZone" ext:member="onNodeOut" href="output/Ext.dd.DropZone.html#onNodeOut">onNodeOut</a> for node-specific handling, otherwise it will be ignored. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag zone</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-notifyOver"></a>
- <b>notifyOver</b>( <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : String <div class="mdesc">
- <div class="short">The function a Ext.dd.DragSource calls continuously while it is being dragged over the drop zone.
- This method will be...</div>
- <div class="long">
- The function a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> calls continuously while it is being dragged over the drop zone.
- This method will be called on every mouse movement while the drag source is over the drop zone.
- It will call <a ext:cls="Ext.dd.DropZone" ext:member="onNodeOver" href="output/Ext.dd.DropZone.html#onNodeOver">onNodeOver</a> while the drag source is over a registered node, and will also automatically
- delegate to the appropriate node-specific methods as necessary when the drag source enters and exits
- registered nodes (<a ext:cls="Ext.dd.DropZone" ext:member="onNodeEnter" href="output/Ext.dd.DropZone.html#onNodeEnter">onNodeEnter</a>, <a ext:cls="Ext.dd.DropZone" ext:member="onNodeOut" href="output/Ext.dd.DropZone.html#onNodeOut">onNodeOut</a>). If the drag source is not currently over a
- registered node, it will call <a ext:cls="Ext.dd.DropZone" ext:member="onContainerOver" href="output/Ext.dd.DropZone.html#onContainerOver">onContainerOver</a>. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>String</code><div class="sub-desc">status The CSS class that communicates the drop status back to the source so that the underlying {@link Ext.dd.StatusProxy} can be updated</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onAvailable"></a>
- <b>onAvailable</b>() : void <div class="mdesc">
- <div class="short">Override the onAvailable method to do what is needed after the initial
- position was determined.</div>
- <div class="long">
- Override the onAvailable method to do what is needed after the initial
- position was determined. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onAvailable" href="output/Ext.dd.DragDrop.html#onAvailable">DragDrop</a></td>
- </tr>
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onContainerDrop"></a>
- <b>onContainerDrop</b>( <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : Boolean <div class="mdesc">
- <div class="short">Called internally when the DropZone determines that a Ext.dd.DragSource has been dropped on it,
- but not on any of its...</div>
- <div class="long">
- Called internally when the DropZone determines that a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> has been dropped on it,
- but not on any of its registered drop nodes. The default implementation returns false, so it should be
- overridden to provide the appropriate processing of the drop event if you need the drop zone itself to
- be able to accept drops. It should return true when valid so that the drag source's repair action does not run. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>Boolean</code><div class="sub-desc">True if the drop was valid, else false</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onContainerOver"></a>
- <b>onContainerOver</b>( <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : String <div class="mdesc">
- <div class="short">Called internally while the DropZone determines that a Ext.dd.DragSource is being dragged over it,
- but not over any o...</div>
- <div class="long">
- Called internally while the DropZone determines that a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> is being dragged over it,
- but not over any of its registered drop nodes. The default implementation returns this.dropNotAllowed, so
- it should be overridden to provide the proper feedback if necessary. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>String</code><div class="sub-desc">status The CSS class that communicates the drop status back to the source so that the underlying {@link Ext.dd.StatusProxy} can be updated</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onDrag"></a>
- <b>onDrag</b>( <code>Event e</code> ) : void <div class="mdesc">
- <div class="short">Abstract method called during the onMouseMove event while dragging an
- object.</div>
- <div class="long">
- Abstract method called during the onMouseMove event while dragging an
- object. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDrag" href="output/Ext.dd.DragDrop.html#onDrag">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onDragDrop"></a>
- <b>onDragDrop</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
- <div class="short">Abstract method called when this item is dropped on another DragDrop
- obj</div>
- <div class="long">
- Abstract method called when this item is dropped on another DragDrop
- obj <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
- id this was dropped on. In INTERSECT mode, an array of dd items this
- was dropped on.</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragDrop" href="output/Ext.dd.DragDrop.html#onDragDrop">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onDragEnter"></a>
- <b>onDragEnter</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
- <div class="short">Abstract method called when this element fist begins hovering over
- another DragDrop obj</div>
- <div class="long">
- Abstract method called when this element fist begins hovering over
- another DragDrop obj <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
- id this is hovering over. In INTERSECT mode, an array of one or more
- dragdrop items being hovered over.</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragEnter" href="output/Ext.dd.DragDrop.html#onDragEnter">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onDragOut"></a>
- <b>onDragOut</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
- <div class="short">Abstract method called when we are no longer hovering over an element</div>
- <div class="long">
- Abstract method called when we are no longer hovering over an element <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
- id this was hovering over. In INTERSECT mode, an array of dd items
- that the mouse is no longer over.</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOut" href="output/Ext.dd.DragDrop.html#onDragOut">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onDragOver"></a>
- <b>onDragOver</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
- <div class="short">Abstract method called when this element is hovering over another
- DragDrop obj</div>
- <div class="long">
- Abstract method called when this element is hovering over another
- DragDrop obj <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
- id this is hovering over. In INTERSECT mode, an array of dd items
- being hovered over.</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOver" href="output/Ext.dd.DragDrop.html#onDragOver">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onInvalidDrop"></a>
- <b>onInvalidDrop</b>( <code>Event e</code> ) : void <div class="mdesc">
- <div class="short">Abstract method called when this item is dropped on an area with no
- drop target</div>
- <div class="long">
- Abstract method called when this item is dropped on an area with no
- drop target <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onInvalidDrop" href="output/Ext.dd.DragDrop.html#onInvalidDrop">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onMouseDown"></a>
- <b>onMouseDown</b>( <code>Event e</code> ) : void <div class="mdesc">
- <div class="short">Event handler that fires when a drag/drop obj gets a mousedown</div>
- <div class="long">
- Event handler that fires when a drag/drop obj gets a mousedown <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mousedown event</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseDown" href="output/Ext.dd.DragDrop.html#onMouseDown">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onMouseUp"></a>
- <b>onMouseUp</b>( <code>Event e</code> ) : void <div class="mdesc">
- <div class="short">Event handler that fires when a drag/drop obj gets a mouseup</div>
- <div class="long">
- Event handler that fires when a drag/drop obj gets a mouseup <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseUp" href="output/Ext.dd.DragDrop.html#onMouseUp">DragDrop</a></td>
- </tr>
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onNodeDrop"></a>
- <b>onNodeDrop</b>( <code>Object nodeData</code>, <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : Boolean <div class="mdesc">
- <div class="short">Called internally when the DropZone determines that a Ext.dd.DragSource has been dropped onto
- the drop node. The def...</div>
- <div class="long">
- Called internally when the DropZone determines that a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> has been dropped onto
- the drop node. The default implementation returns false, so it should be overridden to provide the
- appropriate processing of the drop event and return true so that the drag source's repair action does not run. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>nodeData</code> : Object<div class="sub-desc">The custom data associated with the drop node (this is the same value returned from
- <a ext:cls="Ext.dd.DropZone" ext:member="getTargetFromEvent" href="output/Ext.dd.DropZone.html#getTargetFromEvent">getTargetFromEvent</a> for this node)</div></li><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>Boolean</code><div class="sub-desc">True if the drop was valid, else false</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onNodeEnter"></a>
- <b>onNodeEnter</b>( <code>Object nodeData</code>, <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : void <div class="mdesc">
- <div class="short">Called internally when the DropZone determines that a Ext.dd.DragSource has entered a drop node
- that it has registere...</div>
- <div class="long">
- Called internally when the DropZone determines that a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> has entered a drop node
- that it has registered. This method has no default implementation and should be overridden to provide
- node-specific processing if necessary. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>nodeData</code> : Object<div class="sub-desc">The custom data associated with the drop node (this is the same value returned from
- <a ext:cls="Ext.dd.DropZone" ext:member="getTargetFromEvent" href="output/Ext.dd.DropZone.html#getTargetFromEvent">getTargetFromEvent</a> for this node)</div></li><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onNodeOut"></a>
- <b>onNodeOut</b>( <code>Object nodeData</code>, <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : void <div class="mdesc">
- <div class="short">Called internally when the DropZone determines that a Ext.dd.DragSource has been dragged out of
- the drop node without...</div>
- <div class="long">
- Called internally when the DropZone determines that a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> has been dragged out of
- the drop node without dropping. This method has no default implementation and should be overridden to provide
- node-specific processing if necessary. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>nodeData</code> : Object<div class="sub-desc">The custom data associated with the drop node (this is the same value returned from
- <a ext:cls="Ext.dd.DropZone" ext:member="getTargetFromEvent" href="output/Ext.dd.DropZone.html#getTargetFromEvent">getTargetFromEvent</a> for this node)</div></li><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-onNodeOver"></a>
- <b>onNodeOver</b>( <code>Object nodeData</code>, <code>Ext.dd.DragSource source</code>, <code>Event e</code>, <code>Object data</code> ) : String <div class="mdesc">
- <div class="short">Called internally while the DropZone determines that a Ext.dd.DragSource is over a drop node
- that it has registered. ...</div>
- <div class="long">
- Called internally while the DropZone determines that a <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a> is over a drop node
- that it has registered. The default implementation returns this.dropNotAllowed, so it should be
- overridden to provide the proper feedback. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>nodeData</code> : Object<div class="sub-desc">The custom data associated with the drop node (this is the same value returned from
- <a ext:cls="Ext.dd.DropZone" ext:member="getTargetFromEvent" href="output/Ext.dd.DropZone.html#getTargetFromEvent">getTargetFromEvent</a> for this node)</div></li><li><code>source</code> : Ext.dd.DragSource<div class="sub-desc">The drag source that was dragged over this drop zone</div></li><li><code>e</code> : Event<div class="sub-desc">The event</div></li><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data supplied by the drag source</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>String</code><div class="sub-desc">status The CSS class that communicates the drop status back to the source so that the underlying {@link Ext.dd.StatusProxy} can be updated</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource">DropZone</td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-removeFromGroup"></a>
- <b>removeFromGroup</b>( <code>string sGroup</code> ) : void <div class="mdesc">
- <div class="short">Remove's this instance from the supplied interaction group</div>
- <div class="long">
- Remove's this instance from the supplied interaction group <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>sGroup</code> : string<div class="sub-desc">The group to drop</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeFromGroup" href="output/Ext.dd.DragDrop.html#removeFromGroup">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-removeInvalidHandleClass"></a>
- <b>removeInvalidHandleClass</b>( <code>string cssClass</code> ) : void <div class="mdesc">
- <div class="short">Unsets an invalid css class</div>
- <div class="long">
- Unsets an invalid css class <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the element(s) you wish to
- re-enable</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleClass" href="output/Ext.dd.DragDrop.html#removeInvalidHandleClass">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-removeInvalidHandleId"></a>
- <b>removeInvalidHandleId</b>( <code>string id</code> ) : void <div class="mdesc">
- <div class="short">Unsets an invalid handle id</div>
- <div class="long">
- Unsets an invalid handle id <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>id</code> : string<div class="sub-desc">the id of the element to re-enable</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleId" href="output/Ext.dd.DragDrop.html#removeInvalidHandleId">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-removeInvalidHandleType"></a>
- <b>removeInvalidHandleType</b>( <code>string tagName</code> ) : void <div class="mdesc">
- <div class="short">Unsets an excluded tag name set by addInvalidHandleType</div>
- <div class="long">
- Unsets an excluded tag name set by addInvalidHandleType <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to unexclude</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleType" href="output/Ext.dd.DragDrop.html#removeInvalidHandleType">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-resetConstraints"></a>
- <b>resetConstraints</b>( <code>boolean maintainOffset</code> ) : void <div class="mdesc">
- <div class="short">resetConstraints must be called if you manually reposition a dd element.</div>
- <div class="long">
- resetConstraints must be called if you manually reposition a dd element. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>maintainOffset</code> : boolean<div class="sub-desc"></div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#resetConstraints" href="output/Ext.dd.DragDrop.html#resetConstraints">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-setDragElId"></a>
- <b>setDragElId</b>( <code>id {string}</code> ) : void <div class="mdesc">
- <div class="short">Allows you to specify that an element other than the linked element
- will be moved with the cursor during a drag</div>
- <div class="long">
- Allows you to specify that an element other than the linked element
- will be moved with the cursor during a drag <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to initiate the drag</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setDragElId" href="output/Ext.dd.DragDrop.html#setDragElId">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-setHandleElId"></a>
- <b>setHandleElId</b>( <code>id {string}</code> ) : void <div class="mdesc">
- <div class="short">Allows you to specify a child of the linked element that should be
- used to initiate the drag operation. An example o...</div>
- <div class="long">
- Allows you to specify a child of the linked element that should be
- used to initiate the drag operation. An example of this would be if
- you have a content div with text and links. Clicking anywhere in the
- content area would normally start the drag operation. Use this method
- to specify that an element inside of the content div is the element
- that starts the drag operation. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to
- initiate the drag.</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setHandleElId" href="output/Ext.dd.DragDrop.html#setHandleElId">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-setInitialPosition"></a>
- <b>setInitialPosition</b>( <code>int diffX</code>, <code>int diffY</code> ) : void <div class="mdesc">
- <div class="short">Stores the initial placement of the linked element.</div>
- <div class="long">
- Stores the initial placement of the linked element. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>diffX</code> : int<div class="sub-desc">the X offset, default 0</div></li><li><code>diffY</code> : int<div class="sub-desc">the Y offset, default 0</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setInitialPosition" href="output/Ext.dd.DragDrop.html#setInitialPosition">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-setOuterHandleElId"></a>
- <b>setOuterHandleElId</b>( <code>id the</code> ) : void <div class="mdesc">
- <div class="short">Allows you to set an element outside of the linked element as a drag
- handle</div>
- <div class="long">
- Allows you to set an element outside of the linked element as a drag
- handle <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>the</code> : id<div class="sub-desc">id of the element that will be used to initiate the drag</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setOuterHandleElId" href="output/Ext.dd.DragDrop.html#setOuterHandleElId">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-setPadding"></a>
- <b>setPadding</b>( <code>int iTop</code>, <code>int iRight</code>, <code>int iBot</code>, <code>int iLeft</code> ) : void <div class="mdesc">
- <div class="short">Configures the padding for the target zone in px. Effectively expands
- (or reduces) the virtual object size for targe...</div>
- <div class="long">
- Configures the padding for the target zone in px. Effectively expands
- (or reduces) the virtual object size for targeting calculations.
- Supports css-style shorthand; if only one parameter is passed, all sides
- will have that padding, and if only two are passed, the top and bottom
- will have the first param, the left and right the second. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>iTop</code> : int<div class="sub-desc">Top pad</div></li><li><code>iRight</code> : int<div class="sub-desc">Right pad</div></li><li><code>iBot</code> : int<div class="sub-desc">Bot pad</div></li><li><code>iLeft</code> : int<div class="sub-desc">Left pad</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setPadding" href="output/Ext.dd.DragDrop.html#setPadding">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-setXConstraint"></a>
- <b>setXConstraint</b>( <code>int iLeft</code>, <code>int iRight</code>, <code>int iTickSize</code> ) : void <div class="mdesc">
- <div class="short">By default, the element can be dragged any place on the screen. Use
- this method to limit the horizontal travel of th...</div>
- <div class="long">
- By default, the element can be dragged any place on the screen. Use
- this method to limit the horizontal travel of the element. Pass in
- 0,0 for the parameters if you want to lock the drag to the y axis. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>iLeft</code> : int<div class="sub-desc">the number of pixels the element can move to the left</div></li><li><code>iRight</code> : int<div class="sub-desc">the number of pixels the element can move to the
- right</div></li><li><code>iTickSize</code> : int<div class="sub-desc">optional parameter for specifying that the
- element
- should move iTickSize pixels at a time.</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setXConstraint" href="output/Ext.dd.DragDrop.html#setXConstraint">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-setYConstraint"></a>
- <b>setYConstraint</b>( <code>int iUp</code>, <code>int iDown</code>, <code>int iTickSize</code> ) : void <div class="mdesc">
- <div class="short">By default, the element can be dragged any place on the screen. Set
- this to limit the vertical travel of the element...</div>
- <div class="long">
- By default, the element can be dragged any place on the screen. Set
- this to limit the vertical travel of the element. Pass in 0,0 for the
- parameters if you want to lock the drag to the x axis. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>iUp</code> : int<div class="sub-desc">the number of pixels the element can move up</div></li><li><code>iDown</code> : int<div class="sub-desc">the number of pixels the element can move down</div></li><li><code>iTickSize</code> : int<div class="sub-desc">optional parameter for specifying that the
- element should move iTickSize pixels at a time.</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setYConstraint" href="output/Ext.dd.DragDrop.html#setYConstraint">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-startDrag"></a>
- <b>startDrag</b>( <code>int X</code>, <code>int Y</code> ) : void <div class="mdesc">
- <div class="short">Abstract method called after a drag/drop object is clicked
- and the drag or mousedown time thresholds have beeen met.</div>
- <div class="long">
- Abstract method called after a drag/drop object is clicked
- and the drag or mousedown time thresholds have beeen met. <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li><code>X</code> : int<div class="sub-desc">click location</div></li><li><code>Y</code> : int<div class="sub-desc">click location</div></li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#startDrag" href="output/Ext.dd.DragDrop.html#startDrag">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-toString"></a>
- <b>toString</b>() : string <div class="mdesc">
- <div class="short">toString method</div>
- <div class="long">
- toString method <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>string</code><div class="sub-desc">string representation of the dd obj</div></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#toString" href="output/Ext.dd.DragDrop.html#toString">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-unlock"></a>
- <b>unlock</b>() : void <div class="mdesc">
- <div class="short">Unlock this instace</div>
- <div class="long">
- Unlock this instace <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unlock" href="output/Ext.dd.DragDrop.html#unlock">DragDrop</a></td>
- </tr>
- <tr class="method-row inherited alt expandable">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
- <td class="sig">
- <a id="Ext.dd.DropZone-unreg"></a>
- <b>unreg</b>() : void <div class="mdesc">
- <div class="short">Remove all drag and drop hooks for this element</div>
- <div class="long">
- Remove all drag and drop hooks for this element <div class="mdetail-params">
- <strong>Parameters:</strong>
- <ul><li>None.</li> </ul>
- <strong>Returns:</strong>
- <ul>
- <li><code>void</code></li>
- </ul>
- </div>
- </div>
- </div>
- </td>
- <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unreg" href="output/Ext.dd.DragDrop.html#unreg">DragDrop</a></td>
- </tr>
- </table>
- <a id="Ext.dd.DropZone-events"></a>
- <h2>Public Events</h2>
- <div class="no-members">This class has no public events.</div>
- </div>
|