Package: | Roo.dd |
Defined In: | Roo/dd/StatusProxy.js. |
Class: | StatusProxy |
Options | Defined By | |
---|---|---|
dropAllowed : String
The CSS class to apply to the status element when drop is allowed (defaults to "x-dd-drop-ok").
The CSS class to apply to the status element when drop is allowed (defaults to "x-dd-drop-ok").
|
Roo.dd.StatusProxy | |
dropNotAllowed : String
The CSS class to apply to the status element when drop is not allowed (defaults to "x-dd-drop-nodrop").
The CSS class to apply to the status element when drop is not allowed (defaults to "x-dd-drop-nodrop").
|
Roo.dd.StatusProxy |
Method | Defined By | |
---|---|---|
new Roo.dd.StatusProxy
(Object config)
Create a new Roo.dd.StatusProxy
Create a new Roo.dd.StatusProxy
|
||
getEl
()
:
Roo.Layer
Returns the underlying proxy {link Roo.Layer}
Returns the underlying proxy {link Roo.Layer}
|
Roo.dd.StatusProxy | |
getGhost
()
:
Roo.Element
Returns the ghost element
Returns the ghost element
|
Roo.dd.StatusProxy | |
hide
(Boolean clear)
Hides the proxy
Hides the proxy
|
Roo.dd.StatusProxy | |
Causes the proxy to return to its position of origin via an animation.
Causes the proxy to return to its position of origin via an animation. Should be called after an
invalid drop operation by the item being dragged. |
Roo.dd.StatusProxy | |
reset
(Boolean clearGhost)
Resets the status indicator to the default dropNotAllowed value
Resets the status indicator to the default dropNotAllowed value
|
Roo.dd.StatusProxy | |
setStatus
(String cssClass)
Updates the proxy's visual element to indicate the status of whether or not drop is allowed
over the current target element.
Updates the proxy's visual element to indicate the status of whether or not drop is allowed
over the current target element.
|
Roo.dd.StatusProxy | |
show
()
Displays this proxy
Displays this proxy
|
Roo.dd.StatusProxy | |
stop
()
Stops the repair animation if it's currently running
Stops the repair animation if it's currently running
|
Roo.dd.StatusProxy | |
sync
()
Force the Layer to sync its shadow and shim positions to the element
Force the Layer to sync its shadow and shim positions to the element
|
Roo.dd.StatusProxy | |
update
(String html)
Updates the contents of the ghost element
Updates the contents of the ghost element
|
Roo.dd.StatusProxy |