+++ /dev/null
-{
- "name" : "Roo.dd.StatusProxy",
- "augments" : [
- ],
- "desc" : "A specialized drag proxy that supports a drop status icon, {@link Roo.Layer} styles and auto-repair. This is the\ndefault drag proxy used by all Roo.dd components.",
- "isSingleton" : false,
- "isStatic" : false,
- "isBuiltin" : false,
- "memberOf" : "StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- {
- "name" : "config",
- "type" : "Object",
- "desc" : "",
- "isOptional" : false
- }
- ],
- "returns" : [
- ],
- "config" : [
- {
- "name" : "dropNotAllowed",
- "type" : "String",
- "desc" : "The CSS class to apply to the status element when drop is not allowed (defaults to \"x-dd-drop-nodrop\").",
- "memberOf" : "Roo.dd.StatusProxy",
- "values" : [
- ]
- },
- {
- "name" : "dropAllowed",
- "type" : "String",
- "desc" : "The CSS class to apply to the status element when drop is allowed (defaults to \"x-dd-drop-ok\").",
- "memberOf" : "Roo.dd.StatusProxy",
- "values" : [
- ]
- }
- ],
- "methods" : [
- {
- "name" : "reset",
- "desc" : "Resets the status indicator to the default dropNotAllowed value",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- {
- "name" : "clearGhost",
- "type" : "Boolean",
- "desc" : "True to also remove all content from the ghost, false to preserve it",
- "isOptional" : false
- }
- ],
- "returns" : [
- ]
- },
- {
- "name" : "getGhost",
- "desc" : "Returns the ghost element",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- ],
- "returns" : [
- {
- "name" : "",
- "type" : "Roo.Element",
- "desc" : "el"
- }
- ]
- },
- {
- "name" : "getEl",
- "desc" : "Returns the underlying proxy {@link Roo.Layer}",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- ],
- "returns" : [
- {
- "name" : "",
- "type" : "Roo.Layer",
- "desc" : "el"
- }
- ]
- },
- {
- "name" : "sync",
- "desc" : "Force the Layer to sync its shadow and shim positions to the element",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- ],
- "returns" : [
- ]
- },
- {
- "name" : "hide",
- "desc" : "Hides the proxy",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- {
- "name" : "clear",
- "type" : "Boolean",
- "desc" : "True to reset the status and clear the ghost contents, false to preserve them",
- "isOptional" : false
- }
- ],
- "returns" : [
- ]
- },
- {
- "name" : "show",
- "desc" : "Displays this proxy",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- ],
- "returns" : [
- ]
- },
- {
- "name" : "stop",
- "desc" : "Stops the repair animation if it's currently running",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- ],
- "returns" : [
- ]
- },
- {
- "name" : "setStatus",
- "desc" : "Updates the proxy's visual element to indicate the status of whether or not drop is allowed\nover the current target element.",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- {
- "name" : "cssClass",
- "type" : "String",
- "desc" : "The css class for the new drop status indicator image",
- "isOptional" : false
- }
- ],
- "returns" : [
- ]
- },
- {
- "name" : "update",
- "desc" : "Updates the contents of the ghost element",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- {
- "name" : "html",
- "type" : "String",
- "desc" : "The html that will replace the current innerHTML of the ghost element",
- "isOptional" : false
- }
- ],
- "returns" : [
- ]
- },
- {
- "name" : "repair",
- "desc" : "Causes the proxy to return to its position of origin via an animation. Should be called after an\ninvalid drop operation by the item being dragged.",
- "isStatic" : false,
- "isConstructor" : false,
- "isPrivate" : false,
- "memberOf" : "Roo.dd.StatusProxy",
- "example" : "",
- "deprecated" : "",
- "since" : "",
- "see" : "",
- "params" : [
- {
- "name" : "xy",
- "type" : "Array",
- "desc" : "The XY position of the element ([x, y])",
- "isOptional" : false
- },
- {
- "name" : "callback",
- "type" : "Function",
- "desc" : "The function to call after the repair is complete",
- "isOptional" : false
- },
- {
- "name" : "scope",
- "type" : "Object",
- "desc" : "The scope in which to execute the callback",
- "isOptional" : false
- }
- ],
- "returns" : [
- ]
- }
- ],
- "events" : [
- ]
-}
\ No newline at end of file