1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.dd.StatusProxy</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.dd.StatusProxy-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.dd.StatusProxy-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.dd.StatusProxy-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.dd.StatusProxy-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
50 Class Roo.dd.StatusProxy
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Package:</td><td class="hd-info">Roo.dd</td></tr>
57 <tr><td class="label">Defined In:</td><td class="hd-info">
59 <a href="./src/Roo_dd_StatusProxy.js.html">Roo/dd/StatusProxy.js</a>.
62 <tr><td class="label">Class:</td><td class="hd-info">StatusProxy</td></tr>
70 <!-- ============================== class summary ========================== -->
71 <div class="description">
72 A specialized drag proxy that supports a drop status icon, {<b>link</b> Roo.Layer} styles and auto-repair. This is the<br/>default drag proxy used by all Roo.dd components.
76 <!-- ============================== Class comment block... ========================== -->
78 <div class="comments">
79 <b>Class Comments / Notes</B> =>
80 <u onclick="parent.CommentDialog.showCommentId = 'Roo.dd.StatusProxy';">[Add Your comment/notes about this class]</u>
82 <iframe frameborder="0" id="comments-Roo.dd" style="border: none;width:100%;"
83 src="/blog.php/GtkDjsComments/Roo.dd.StatusProxy.html"></iframe>
88 <!-- ============================== config options ========================== -->
93 <div class="hr"></div>
94 <a id="Roo.dd.StatusProxy-configs"></a>
100 <table cellspacing="0" class="member-table">
101 <caption>Config Options (Usually are also Properties)</caption>
105 <th class="sig-header" colspan="2">Options</th>
107 <th class="msource-header">Defined By</th>
114 <tr class="config-row expandable config-row-alt0 notInherited">
115 <td class="micon"><a class="exi" href="#expand"> </a></td>
118 <a id="Roo.dd.StatusProxy-cfg-dropAllowed" name=".dropAllowed"></a>
119 <div class="fixedFont">
120 <b class="itemname">dropAllowed</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
126 <div class="short">The CSS class to apply to the status element when drop is allowed (defaults to "x-dd-drop-ok").</div>
131 The CSS class to apply to the status element when drop is allowed (defaults to "x-dd-drop-ok").
147 <tr class="config-row expandable config-row-alt1 notInherited">
148 <td class="micon"><a class="exi" href="#expand"> </a></td>
151 <a id="Roo.dd.StatusProxy-cfg-dropNotAllowed" name=".dropNotAllowed"></a>
152 <div class="fixedFont">
153 <b class="itemname">dropNotAllowed</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
159 <div class="short">The CSS class to apply to the status element when drop is not allowed (defaults to "x-dd-drop-nodrop").</div>
164 The CSS class to apply to the status element when drop is not allowed (defaults to "x-dd-drop-nodrop").
190 <!-- ============================== public properties ==================== -->
194 <a id="Roo.dd.StatusProxy-props"></a>
200 <table cellspacing="0" class="member-table">
201 <caption class="Empty">Public Properties - Has None</caption>
207 <!-- ============================== methods summary / details ======================== -->
210 <a id="Roo.dd.StatusProxy-methods"></a>
211 <!-- constructor?? -->
218 <!-- then dynamics first -->
225 <table cellspacing="0" class="member-table">
226 <caption>Public Methods</caption>
228 <th class="sig-header" colspan="2">Method</th>
229 <th class="msource-header">Defined By</th>
239 <tr class="method-row config-row-alt0 expandable notInherited">
240 <td class="micon"><a class="exi" href="#expand"> </a></td>
244 <a id="Roo.dd-method-StatusProxy" name=".StatusProxy"></a>
245 <div class="fixedFont">
246 <span class="attributes">new <B>Roo.dd.</B></span><b class="itemname">StatusProxy</b>
248 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
256 <div class="short">Create a new Roo.dd.StatusProxy</div>
263 Create a new Roo.dd.StatusProxy
266 <dl class="detailList">
267 <dt class="heading">Parameters:</dt>
270 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
297 <tr class="method-row config-row-alt1 expandable notInherited">
298 <td class="micon"><a class="exi" href="#expand"> </a></td>
302 <a id="Roo.dd.StatusProxy-method-getEl" name=".getEl"></a>
303 <div class="fixedFont">
304 <span class="attributes"></span><b class="itemname">getEl</b>
312 <a href="./Roo.Layer.html#constructor" roo:cls="Roo.Layer.html#constructor">Roo.Layer</a>
321 <div class="short">Returns the underlying proxy {<b>link</b> Roo.Layer}</div>
327 Returns the underlying proxy {<b>link</b> Roo.Layer}
338 <dl class="detailList">
339 <dt class="heading">Returns:</dt>
341 <dd><span class="fixedFont"><a href="./Roo.Layer.html#constructor" roo:cls="Roo.Layer.html#constructor">Roo.Layer</a></span> el</dd>
363 <tr class="method-row config-row-alt0 expandable notInherited">
364 <td class="micon"><a class="exi" href="#expand"> </a></td>
368 <a id="Roo.dd.StatusProxy-method-getGhost" name=".getGhost"></a>
369 <div class="fixedFont">
370 <span class="attributes"></span><b class="itemname">getGhost</b>
378 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
387 <div class="short">Returns the ghost element</div>
393 Returns the ghost element
404 <dl class="detailList">
405 <dt class="heading">Returns:</dt>
407 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> el</dd>
429 <tr class="method-row config-row-alt1 expandable notInherited">
430 <td class="micon"><a class="exi" href="#expand"> </a></td>
434 <a id="Roo.dd.StatusProxy-method-hide" name=".hide"></a>
435 <div class="fixedFont">
436 <span class="attributes"></span><b class="itemname">hide</b>
438 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>clear</i></B>)
445 <div class="short">Hides the proxy</div>
458 <dl class="detailList">
459 <dt class="heading">Parameters:</dt>
462 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>clear</b>
465 <dd>True to reset the status and clear the ghost contents, false to preserve them</dd>
491 <tr class="method-row config-row-alt0 expandable notInherited">
492 <td class="micon"><a class="exi" href="#expand"> </a></td>
496 <a id="Roo.dd.StatusProxy-method-repair" name=".repair"></a>
497 <div class="fixedFont">
498 <span class="attributes"></span><b class="itemname">repair</b>
500 (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>xy</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
507 <div class="short">Causes the proxy to return to its position of origin via an animation.</div>
513 Causes the proxy to return to its position of origin via an animation. Should be called after an<br/>invalid drop operation by the item being dragged.
520 <dl class="detailList">
521 <dt class="heading">Parameters:</dt>
524 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>xy</b>
527 <dd>The XY position of the element ([x, y])</dd>
530 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
533 <dd>The function to call after the repair is complete</dd>
536 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
539 <dd>The scope in which to execute the callback</dd>
565 <tr class="method-row config-row-alt1 expandable notInherited">
566 <td class="micon"><a class="exi" href="#expand"> </a></td>
570 <a id="Roo.dd.StatusProxy-method-reset" name=".reset"></a>
571 <div class="fixedFont">
572 <span class="attributes"></span><b class="itemname">reset</b>
574 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>clearGhost</i></B>)
581 <div class="short">Resets the status indicator to the default dropNotAllowed value</div>
587 Resets the status indicator to the default dropNotAllowed value
594 <dl class="detailList">
595 <dt class="heading">Parameters:</dt>
598 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>clearGhost</b>
601 <dd>True to also remove all content from the ghost, false to preserve it</dd>
627 <tr class="method-row config-row-alt0 expandable notInherited">
628 <td class="micon"><a class="exi" href="#expand"> </a></td>
632 <a id="Roo.dd.StatusProxy-method-setStatus" name=".setStatus"></a>
633 <div class="fixedFont">
634 <span class="attributes"></span><b class="itemname">setStatus</b>
636 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>cssClass</i></B>)
643 <div class="short">Updates the proxy's visual element to indicate the status of whether or not drop is allowed<br/>over the current target element.</div>
649 Updates the proxy's visual element to indicate the status of whether or not drop is allowed<br/>over the current target element.
656 <dl class="detailList">
657 <dt class="heading">Parameters:</dt>
660 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>cssClass</b>
663 <dd>The css class for the new drop status indicator image</dd>
689 <tr class="method-row config-row-alt1 expandable notInherited">
690 <td class="micon"><a class="exi" href="#expand"> </a></td>
694 <a id="Roo.dd.StatusProxy-method-show" name=".show"></a>
695 <div class="fixedFont">
696 <span class="attributes"></span><b class="itemname">show</b>
705 <div class="short">Displays this proxy</div>
740 <tr class="method-row config-row-alt0 expandable notInherited">
741 <td class="micon"><a class="exi" href="#expand"> </a></td>
745 <a id="Roo.dd.StatusProxy-method-stop" name=".stop"></a>
746 <div class="fixedFont">
747 <span class="attributes"></span><b class="itemname">stop</b>
756 <div class="short">Stops the repair animation if it's currently running</div>
762 Stops the repair animation if it's currently running
791 <tr class="method-row config-row-alt1 expandable notInherited">
792 <td class="micon"><a class="exi" href="#expand"> </a></td>
796 <a id="Roo.dd.StatusProxy-method-sync" name=".sync"></a>
797 <div class="fixedFont">
798 <span class="attributes"></span><b class="itemname">sync</b>
807 <div class="short">Force the Layer to sync its shadow and shim positions to the element</div>
813 Force the Layer to sync its shadow and shim positions to the element
842 <tr class="method-row config-row-alt0 expandable notInherited">
843 <td class="micon"><a class="exi" href="#expand"> </a></td>
847 <a id="Roo.dd.StatusProxy-method-update" name=".update"></a>
848 <div class="fixedFont">
849 <span class="attributes"></span><b class="itemname">update</b>
851 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>html</i></B>)
858 <div class="short">Updates the contents of the ghost element</div>
864 Updates the contents of the ghost element
871 <dl class="detailList">
872 <dt class="heading">Parameters:</dt>
875 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
878 <dd>The html that will replace the current innerHTML of the ghost element</dd>
907 <!-- ============================== events summary / details ======================== -->
910 <a id="Roo.dd.StatusProxy-events"></a>
916 <table cellspacing="0" class="member-table">
917 <caption class="Empty">Events - Has None</caption>
928 <!-- ============================== footer ================================= -->
929 <div class="fineprint" style="clear:both">
931 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Aug 08 2017 12:05:51 GMT+0800 (HKT)
933 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>