+ "Roo.tree.DefaultSelectionModel" : {
+ "props" : [
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ }
+ ],
+ "events" : [
+ {
+ "name" : "beforeselect",
+ "type" : "function",
+ "desc" : "Fires before the selected node changes, return false to cancel the change",
+ "sig" : "function (_self, node, node)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "selectionchange",
+ "type" : "function",
+ "desc" : "Fires when the selected node changes",
+ "sig" : "function (_self, node)\n{\n\n}",
+ "memberOf" : ""
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "clearSelections",
+ "type" : "function",
+ "desc" : "Clear all selections",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "getSelectedNode",
+ "type" : "function",
+ "desc" : "Get the selected node",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "isSelected",
+ "type" : "function",
+ "desc" : "Returns true if the node is selected",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "select",
+ "type" : "function",
+ "desc" : "Select a node.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "selectNext",
+ "type" : "function",
+ "desc" : "Selects the node above the selected node in the tree, intelligently walking the nodes",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "selectPrevious",
+ "type" : "function",
+ "desc" : "Selects the node above the selected node in the tree, intelligently walking the nodes",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "unselect",
+ "type" : "function",
+ "desc" : "Deselect a node.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.tree.MultiSelectionModel" : {
+ "props" : [
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ }
+ ],
+ "events" : [
+ {
+ "name" : "selectionchange",
+ "type" : "function",
+ "desc" : "Fires when the selected nodes change",
+ "sig" : "function (_self, nodes)\n{\n\n}",
+ "memberOf" : ""
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "clearSelections",
+ "type" : "function",
+ "desc" : "Clear all selections",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "getSelectedNodes",
+ "type" : "function",
+ "desc" : "Returns an array of the selected nodes",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "isSelected",
+ "type" : "function",
+ "desc" : "Returns true if the node is selected",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "select",
+ "type" : "function",
+ "desc" : "Select a node.",
+ "sig" : "(node, e, keepExisting)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "unselect",
+ "type" : "function",
+ "desc" : "Deselect a node.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.tree.TreeEditor" : {
+ "props" : [
+ {
+ "name" : "actionMode",
+ "type" : "String",
+ "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "alignment",
+ "type" : "String",
+ "desc" : "The position to align to (see {@link Roo.Element#alignTo} for more details, defaults to \"l-l\").",
+ "memberOf" : ""
+ },
+ {
+ "name" : "allowDomMove",
+ "type" : "Boolean",
+ "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "autosize",
+ "type" : "Boolean/String",
+ "desc" : "True for the editor to automatically adopt the size of the underlying field, \"width\" to adopt the width only,\nor \"height\" to adopt the height only (defaults to false)",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "cancelOnEsc",
+ "type" : "Boolean",
+ "desc" : "True to cancel the edit when the escape key is pressed (defaults to false)",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "cls",
+ "type" : "String",
+ "desc" : "CSS class to apply to the editor (defaults to \"x-small-editor x-tree-editor\")",
+ "memberOf" : ""
+ },
+ {
+ "name" : "completeOnEnter",
+ "type" : "Boolean",
+ "desc" : "True to complete the edit when the enter key is pressed (defaults to false)",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "constrain",
+ "type" : "Boolean",
+ "desc" : "True to constrain the editor to the viewport",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "disableClass",
+ "type" : "String",
+ "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "field",
+ "type" : "Roo.form.TextField|Object",
+ "desc" : "The field configuration",
+ "memberOf" : ""
+ },
+ {
+ "name" : "hideEl",
+ "type" : "Boolean",
+ "desc" : "True to hide the bound element while the editor is displayed (defaults to false)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "hideMode",
+ "type" : "String",
+ "desc" : [
+ "(display",
+ "visibility)"
+ ],
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "ignoreNoChange",
+ "type" : "Boolean",
+ "desc" : "True to skip the the edit completion process (no save, no events fired) if the user completes an edit and\nthe value has not changed (defaults to false). Applies only to string values - edits for other data types\nwill never be ignored.",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "maxWidth",
+ "type" : "Number",
+ "desc" : "The maximum width in pixels of the editor field (defaults to 250). Note that if the maxWidth would exceed\nthe containing tree element's size, it will be automatically limited for you to the container width, taking\nscroll and client offsets into account prior to each edit.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "revertInvalid",
+ "type" : "Boolean",
+ "desc" : "True to automatically revert the field value and cancel the edit when the user completes an edit and the field\nvalidation fails (defaults to true)",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "shadow",
+ "type" : "Boolean/String",
+ "desc" : "\"sides\" for sides/bottom only, \"frame\" for 4-way shadow, and \"drop\"\nfor bottom-right shadow (defaults to \"frame\")",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "shim",
+ "type" : "Boolean",
+ "desc" : "True to shim the editor if selects/iframes could be displayed beneath it (defaults to false)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "tree",
+ "type" : "Roo.tree.TreePanel",
+ "desc" : "The tree to bind to.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "updateEl",
+ "type" : "Boolean",
+ "desc" : "True to update the innerHTML of the bound element when the update completes (defaults to false)",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "value",
+ "type" : "Mixed",
+ "desc" : "The data value of the underlying field (defaults to \"\")",
+ "memberOf" : "Roo.Editor"
+ }
+ ],
+ "events" : [
+ {
+ "name" : "beforecomplete",
+ "type" : "function",
+ "desc" : "Fires after a change has been made to the field, but before the change is reflected in the underlying\nfield. Saving the change to the field can be canceled by returning false from the handler of this event.\nNote that if the value has not changed and ignoreNoChange = true, the editing will still end but this\nevent will not fire since no edit actually occurred.",
+ "sig" : "function (_self, value, startValue)\n{\n\n}",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "beforedestroy",
+ "type" : "function",
+ "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "beforehide",
+ "type" : "function",
+ "desc" : "Fires before the component is hidden. Return false to stop the hide.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "beforenodeedit",
+ "type" : "function",
+ "desc" : "Fires when editing is initiated, but before the value changes. Editing can be canceled by returning\nfalse from the handler of this event.",
+ "sig" : "function (_self, node)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforerender",
+ "type" : "function",
+ "desc" : "Fires before the component is rendered. Return false to stop the render.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "beforeshow",
+ "type" : "function",
+ "desc" : "Fires before the component is shown. Return false to stop the show.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "beforestartedit",
+ "type" : "function",
+ "desc" : "Fires when editing is initiated, but before the value changes. Editing can be canceled by returning\nfalse from the handler of this event.",
+ "sig" : "function (_self, boundEl, value)\n{\n\n}",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "complete",
+ "type" : "function",
+ "desc" : "Fires after editing is complete and any changed value has been written to the underlying field.",
+ "sig" : "function (_self, value, startValue)\n{\n\n}",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "destroy",
+ "type" : "function",
+ "desc" : "Fires after the component is destroyed.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "disable",
+ "type" : "function",
+ "desc" : "Fires after the component is disabled.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "enable",
+ "type" : "function",
+ "desc" : "Fires after the component is enabled.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "hide",
+ "type" : "function",
+ "desc" : "Fires after the component is hidden.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "render",
+ "type" : "function",
+ "desc" : "Fires after the component is rendered.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "show",
+ "type" : "function",
+ "desc" : "Fires after the component is shown.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "specialkey",
+ "type" : "function",
+ "desc" : "Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check\n{@link Roo.EventObject#getKey} to determine which key was pressed.",
+ "sig" : "function (_self, e)\n{\n\n}",
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "startedit",
+ "type" : "function",
+ "desc" : "Fires when this editor is displayed",
+ "sig" : "function (boundEl, value)\n{\n\n}",
+ "memberOf" : "Roo.Editor"
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "cancelEdit",
+ "type" : "function",
+ "desc" : "Cancels the editing process and hides the editor without persisting any changes. The field value will be\nreverted to the original starting value.",
+ "sig" : "(remainVisible)",
+ "static" : false,
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "completeEdit",
+ "type" : "function",
+ "desc" : "Ends the editing process, persists the changed value to the underlying field, and hides the editor.",
+ "sig" : "(remainVisible)",
+ "static" : false,
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "destroy",
+ "type" : "function",
+ "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "disable",
+ "type" : "function",
+ "desc" : "Disable this component.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "enable",
+ "type" : "function",
+ "desc" : "Enable this component.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "focus",
+ "type" : "function",
+ "desc" : "Try to focus this component.",
+ "sig" : "(selectText)",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "getEl",
+ "type" : "function",
+ "desc" : "Returns the underlying {@link Roo.Element}.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "getId",
+ "type" : "function",
+ "desc" : "Returns the id of this component.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "getValue",
+ "type" : "function",
+ "desc" : "Gets the data value of the editor",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "hide",
+ "type" : "function",
+ "desc" : "Hide this component.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "isVisible",
+ "type" : "function",
+ "desc" : "Returns true if this component is visible.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "realign",
+ "type" : "function",
+ "desc" : "Realigns the editor to the bound field based on the current alignment config value.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "render",
+ "type" : "function",
+ "desc" : "If this is a lazy rendering component, render it to its container element.",
+ "sig" : "(container)",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "setDisabled",
+ "type" : "function",
+ "desc" : "Convenience function for setting disabled/enabled by boolean.",
+ "sig" : "(disabled)",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "setSize",
+ "type" : "function",
+ "desc" : "Sets the height and width of this editor.",
+ "sig" : "(width, height)",
+ "static" : false,
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "setValue",
+ "type" : "function",
+ "desc" : "Sets the data value of the editor",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "setVisible",
+ "type" : "function",
+ "desc" : "Convenience function to hide or show this component by boolean.",
+ "sig" : "(visible)",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "show",
+ "type" : "function",
+ "desc" : "Show this component.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.Component"
+ },
+ {
+ "name" : "startEdit",
+ "type" : "function",
+ "desc" : "Starts the editing process and shows the editor.",
+ "sig" : "(el, value)",
+ "static" : false,
+ "memberOf" : "Roo.Editor"
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ }
+ ]
+ },
+ "Roo.tree.TreeFilter" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ {
+ "name" : "clear",
+ "type" : "function",
+ "desc" : "Clears the current filter. Note: with the \"remove\" option\nset a filter cannot be cleared.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "filter",
+ "type" : "function",
+ "desc" : "Filter the data by a specific attribute.",
+ "sig" : "(value, attr, startNode)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "filterBy",
+ "type" : "function",
+ "desc" : "Filter by a function. The passed function will be called with each\nnode in the tree (or from the startNode). If the function returns true, the node is kept\notherwise it is filtered. If a node is filtered, its children are also filtered.",
+ "sig" : "(fn, scope)",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.tree.TreeLoader" : {
+ "props" : [
+ {
+ "name" : "baseAttrs",
+ "type" : "Object",
+ "desc" : "(optional) An object containing attributes to be added to all nodes\ncreated by this loader. If the attributes sent by the server have an attribute in this object,\nthey take priority.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "baseParams",
+ "type" : "Object",
+ "desc" : "(optional) An object containing properties which\nspecify HTTP parameters to be passed to each request for child nodes.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "clearOnLoad",
+ "type" : "Boolean",
+ "desc" : "(optional) Default to true. Remove previously existing\nchild nodes before loading.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "dataUrl",
+ "type" : "String",
+ "desc" : "The URL from which to request a Json string which\nspecifies an array of node definition object representing the child nodes\nto be loaded.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "queryParam",
+ "type" : "String",
+ "desc" : "(optional) \nName of the query as it will be passed on the querystring (defaults to 'node')\neg. the request will be ?node=[id]",
+ "memberOf" : ""
+ },
+ {
+ "name" : "requestMethod",
+ "type" : "String",
+ "desc" : "either GET or POST\ndefaults to POST (due to BC)\nto be loaded.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "root",
+ "type" : "String",
+ "desc" : "(optional) Default to false. Use this to read data from an object \nproperty on loading, rather than expecting an array. (eg. more compatible to a standard\nGrid query { data : [ .....] }",
+ "memberOf" : ""
+ },
+ {
+ "name" : "uiProviders",
+ "type" : "Object",
+ "desc" : "(optional) An object containing properties which\n\nDEPRECATED - use 'create' event handler to modify attributes - which affect creation.\nspecify custom {@link Roo.tree.TreeNodeUI} implementations. If the optional\n<i>uiProvider</i> attribute of a returned child node is a string rather\nthan a reference to a TreeNodeUI implementation, this that string value\nis used as a property name in the uiProviders object. You can define the provider named\n'default' , and this will be used for all nodes (if no uiProvider is delivered by the node data)",
+ "memberOf" : ""
+ }
+ ],
+ "events" : [
+ {
+ "name" : "beforeload",
+ "type" : "function",
+ "desc" : "Fires before a network request is made to retrieve the Json text which specifies a node's children.",
+ "sig" : "function (This, node, callback)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "create",
+ "type" : "function",
+ "desc" : "Fires before a node is created, enabling you to return custom Node types",
+ "sig" : "function (This, attr)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "load",
+ "type" : "function",
+ "desc" : "Fires when the node has been successfuly loaded.",
+ "sig" : "function (This, node, response)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "loadexception",
+ "type" : "function",
+ "desc" : "Fires if the network request failed.",
+ "sig" : "function (This, node, response)\n{\n\n}",
+ "memberOf" : ""
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "load",
+ "type" : "function",
+ "desc" : "Load an {@link Roo.tree.TreeNode} from the URL specified in the constructor.\nThis is called automatically when a node is expanded, but may be used to reload\na node (or append new children if the {@link #clearOnLoad} option is false.)",
+ "sig" : "(node, callback)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ }
+ ]
+ },
+ "Roo.tree.TreeNode" : {
+ "props" : [
+ {
+ "name" : "allowDrag",
+ "type" : "Boolean",
+ "desc" : "false to make this node undraggable if DD is on (defaults to true)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "allowDrop",
+ "type" : "Boolean",
+ "desc" : "false if this node cannot be drop on",
+ "memberOf" : ""
+ },
+ {
+ "name" : "checked",
+ "type" : "Boolean",
+ "desc" : "True to render a checked checkbox for this node, false to render an unchecked checkbox\n(defaults to undefined with no checkbox rendered)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "cls",
+ "type" : "String",
+ "desc" : "A css class to be added to the node",
+ "memberOf" : ""
+ },
+ {
+ "name" : "disabled",
+ "type" : "Boolean",
+ "desc" : "true to start the node disabled",
+ "memberOf" : ""
+ },
+ {
+ "name" : "expanded",
+ "type" : "Boolean",
+ "desc" : "true to start the node expanded",
+ "memberOf" : ""
+ },
+ {
+ "name" : "href",
+ "type" : "String",
+ "desc" : "URL of the link used for the node (defaults to #)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "hrefTarget",
+ "type" : "String",
+ "desc" : "target frame for the link",
+ "memberOf" : ""
+ },
+ {
+ "name" : "icon",
+ "type" : "String",
+ "desc" : "The path to an icon for the node. The preferred way to do this",
+ "memberOf" : ""
+ },
+ {
+ "name" : "iconCls",
+ "type" : "String",
+ "desc" : "A css class to be added to the nodes icon element for applying css background images",
+ "memberOf" : ""
+ },
+ {
+ "name" : "id",
+ "type" : "String",
+ "desc" : "The id for this node. If one is not specified, one is generated.",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "leaf",
+ "type" : "Boolean",
+ "desc" : "true if this node is a leaf and does not have children",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "qtip",
+ "type" : "String",
+ "desc" : "An Ext QuickTip for the node",
+ "memberOf" : ""
+ },
+ {
+ "name" : "qtipCfg",
+ "type" : "String",
+ "desc" : "An Ext QuickTip config for the node (used instead of qtip)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "singleClickExpand",
+ "type" : "Boolean",
+ "desc" : "True for single click expand on this node",
+ "memberOf" : ""
+ },
+ {
+ "name" : "text",
+ "type" : "String",
+ "desc" : "The text for this node",
+ "memberOf" : ""
+ },
+ {
+ "name" : "uiProvider",
+ "type" : "Function",
+ "desc" : "A UI <b>class</b> to use for this node (defaults to Roo.tree.TreeNodeUI)",
+ "memberOf" : ""
+ }
+ ],
+ "events" : [
+ {
+ "name" : "append",
+ "type" : "function",
+ "desc" : "Fires when a new child node is appended",
+ "sig" : "function (tree, _self, node, index)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "beforeappend",
+ "type" : "function",
+ "desc" : "Fires before a new child is appended, return false to cancel the append.",
+ "sig" : "function (tree, _self, node)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "beforechildrenrendered",
+ "type" : "function",
+ "desc" : "Fires right before the child nodes for this node are rendered",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeclick",
+ "type" : "function",
+ "desc" : "Fires before click processing. Return false to cancel the default action.",
+ "sig" : "function (_self, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforecollapse",
+ "type" : "function",
+ "desc" : "Fires before this node is collapsed, return false to cancel.",
+ "sig" : "function (_self, deep, anim)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeexpand",
+ "type" : "function",
+ "desc" : "Fires before this node is expanded, return false to cancel.",
+ "sig" : "function (_self, deep, anim)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeinsert",
+ "type" : "function",
+ "desc" : "Fires before a new child is inserted, return false to cancel the insert.",
+ "sig" : "function (tree, _self, node, refNode)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "beforemove",
+ "type" : "function",
+ "desc" : "Fires before this node is moved to a new location in the tree. Return false to cancel the move.",
+ "sig" : "function (tree, _self, oldParent, newParent, index)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "beforeremove",
+ "type" : "function",
+ "desc" : "Fires before a child is removed, return false to cancel the remove.",
+ "sig" : "function (tree, _self, node)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "checkchange",
+ "type" : "function",
+ "desc" : "Fires when a node with a checkbox's checked property changes",
+ "sig" : "function (_self, checked)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "click",
+ "type" : "function",
+ "desc" : "Fires when this node is clicked",
+ "sig" : "function (_self, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "collapse",
+ "type" : "function",
+ "desc" : "Fires when this node is collapsed",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "contextmenu",
+ "type" : "function",
+ "desc" : "Fires when this node is right clicked",
+ "sig" : "function (_self, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "dblclick",
+ "type" : "function",
+ "desc" : "Fires when this node is double clicked",
+ "sig" : "function (_self, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "disabledchange",
+ "type" : "function",
+ "desc" : "Fires when the disabled status of this node changes",
+ "sig" : "function (_self, disabled)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "expand",
+ "type" : "function",
+ "desc" : "Fires when this node is expanded",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "insert",
+ "type" : "function",
+ "desc" : "Fires when a new child node is inserted.",
+ "sig" : "function (tree, _self, node, refNode)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "move",
+ "type" : "function",
+ "desc" : "Fires when this node is moved to a new location in the tree",
+ "sig" : "function (tree, _self, oldParent, newParent, index)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "remove",
+ "type" : "function",
+ "desc" : "Fires when a child node is removed",
+ "sig" : "function (tree, _self, node)\n{\n\n}",
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "textchange",
+ "type" : "function",
+ "desc" : "Fires when the text for this node is changed",
+ "sig" : "function (_self, text, oldText)\n{\n\n}",
+ "memberOf" : ""
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "appendChild",
+ "type" : "function",
+ "desc" : "Insert node(s) as the last child node of this node.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "bubble",
+ "type" : "function",
+ "desc" : "Bubbles up the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe bubble is stopped.",
+ "sig" : "(fn, scope, args)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "cascade",
+ "type" : "function",
+ "desc" : "Cascades down the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe cascade is stopped on that branch.",
+ "sig" : "(fn, scope, args)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "collapse",
+ "type" : "function",
+ "desc" : "Collapse this node.",
+ "sig" : "(deep, anim)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "collapseChildNodes",
+ "type" : "function",
+ "desc" : "Collapse all child nodes",
+ "sig" : "(deep)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "contains",
+ "type" : "function",
+ "desc" : "Returns true if this node is an ancestor (at any point) of the passed node.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "disable",
+ "type" : "function",
+ "desc" : "Disables this node",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "eachChild",
+ "type" : "function",
+ "desc" : "Interates the child nodes of this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe iteration stops.",
+ "sig" : "(fn, scope, args)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "enable",
+ "type" : "function",
+ "desc" : "Enables this node",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "ensureVisible",
+ "type" : "function",
+ "desc" : "Ensures all parent nodes are expanded",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "expand",
+ "type" : "function",
+ "desc" : "Expand this node.",
+ "sig" : "(deep, anim, callback)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "expandChildNodes",
+ "type" : "function",
+ "desc" : "Expand all child nodes",
+ "sig" : "(deep)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "findChild",
+ "type" : "function",
+ "desc" : "Finds the first child that has the attribute with the specified value.",
+ "sig" : "(attribute, value)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "findChildBy",
+ "type" : "function",
+ "desc" : "Finds the first child by a custom function. The child matches if the function passed\nreturns true.",
+ "sig" : "(fn, scope)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "getDepth",
+ "type" : "function",
+ "desc" : "Returns depth of this node (the root node has a depth of 0)",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "getOwnerTree",
+ "type" : "function",
+ "desc" : "Returns the tree this node is in.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "getPath",
+ "type" : "function",
+ "desc" : "Returns the path for this node. The path can be used to expand or select this node programmatically.",
+ "sig" : "(attr)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "getUI",
+ "type" : "function",
+ "desc" : "Returns the UI object for this node",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "indexOf",
+ "type" : "function",
+ "desc" : "Returns the index of a child node",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "insertBefore",
+ "type" : "function",
+ "desc" : "Inserts the first node before the second node in this nodes childNodes collection.",
+ "sig" : "(node, refNode)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "isAncestor",
+ "type" : "function",
+ "desc" : "Returns true if the passed node is an ancestor (at any point) of this node.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "isExpanded",
+ "type" : "function",
+ "desc" : "Returns true if this node is expanded",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "isFirst",
+ "type" : "function",
+ "desc" : "Returns true if this node is the first child of its parent",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "isLast",
+ "type" : "function",
+ "desc" : "Returns true if this node is the last child of its parent",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "isLeaf",
+ "type" : "function",
+ "desc" : "Returns true if this node is a leaf",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "isSelected",
+ "type" : "function",
+ "desc" : "Returns true if this node is selected",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "item",
+ "type" : "function",
+ "desc" : "Returns the child node at the specified index.",
+ "sig" : "(index)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "removeChild",
+ "type" : "function",
+ "desc" : "Removes a child node from this node.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "replaceChild",
+ "type" : "function",
+ "desc" : "Replaces one child node in this node with another.",
+ "sig" : "(newChild, oldChild)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "select",
+ "type" : "function",
+ "desc" : "Triggers selection of this node",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "setText",
+ "type" : "function",
+ "desc" : "Sets the text for this node",
+ "sig" : "(text)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "sort",
+ "type" : "function",
+ "desc" : "Sorts this nodes children using the supplied sort function",
+ "sig" : "(fn, scope)",
+ "static" : false,
+ "memberOf" : "Roo.data.Node"
+ },
+ {
+ "name" : "toggle",
+ "type" : "function",
+ "desc" : "Toggles expanded/collapsed state of the node",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "unselect",
+ "type" : "function",
+ "desc" : "Triggers deselection of this node",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.tree.TreeNodeUI" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ ]
+ },
+ "Roo.tree.TreePanel" : {
+ "props" : [
+ {
+ "name" : "animate",
+ "type" : "Boolean",
+ "desc" : "true to enable animated expand/collapse (defaults to the value of Roo.enableFx)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "containerScroll",
+ "type" : "Boolean",
+ "desc" : "true to register this container with ScrollManager",
+ "memberOf" : ""
+ },
+ {
+ "name" : "ddAppendOnly",
+ "type" : "String",
+ "desc" : "True if the tree should only allow append drops (use for trees which are sorted)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "ddGroup",
+ "type" : "String",
+ "desc" : "The DD group this TreePanel belongs to",
+ "memberOf" : ""
+ },
+ {
+ "name" : "ddScroll",
+ "type" : "Boolean",
+ "desc" : "true to enable YUI body scrolling",
+ "memberOf" : ""
+ },
+ {
+ "name" : "dragConfig",
+ "type" : "Object",
+ "desc" : "Custom config to pass to the {@link Roo.tree.TreeDragZone} instance",
+ "memberOf" : ""
+ },
+ {
+ "name" : "dropConfig",
+ "type" : "Object",
+ "desc" : "Custom config to pass to the {@link Roo.tree.TreeDropZone} instance",
+ "memberOf" : ""
+ },
+ {
+ "name" : "editor",
+ "type" : "Object|Roo.tree.TreeEditor",
+ "desc" : "The TreeEditor or xtype data to display when clicked.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "enableDD",
+ "type" : "Boolean",
+ "desc" : "true to enable drag and drop",
+ "memberOf" : ""
+ },
+ {
+ "name" : "enableDrag",
+ "type" : "Boolean",
+ "desc" : "true to enable just drag",
+ "memberOf" : ""
+ },
+ {
+ "name" : "enableDrop",
+ "type" : "Boolean",
+ "desc" : "true to enable just drop",
+ "memberOf" : ""
+ },
+ {
+ "name" : "hlColor",
+ "type" : "String",
+ "desc" : "The color of the node highlight (defaults to C3DAF9)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "hlDrop",
+ "type" : "Boolean",
+ "desc" : "false to disable node highlight on drop (defaults to the value of Roo.enableFx)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "lines",
+ "type" : "Boolean",
+ "desc" : "false to disable tree lines (defaults to true)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "loader",
+ "type" : "Boolean",
+ "desc" : "A TreeLoader for use with this TreePanel",
+ "memberOf" : ""
+ },
+ {
+ "name" : "pathSeparator",
+ "type" : "String",
+ "desc" : "The token used to separate sub-paths in path strings (defaults to '/')",
+ "memberOf" : ""
+ },
+ {
+ "name" : "renderer",
+ "type" : "Function",
+ "desc" : "DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes. to return HTML markup for the tree view. The render function is called with the following parameters:<ul><li>The {Object} The data for the node.</li></ul>",
+ "memberOf" : ""
+ },
+ {
+ "name" : "rendererTip",
+ "type" : "Function",
+ "desc" : "DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes hovertip to return HTML markup for the tree view. The render function is called with the following parameters:<ul><li>The {Object} The data for the node.</li></ul>",
+ "memberOf" : ""
+ },
+ {
+ "name" : "rootVisible",
+ "type" : "Boolean",
+ "desc" : "false to hide the root node (defaults to true)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "selModel",
+ "type" : "Boolean",
+ "desc" : "A tree selection model to use with this TreePanel (defaults to a {@link Roo.tree.DefaultSelectionModel})",
+ "memberOf" : ""
+ },
+ {
+ "name" : "singleExpand",
+ "type" : "Boolean",
+ "desc" : "true if only 1 node per branch may be expanded",
+ "memberOf" : ""
+ }
+ ],
+ "events" : [
+ {
+ "name" : "append",
+ "type" : "function",
+ "desc" : "Fires when a new child node is appended to a node in this tree.",
+ "sig" : "function (tree, parent, node, index)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "appendnode",
+ "type" : "function",
+ "desc" : "Fires when append node to the tree",
+ "sig" : "function (_self, node, index)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeappend",
+ "type" : "function",
+ "desc" : "Fires before a new child is appended to a node in this tree, return false to cancel the append.",
+ "sig" : "function (tree, parent, node)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "beforechildrenrendered",
+ "type" : "function",
+ "desc" : "Fires right before the child nodes for a node are rendered",
+ "sig" : "function (node)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeclick",
+ "type" : "function",
+ "desc" : "Fires before click processing on a node. Return false to cancel the default action.",
+ "sig" : "function (node, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforecollapse",
+ "type" : "function",
+ "desc" : "Fires before a node is collapsed, return false to cancel.",
+ "sig" : "function (node, deep, anim)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeexpand",
+ "type" : "function",
+ "desc" : "Fires before a node is expanded, return false to cancel.",
+ "sig" : "function (node, deep, anim)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeinsert",
+ "type" : "function",
+ "desc" : "Fires before a new child is inserted in a node in this tree, return false to cancel the insert.",
+ "sig" : "function (tree, parent, node, refNode)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "beforeload",
+ "type" : "function",
+ "desc" : "Fires before a node is loaded, return false to cancel",
+ "sig" : "function (node)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforemove",
+ "type" : "function",
+ "desc" : "Fires before a node is moved to a new location in the tree. Return false to cancel the move.",
+ "sig" : "function (tree, node, oldParent, newParent, index)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "beforenodedrop",
+ "type" : "function",
+ "desc" : "Fires when a DD object is dropped on a node in this tree for preprocessing. Return false to cancel the drop. The dropEvent\npassed to handlers has the following properties:<br />\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>tree - The TreePanel</li>\n<li>target - The node being targeted for the drop</li>\n<li>data - The drag data from the drag source</li>\n<li>point - The point of the drop - append, above or below</li>\n<li>source - The drag source</li>\n<li>rawEvent - Raw mouse event</li>\n<li>dropNode - Drop node(s) provided by the source <b>OR</b> you can supply node(s)\nto be inserted by setting them on this object.</li>\n<li>cancel - Set this to true to cancel the drop.</li>\n</ul>",
+ "sig" : "function (dropEvent)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "beforeremove",
+ "type" : "function",
+ "desc" : "Fires before a child is removed from a node in this tree, return false to cancel the remove.",
+ "sig" : "function (tree, parent, node)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "checkchange",
+ "type" : "function",
+ "desc" : "Fires when a node with a checkbox's checked property changes",
+ "sig" : "function (_self, checked)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "click",
+ "type" : "function",
+ "desc" : "Fires when a node is clicked",
+ "sig" : "function (node, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "collapse",
+ "type" : "function",
+ "desc" : "Fires when a node is collapsed",
+ "sig" : "function (node)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "contextmenu",
+ "type" : "function",
+ "desc" : "Fires when a node is right clicked",
+ "sig" : "function (node, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "dblclick",
+ "type" : "function",
+ "desc" : "Fires when a node is double clicked",
+ "sig" : "function (node, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "disabledchange",
+ "type" : "function",
+ "desc" : "Fires when the disabled status of a node changes",
+ "sig" : "function (node, disabled)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "dragdrop",
+ "type" : "function",
+ "desc" : "Fires when a dragged node is dropped on a valid DD target",
+ "sig" : "function (_self, node, dd, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "enddrag",
+ "type" : "function",
+ "desc" : "Fires when a drag operation is complete",
+ "sig" : "function (_self, node, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "expand",
+ "type" : "function",
+ "desc" : "Fires when a node is expanded",
+ "sig" : "function (node)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "insert",
+ "type" : "function",
+ "desc" : "Fires when a new child node is inserted in a node in this tree.",
+ "sig" : "function (tree, parent, node, refNode)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "load",
+ "type" : "function",
+ "desc" : "Fires when a node is loaded",
+ "sig" : "function (node)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "move",
+ "type" : "function",
+ "desc" : "Fires when a node is moved to a new location in the tree",
+ "sig" : "function (tree, node, oldParent, newParent, index)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "nodedragover",
+ "type" : "function",
+ "desc" : "Fires when a tree node is being targeted for a drag drop, return false to signal drop not allowed. The dragOverEvent\npassed to handlers has the following properties:<br />\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>tree - The TreePanel</li>\n<li>target - The node being targeted for the drop</li>\n<li>data - The drag data from the drag source</li>\n<li>point - The point of the drop - append, above or below</li>\n<li>source - The drag source</li>\n<li>rawEvent - Raw mouse event</li>\n<li>dropNode - Drop node(s) provided by the source.</li>\n<li>cancel - Set this to true to signal drop not allowed.</li>\n</ul>",
+ "sig" : "function (dragOverEvent)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "nodedrop",
+ "type" : "function",
+ "desc" : "Fires after a DD object is dropped on a node in this tree. The dropEvent\npassed to handlers has the following properties:<br />\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>tree - The TreePanel</li>\n<li>target - The node being targeted for the drop</li>\n<li>data - The drag data from the drag source</li>\n<li>point - The point of the drop - append, above or below</li>\n<li>source - The drag source</li>\n<li>rawEvent - Raw mouse event</li>\n<li>dropNode - Dropped node(s).</li>\n</ul>",
+ "sig" : "function (dropEvent)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "remove",
+ "type" : "function",
+ "desc" : "Fires when a child node is removed from a node in this tree.",
+ "sig" : "function (tree, parent, node)\n{\n\n}",
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "startdrag",
+ "type" : "function",
+ "desc" : "Fires when a node starts being dragged",
+ "sig" : "function (_self, node, e)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "textchange",
+ "type" : "function",
+ "desc" : "Fires when the text for a node is changed",
+ "sig" : "function (node, text, oldText)\n{\n\n}",
+ "memberOf" : ""
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "collapseAll",
+ "type" : "function",
+ "desc" : "Collapse all nodes",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "expandAll",
+ "type" : "function",
+ "desc" : "Expand all nodes",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "expandPath",
+ "type" : "function",
+ "desc" : "Expands a specified path in this TreePanel. A path can be retrieved from a node with {@link Roo.data.Node#getPath}",
+ "sig" : "(path, attr, callback)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "getChecked",
+ "type" : "function",
+ "desc" : "Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g. \"id\")",
+ "sig" : "(attribute, startNode)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getEl",
+ "type" : "function",
+ "desc" : "Returns the container element for this TreePanel",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getLoader",
+ "type" : "function",
+ "desc" : "Returns the default TreeLoader for this TreePanel",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getNodeById",
+ "type" : "function",
+ "desc" : "Gets a node in this tree by its id.",
+ "sig" : "(id)",
+ "static" : false,
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "getRootNode",
+ "type" : "function",
+ "desc" : "Returns the root node for this tree.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "getSelectionModel",
+ "type" : "function",
+ "desc" : "Returns the selection model used by this TreePanel",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "render",
+ "type" : "function",
+ "desc" : "Trigger rendering of this TreePanel",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "selectPath",
+ "type" : "function",
+ "desc" : "Selects the node in this tree at the specified path. A path can be retrieved from a node with {@link Roo.data.Node#getPath}",
+ "sig" : "(path, attr, callback)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "setRootNode",
+ "type" : "function",
+ "desc" : "Sets the root node for this tree.",
+ "sig" : "(node)",
+ "static" : false,
+ "memberOf" : "Roo.data.Tree"
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ }
+ ]
+ },
+ "Roo.tree.TreeSorter" : {
+ "props" : [
+ {
+ "name" : "caseSensitive",
+ "type" : "Boolean",
+ "desc" : "true for case sensitive sort (defaults to false)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "dir",
+ "type" : "String",
+ "desc" : "The direction to sort (asc or desc) (defaults to asc)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "folderSort",
+ "type" : "Boolean",
+ "desc" : "True to sort leaf nodes under non leaf nodes",
+ "memberOf" : ""
+ },
+ {
+ "name" : "leafAttr",
+ "type" : "String",
+ "desc" : "The attribute used to determine leaf nodes in folder sort (defaults to \"leaf\")",
+ "memberOf" : ""
+ },
+ {
+ "name" : "property",
+ "type" : "String",
+ "desc" : "The named attribute on the node to sort by (defaults to text)",
+ "memberOf" : ""
+ },
+ {
+ "name" : "sortType",
+ "type" : "Function",
+ "desc" : "A custom \"casting\" function used to convert node values before sorting",
+ "memberOf" : ""
+ }
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ ]
+ },
+ "Roo.util" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ ]
+ },
+ "Roo.util.CSS" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ {
+ "name" : "createStyleSheet",
+ "type" : "function",
+ "desc" : "Very simple dynamic creation of stylesheets from a text blob of rules. The text will wrapped in a style\ntag and appended to the HEAD of the document.",
+ "sig" : "(cssText, id)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getRule",
+ "type" : "function",
+ "desc" : "Gets an an individual CSS rule by selector(s)",
+ "sig" : "(selector, refreshCache)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getRules",
+ "type" : "function",
+ "desc" : "Gets all css rules for the document",
+ "sig" : "(refreshCache)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "refreshCache",
+ "type" : "function",
+ "desc" : "Refresh the rule cache if you have dynamically added stylesheets",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "removeStyleSheet",
+ "type" : "function",
+ "desc" : "Removes a style or link tag by id",
+ "sig" : "(id)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "swapStyleSheet",
+ "type" : "function",
+ "desc" : "Dynamically swaps an existing stylesheet reference for a new one",
+ "sig" : "(id, url)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "updateRule",
+ "type" : "function",
+ "desc" : "Updates a rule property",
+ "sig" : "(selector, property, value)",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.util.ClickRepeater" : {
+ "props" : [
+ {
+ "name" : "accelerate",
+ "type" : "Boolean",
+ "desc" : "True if autorepeating should start slowly and accelerate.\n \"interval\" and \"delay\" are ignored. \"immediate\" is honored.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "delay",
+ "type" : "Number",
+ "desc" : "The initial delay before the repeating event begins firing.\nSimilar to an autorepeat key delay.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "el",
+ "type" : "String/HTMLElement/Element",
+ "desc" : "The element to act as a button.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "interval",
+ "type" : "Number",
+ "desc" : "The interval between firings of the \"click\" event. Default 10 ms.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "pressClass",
+ "type" : "String",
+ "desc" : "A CSS class name to be applied to the element while pressed.",
+ "memberOf" : ""
+ },
+ {
+ "name" : "preventDefault",
+ "type" : "Boolean",
+ "desc" : "True to prevent the default click event",
+ "memberOf" : ""
+ },
+ {
+ "name" : "stopDefault",
+ "type" : "Boolean",
+ "desc" : "True to stop the default click event",
+ "memberOf" : ""
+ }
+ ],
+ "events" : [
+ {
+ "name" : "click",
+ "type" : "function",
+ "desc" : "Fires on a specified interval during the time the element is pressed.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "mousedown",
+ "type" : "function",
+ "desc" : "Fires when the mouse button is depressed.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "mouseup",
+ "type" : "function",
+ "desc" : "Fires when the mouse key is released.",
+ "sig" : "function (_self)\n{\n\n}",
+ "memberOf" : ""
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ }
+ ]
+ },
+ "Roo.util.DelayedTask" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ ]
+ },
+ "Roo.util.Format" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ {
+ "name" : "capitalize",
+ "type" : "function",
+ "desc" : "Converts the first character only of a string to upper case",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "date",
+ "type" : "function",
+ "desc" : "Parse a value into a formatted date using the specified format pattern.",
+ "sig" : "(value, format)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "dateRenderer",
+ "type" : "function",
+ "desc" : "Returns a date rendering function that can be reused to apply a date format multiple times efficiently",
+ "sig" : "(format)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "ellipsis",
+ "type" : "function",
+ "desc" : "Truncate a string and add an ellipsis ('...') to the end if it exceeds the specified length",
+ "sig" : "(value, length)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "htmlDecode",
+ "type" : "function",
+ "desc" : "Convert certain characters (&, <, >, and ') from their HTML character equivalents.",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "htmlEncode",
+ "type" : "function",
+ "desc" : "Convert certain characters (&, <, >, and ') to their HTML character equivalents for literal display in web pages.",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "lowercase",
+ "type" : "function",
+ "desc" : "Converts a string to all lower case letters",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "number",
+ "type" : "function",
+ "desc" : "Format a number\neventually this should probably emulate php's number_format",
+ "sig" : "(value, decimals, delimiter)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "stripTags",
+ "type" : "function",
+ "desc" : "Strips all HTML tags",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "substr",
+ "type" : "function",
+ "desc" : "Returns a substring from within an original string",
+ "sig" : "(value, start, length)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "toFixed",
+ "type" : "function",
+ "desc" : "safer version of Math.toFixed..??/",
+ "sig" : "(value, value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "trim",
+ "type" : "function",
+ "desc" : "Trims any whitespace from either side of a string",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "undef",
+ "type" : "function",
+ "desc" : "Checks a reference and converts it to empty string if it is undefined",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "uppercase",
+ "type" : "function",
+ "desc" : "Converts a string to all upper case letters",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "usMoney",
+ "type" : "function",
+ "desc" : "Format a number as US currency",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.util.JSON" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ ]
+ },
+ "Roo.util.MixedCollection" : {
+ "props" : [
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : "Roo.util.Observable"
+ }
+ ],
+ "events" : [
+ {
+ "name" : "add",
+ "type" : "function",
+ "desc" : "Fires when an item is added to the collection.",
+ "sig" : "function (index, o, key)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "clear",
+ "type" : "function",
+ "desc" : "Fires when the collection is cleared.",
+ "sig" : "function ()\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "remove",
+ "type" : "function",
+ "desc" : "Fires when an item is removed from the collection.",
+ "sig" : "function (o, key)\n{\n\n}",
+ "memberOf" : ""
+ },
+ {
+ "name" : "replace",
+ "type" : "function",
+ "desc" : "Fires when an item is replaced in the collection.",
+ "sig" : "function (key, old, new)\n{\n\n}",
+ "memberOf" : ""
+ }
+ ],
+ "methods" : [
+ {
+ "name" : "add",
+ "type" : "function",
+ "desc" : "Adds an item to the collection.",
+ "sig" : "(key, o)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "addAll",
+ "type" : "function",
+ "desc" : "Adds all elements of an Array or an Object to the collection.",
+ "sig" : "(objs)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "clear",
+ "type" : "function",
+ "desc" : "Removes all items from the collection.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "clone",
+ "type" : "function",
+ "desc" : "Creates a duplicate of this collection",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "contains",
+ "type" : "function",
+ "desc" : "Returns true if the collection contains the passed Object as an item.",
+ "sig" : "(o)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "containsKey",
+ "type" : "function",
+ "desc" : "Returns true if the collection contains the passed Object as a key.",
+ "sig" : "(key)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "each",
+ "type" : "function",
+ "desc" : "Executes the specified function once for every item in the collection, passing each\nitem as the first and only parameter. returning false from the function will stop the iteration.",
+ "sig" : "(fn, scope)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "eachKey",
+ "type" : "function",
+ "desc" : "Executes the specified function once for every key in the collection, passing each\nkey, and its associated item as the first two parameters.",
+ "sig" : "(fn, scope)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "filter",
+ "type" : "function",
+ "desc" : "Filter the <i>objects</i> in this collection by a specific property. \nReturns a new collection that has been filtered.",
+ "sig" : "(property, value)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "filterBy",
+ "type" : "function",
+ "desc" : "Filter by a function. * Returns a new collection that has been filtered.\nThe passed function will be called with each \nobject in the collection. If the function returns true, the value is included \notherwise it is filtered.",
+ "sig" : "(fn, scope)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "find",
+ "type" : "function",
+ "desc" : "Returns the first item in the collection which elicits a true return value from the\npassed selection function.",
+ "sig" : "(fn, scope)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "first",
+ "type" : "function",
+ "desc" : "Returns the first item in the collection.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "get",
+ "type" : "function",
+ "desc" : "Returns the item associated with the passed key or index.",
+ "sig" : "(key)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getCount",
+ "type" : "function",
+ "desc" : "Returns the number of items in the collection.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getKey",
+ "type" : "function",
+ "desc" : "MixedCollection has a generic way to fetch keys if you implement getKey.\n<pre><code>\n// normal way\nvar mc = new Roo.util.MixedCollection();\nmc.add(someEl.dom.id, someEl);\nmc.add(otherEl.dom.id, otherEl);\n//and so on\n\n// using getKey\nvar mc = new Roo.util.MixedCollection();\nmc.getKey = function(el){\n return el.dom.id;\n};\nmc.add(someEl);\nmc.add(otherEl);\n\n// or via the constructor\nvar mc = new Roo.util.MixedCollection(false, function(el){\n return el.dom.id;\n});\nmc.add(someEl);\nmc.add(otherEl);\n</code></pre>",
+ "sig" : "(o)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "getRange",
+ "type" : "function",
+ "desc" : "Returns a range of items in this collection",
+ "sig" : "(startIndex, endIndex)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "indexOf",
+ "type" : "function",
+ "desc" : "Returns index within the collection of the passed Object.",
+ "sig" : "(o)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "indexOfKey",
+ "type" : "function",
+ "desc" : "Returns index within the collection of the passed key.",
+ "sig" : "(key)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "insert",
+ "type" : "function",
+ "desc" : "Inserts an item at the specified index in the collection.",
+ "sig" : "(index, key, o)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "item",
+ "type" : "function",
+ "desc" : "Returns the item associated with the passed key OR index. Key has priority over index.",
+ "sig" : "(key)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "itemAt",
+ "type" : "function",
+ "desc" : "Returns the item at the specified index.",
+ "sig" : "(index)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "key",
+ "type" : "function",
+ "desc" : "Returns the item associated with the passed key.",
+ "sig" : "(key)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "keySort",
+ "type" : "function",
+ "desc" : "Sorts this collection by keys",
+ "sig" : "(direction, fn)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "last",
+ "type" : "function",
+ "desc" : "Returns the last item in the collection.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "remove",
+ "type" : "function",
+ "desc" : "Removed an item from the collection.",
+ "sig" : "(o)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "removeAt",
+ "type" : "function",
+ "desc" : "Remove an item from a specified index in the collection.",
+ "sig" : "(index)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "removeKey",
+ "type" : "function",
+ "desc" : "Removed an item associated with the passed key fom the collection.",
+ "sig" : "(key)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ },
+ {
+ "name" : "replace",
+ "type" : "function",
+ "desc" : "Replaces an item in the collection.",
+ "sig" : "(key, o)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "sort",
+ "type" : "function",
+ "desc" : "Sorts this collection with the passed comparison function",
+ "sig" : "(direction, fn)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : "Roo.util.Observable"
+ }
+ ]
+ },
+ "Roo.util.Observable" : {
+ "props" : [
+ {
+ "name" : "listeners",
+ "type" : "Object",
+ "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
+ "memberOf" : ""
+ }
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ {
+ "name" : "addEvents",
+ "type" : "function",
+ "desc" : "Used to define events on this Observable",
+ "sig" : "(object)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "addListener",
+ "type" : "function",
+ "desc" : "Appends an event handler to this component",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "capture",
+ "type" : "function",
+ "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
+ "sig" : "(o, fn, scope)",
+ "static" : true,
+ "memberOf" : ""
+ },
+ {
+ "name" : "fireEvent",
+ "type" : "function",
+ "desc" : "Fires the specified event with the passed parameters (minus the event name).",
+ "sig" : "(eventName, args)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "hasListener",
+ "type" : "function",
+ "desc" : "Checks to see if this object has any listeners for a specified event",
+ "sig" : "(eventName)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "on",
+ "type" : "function",
+ "desc" : "Appends an event handler to this element (shorthand for addListener)",
+ "sig" : "(eventName, handler, scope, options)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "purgeListeners",
+ "type" : "function",
+ "desc" : "Removes all listeners for this object",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "releaseCapture",
+ "type" : "function",
+ "desc" : "Removes <b>all</b> added captures from the Observable.",
+ "sig" : "(o)",
+ "static" : true,
+ "memberOf" : ""
+ },
+ {
+ "name" : "removeListener",
+ "type" : "function",
+ "desc" : "Removes a listener",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "un",
+ "type" : "function",
+ "desc" : "Removes a listener (shorthand for removeListener)",
+ "sig" : "(eventName, handler, scope)",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.util.TextMetrics" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ {
+ "name" : "createInstance",
+ "type" : "function",
+ "desc" : "Return a unique TextMetrics instance that can be bound directly to an element and reused. This reduces\nthe overhead of multiple calls to initialize the style properties on each measurement.",
+ "sig" : "(el, fixedWidth)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "measure",
+ "type" : "function",
+ "desc" : "Measures the size of the specified text",
+ "sig" : "(el, text, fixedWidth)",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "Roo.util.TextMetrics.Instance" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ ]
+ },
+ "String" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ {
+ "name" : "escape",
+ "type" : "function",
+ "desc" : "Escapes the passed string for ' and \\",
+ "sig" : "(string)",
+ "static" : true,
+ "memberOf" : ""
+ },
+ {
+ "name" : "format",
+ "type" : "function",
+ "desc" : "Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each\ntoken must be unique, and must increment in the format {0}, {1}, etc. Example usage:\n<pre><code>\nvar cls = 'my-class', text = 'Some text';\nvar s = String.format('<div class=\"{0}\">{1}</div>', cls, text);\n// s now contains the string: '<div class=\"my-class\">Some text</div>'\n</code></pre>",
+ "sig" : "(string, value1, value2)",
+ "static" : true,
+ "memberOf" : ""
+ },
+ {
+ "name" : "leftPad",
+ "type" : "function",
+ "desc" : "Pads the left side of a string with a specified character. This is especially useful\nfor normalizing number and date strings. Example usage:\n<pre><code>\nvar s = String.leftPad('123', 5, '0');\n// s now contains the string: '00123'\n</code></pre>",
+ "sig" : "(string, size, char)",
+ "static" : true,
+ "memberOf" : ""
+ },
+ {
+ "name" : "toggle",
+ "type" : "function",
+ "desc" : "Utility function that allows you to easily switch a string between two alternating values. The passed value\nis compared to the current string, and if they are equal, the other value that was passed in is returned. If\nthey are already different, the first value passed in is returned. Note that this method returns the new value\nbut does not change the current string.\n<pre><code>\n// alternate sort directions\nsort = sort.toggle('ASC', 'DESC');\n\n// instead of conditional logic:\nsort = (sort == 'ASC' ? 'DESC' : 'ASC');\n</code></pre>",
+ "sig" : "(value, other)",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "unicodeClean",
+ "type" : "function",
+ "desc" : "Remove invalid unicode characters from a string",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "_global_" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ {
+ "name" : "InlineLexer",
+ "type" : "function",
+ "desc" : "Inline Lexer & Compiler",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "Lexer",
+ "type" : "function",
+ "desc" : "Block Lexer",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "Parser",
+ "type" : "function",
+ "desc" : "eval:var:Parser",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "Renderer",
+ "type" : "function",
+ "desc" : "eval:var:Renderer",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "escape",
+ "type" : "function",
+ "desc" : "Helpers",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "marked",
+ "type" : "function",
+ "desc" : "eval:var:marked",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "merge",
+ "type" : "function",
+ "desc" : "eval:var:merge",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ },
+ {
+ "name" : "noop",
+ "type" : "function",
+ "desc" : "eval:var:noop",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : ""
+ }
+ ]
+ },
+ "this" : {
+ "props" : [
+ ],
+ "events" : [
+ ],
+ "methods" : [
+ ]