X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..refs/heads/master:/docs/output/Ext.data.NodeInterface.js?ds=sidebyside diff --git a/docs/output/Ext.data.NodeInterface.js b/docs/output/Ext.data.NodeInterface.js index 72140d28..e838aaf8 100644 --- a/docs/output/Ext.data.NodeInterface.js +++ b/docs/output/Ext.data.NodeInterface.js @@ -1,2010 +1 @@ -Ext.data.JsonP.Ext_data_NodeInterface({ - "allMixins": [ - - ], - "deprecated": null, - "docauthor": null, - "members": { - "cfg": [ - - ], - "method": [ - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-addStatics", - "shortDoc": "Add / override static properties of this class. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "members" - } - ], - "name": "addStatics", - "owner": "Ext.Base", - "doc": "
Add / override static properties of this class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n
\n",
- "linenr": 388,
- "return": {
- "type": "Ext.Base",
- "doc": "this
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-appendChild", - "shortDoc": "Insert node(s) as the last child node of this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node/Array", - "optional": false, - "doc": "The node or Array of nodes to append
\n", - "name": "node" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressEvents" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressNodeUpdate" - } - ], - "name": "appendChild", - "owner": "Ext.data.NodeInterface", - "doc": "Insert node(s) as the last child node of this node.
\n\n\nIf the node was previously a child node of another parent node, it will be removed from that node first.
\n\n", - "linenr": 332, - "return": { - "type": "Node", - "doc": "The appended node if single append, or null if an array was passed
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-bubble", - "shortDoc": "Bubbles up the tree from this node, calling the specified function with each node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "The function to call
\n", - "name": "fn" - }, - { - "type": "Object", - "optional": true, - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the current Node.
(optional) The args to call the function with (default to passing the current Node)
\n", - "name": "args" - } - ], - "name": "bubble", - "owner": "Ext.data.NodeInterface", - "doc": "Bubbles up the tree from this node, calling the specified function with each 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.
\n", - "linenr": 707, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-callOverridden", - "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Array/Arguments", - "optional": false, - "doc": "The arguments, either an array or the arguments
object
Call the original method that was previously overridden with Ext.Base.override
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\n",
- "linenr": 269,
- "return": {
- "type": "Mixed",
- "doc": "Returns the result after calling the overridden method
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-callParent", - "shortDoc": "Call the parent's overridden method. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Array/Arguments", - "optional": false, - "doc": "The arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Call the parent's overridden method. For example:
\n\nExt.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n
\n",
- "linenr": 124,
- "return": {
- "type": "Mixed",
- "doc": "Returns the result from the superclass' method
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-cascadeBy", - "shortDoc": "Cascades down the tree from this node, calling the specified function with each node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "The function to call
\n", - "name": "fn" - }, - { - "type": "Object", - "optional": true, - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the current Node.
(optional) The args to call the function with (default to passing the current Node)
\n", - "name": "args" - } - ], - "name": "cascadeBy", - "owner": "Ext.data.NodeInterface", - "doc": "Cascades down the tree from this node, calling the specified function with each 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.
\n", - "linenr": 734, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-collapse", - "shortDoc": "Collapse this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "(Optional) True to recursively collapse all the children
\n", - "name": "recursive" - }, - { - "type": "Function", - "optional": false, - "doc": "(Optional) The function to execute once the collapse completes
\n", - "name": "callback" - }, - { - "type": "Object", - "optional": false, - "doc": "(Optional) The scope to run the callback in
\n", - "name": "scope" - } - ], - "name": "collapse", - "owner": "Ext.data.NodeInterface", - "doc": "Collapse this node.
\n", - "linenr": 1006, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-collapseChildren", - "shortDoc": "Collapse all the children of this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "(Optional) True to recursively collapse all the children
\n", - "name": "recursive" - }, - { - "type": "Function", - "optional": false, - "doc": "(Optional) The function to execute once all the children are collapsed
\n", - "name": "callback" - }, - { - "type": "Object", - "optional": false, - "doc": "(Optional) The scope to run the callback in
\n", - "name": "scope" - } - ], - "name": "collapseChildren", - "owner": "Ext.data.NodeInterface", - "doc": "Collapse all the children of this node.
\n", - "linenr": 1043, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-contains", - "shortDoc": "Returns true if this node is an ancestor (at any point) of the passed node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "\n", - "name": "node" - } - ], - "name": "contains", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is an ancestor (at any point) of the passed node.
\n", - "linenr": 815, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-copy", - "shortDoc": "Creates a copy (clone) of this Node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "String", - "optional": true, - "doc": "(optional) A new id, defaults to this Node's id. See id
.
(optional)
If passed as true
, all child Nodes are recursively copied into the new Node.
If omitted or false, the copy will have no child Nodes.
\n\n", - "name": "deep" - } - ], - "name": "copy", - "owner": "Ext.data.NodeInterface", - "doc": "Creates a copy (clone) of this Node.
\n", - "linenr": 475, - "return": { - "type": "Node", - "doc": "A copy of this Node.
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-create", - "shortDoc": "Create a new instance of this Class. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - - ], - "name": "create", - "owner": "Ext.Base", - "doc": "Create a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\n", - "linenr": 329, - "return": { - "type": "Object", - "doc": "the created instance.
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-createAlias", - "shortDoc": "Create aliases for existing prototype methods. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "String/Object", - "optional": false, - "doc": "The new method name, or an object to set multiple aliases. See\nflexSetter
\n", - "name": "alias" - }, - { - "type": "String/Object", - "optional": false, - "doc": "The original method name
\n", - "name": "origin" - } - ], - "name": "createAlias", - "owner": "Ext.Base", - "doc": "Create aliases for existing prototype methods. Example:
\n\nExt.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\n",
- "linenr": 648,
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "html_filename": "Base3.html"
- },
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "method",
- "href": "NodeInterface.html#Ext-data-NodeInterface-method-createNode",
- "shortDoc": "Ensures that the passed object is an instance of a Record with the NodeInterface applied ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js",
- "private": false,
- "params": [
- {
- "type": "Object",
- "optional": false,
- "doc": "\n",
- "name": "node"
- }
- ],
- "name": "createNode",
- "owner": "Ext.data.NodeInterface",
- "doc": "Ensures that the passed object is an instance of a Record with the NodeInterface applied
\n", - "linenr": 214, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-decorate", - "shortDoc": "This method allows you to decorate a Record's prototype to implement the NodeInterface. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Ext.data.Record", - "optional": false, - "doc": "The Record you want to decorate the prototype of.
\n", - "name": "record" - } - ], - "name": "decorate", - "owner": "Ext.data.NodeInterface", - "doc": "This method allows you to decorate a Record's prototype to implement the NodeInterface.\nThis adds a set of methods, new events, new properties and new fields on every Record\nwith the same Model as the passed Record.
\n", - "linenr": 12, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-destroy", - "shortDoc": "Destroys the node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "silent" - } - ], - "name": "destroy", - "owner": "Ext.data.NodeInterface", - "doc": "Destroys the node.
\n", - "linenr": 512, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-eachChild", - "shortDoc": "Interates the child nodes of this node, calling the specified function with each node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "The function to call
\n", - "name": "fn" - }, - { - "type": "Object", - "optional": true, - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the current Node in the iteration.
(optional) The args to call the function with (default to passing the current Node)
\n", - "name": "args" - } - ], - "name": "eachChild", - "owner": "Ext.data.NodeInterface", - "doc": "Interates the child nodes of this node, calling the specified function with each 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.
\n", - "linenr": 754, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-expand", - "shortDoc": "Expand this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "(Optional) True to recursively expand all the children
\n", - "name": "recursive" - }, - { - "type": "Function", - "optional": false, - "doc": "(Optional) The function to execute once the expand completes
\n", - "name": "callback" - }, - { - "type": "Object", - "optional": false, - "doc": "(Optional) The scope to run the callback in
\n", - "name": "scope" - } - ], - "name": "expand", - "owner": "Ext.data.NodeInterface", - "doc": "Expand this node.
\n", - "linenr": 924, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-expandChildren", - "shortDoc": "Expand all the children of this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "(Optional) True to recursively expand all the children
\n", - "name": "recursive" - }, - { - "type": "Function", - "optional": false, - "doc": "(Optional) The function to execute once all the children are expanded
\n", - "name": "callback" - }, - { - "type": "Object", - "optional": false, - "doc": "(Optional) The scope to run the callback in
\n", - "name": "scope" - } - ], - "name": "expandChildren", - "owner": "Ext.data.NodeInterface", - "doc": "Expand all the children of this node.
\n", - "linenr": 975, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-findChild", - "shortDoc": "Finds the first child that has the attribute with the specified value. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "The attribute name
\n", - "name": "attribute" - }, - { - "type": "Mixed", - "optional": false, - "doc": "The value to search for
\n", - "name": "value" - }, - { - "type": "Boolean", - "optional": false, - "doc": "(Optional) True to search through nodes deeper than the immediate children
\n", - "name": "deep" - } - ], - "name": "findChild", - "owner": "Ext.data.NodeInterface", - "doc": "Finds the first child that has the attribute with the specified value.
\n", - "linenr": 774, - "return": { - "type": "Node", - "doc": "The found child or null if none was found
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-findChildBy", - "shortDoc": "Finds the first child by a custom function. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "A function which must return true
if the passed Node is the required Node.
(optional) The scope (this
reference) in which the function is executed. Defaults to the Node being tested.
(Optional) True to search through nodes deeper than the immediate children
\n", - "name": "deep" - } - ], - "name": "findChildBy", - "owner": "Ext.data.NodeInterface", - "doc": "Finds the first child by a custom function. The child matches if the function passed returns true
.
The found child or null if none was found
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-getChildAt", - "shortDoc": "Returns the child node at the specified index. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Number", - "optional": false, - "doc": "\n", - "name": "index" - } - ], - "name": "getChildAt", - "owner": "Ext.data.NodeInterface", - "doc": "Returns the child node at the specified index.
\n", - "linenr": 667, - "return": { - "type": "Node", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-getDepth", - "shortDoc": "Returns depth of this node (the root node has a depth of 0) ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "getDepth", - "owner": "Ext.data.NodeInterface", - "doc": "Returns depth of this node (the root node has a depth of 0)
\n", - "linenr": 699, - "return": { - "type": "Number", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-getName", - "shortDoc": "Get the current class' name in string format. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - - ], - "name": "getName", - "owner": "Ext.Base", - "doc": "Get the current class' name in string format.
\n\nExt.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\n",
- "linenr": 631,
- "return": {
- "type": "String",
- "doc": "className
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-hasChildNodes", - "shortDoc": "Returns true if this node has one or more child nodes, else false. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "hasChildNodes", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node has one or more child nodes, else false.
\n", - "linenr": 310, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-implement", - "shortDoc": "Add methods / properties to the prototype of this class. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "members" - } - ], - "name": "implement", - "owner": "Ext.Base", - "doc": "Add methods / properties to the prototype of this class.
\n\nExt.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\n",
- "linenr": 415,
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "html_filename": "Base3.html"
- },
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "method",
- "href": "NodeInterface.html#Ext-data-NodeInterface-method-indexOf",
- "shortDoc": "Returns the index of a child node ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js",
- "private": false,
- "params": [
- {
- "type": "Node",
- "optional": false,
- "doc": "\n",
- "name": "node"
- }
- ],
- "name": "indexOf",
- "owner": "Ext.data.NodeInterface",
- "doc": "Returns the index of a child node
\n", - "linenr": 690, - "return": { - "type": "Number", - "doc": "The index of the node or -1 if it was not found
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-initConfig", - "shortDoc": "Initialize configuration for this class. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "config" - } - ], - "name": "initConfig", - "owner": "Ext.Base", - "doc": "Initialize configuration for this class. a typical example:
\n\nExt.define('My.awesome.Class', {\n // The default config\n config: {\n name: 'Awesome',\n isAwesome: true\n },\n\n constructor: function(config) {\n this.initConfig(config);\n\n return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\n",
- "linenr": 63,
- "return": {
- "type": "Object",
- "doc": "mixins The mixin prototypes as key - value pairs
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-insertBefore", - "shortDoc": "Inserts the first node before the second node in this nodes childNodes collection. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "The node to insert
\n", - "name": "node" - }, - { - "type": "Node", - "optional": false, - "doc": "The node to insert before (if null the node is appended)
\n", - "name": "refNode" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressEvents" - } - ], - "name": "insertBefore", - "owner": "Ext.data.NodeInterface", - "doc": "Inserts the first node before the second node in this nodes childNodes collection.
\n", - "linenr": 540, - "return": { - "type": "Node", - "doc": "The inserted node
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-insertChild", - "shortDoc": "Insert a node into this node ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Number", - "optional": false, - "doc": "The zero-based index to insert the node at
\n", - "name": "index" - }, - { - "type": "Ext.data.Model", - "optional": false, - "doc": "The node to insert
\n", - "name": "node" - } - ], - "name": "insertChild", - "owner": "Ext.data.NodeInterface", - "doc": "Insert a node into this node
\n", - "linenr": 622, - "return": { - "type": "Ext.data.Record", - "doc": "The record you just inserted
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isAncestor", - "shortDoc": "Returns true if the passed node is an ancestor (at any point) of this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "\n", - "name": "node" - } - ], - "name": "isAncestor", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if the passed node is an ancestor (at any point) of this node.
\n", - "linenr": 824, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isExpandable", - "shortDoc": "Returns true if this node has one or more child nodes, or if the expandable\nnode attribute is explicitly specified as...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isExpandable", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node has one or more child nodes, or if the expandable\nnode attribute is explicitly specified as true (see attributes), otherwise returns false.
\n", - "linenr": 318, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isExpanded", - "shortDoc": "Returns true if this node is expaned ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isExpanded", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is expaned
\n", - "linenr": 877, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isFirst", - "shortDoc": "Returns true if this node is the first child of its parent ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isFirst", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is the first child of its parent
\n", - "linenr": 302, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isLast", - "shortDoc": "Returns true if this node is the last child of its parent ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isLast", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is the last child of its parent
\n", - "linenr": 294, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isLeaf", - "shortDoc": "Returns true if this node is a leaf ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isLeaf", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is a leaf
\n", - "linenr": 226, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isLoaded", - "shortDoc": "Returns true if this node is loaded ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isLoaded", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is loaded
\n", - "linenr": 885, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isLoading", - "shortDoc": "Returns true if this node is loading ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isLoading", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is loading
\n", - "linenr": 893, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isRoot", - "shortDoc": "Returns true if this node is the root node ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isRoot", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is the root node
\n", - "linenr": 901, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-isVisible", - "shortDoc": "Returns true if this node is visible ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - - ], - "name": "isVisible", - "owner": "Ext.data.NodeInterface", - "doc": "Returns true if this node is visible
\n", - "linenr": 909, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-override", - "shortDoc": "Override prototype members of this class. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "members" - } - ], - "name": "override", - "owner": "Ext.Base", - "doc": "Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\n",
- "linenr": 518,
- "return": {
- "type": "Ext.Base",
- "doc": "this
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-remove", - "shortDoc": "Removes this node from its parent ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Boolean", - "optional": false, - "doc": "true to destroy the node upon removal. Defaults to false.
\n", - "name": "destroy" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressEvents" - } - ], - "name": "remove", - "owner": "Ext.data.NodeInterface", - "doc": "Removes this node from its parent
\n", - "linenr": 638, - "return": { - "type": "Node", - "doc": "this
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-removeAll", - "shortDoc": "Removes all child nodes from this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Boolean", - "optional": false, - "doc": "true to destroy the node upon removal. Defaults to false.
\n", - "name": "destroy" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressEvents" - } - ], - "name": "removeAll", - "owner": "Ext.data.NodeInterface", - "doc": "Removes all child nodes from this node.
\n", - "linenr": 652, - "return": { - "type": "Node", - "doc": "this
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-removeChild", - "shortDoc": "Removes a child node from this node. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "The node to remove
\n", - "name": "node" - }, - { - "type": "Boolean", - "optional": false, - "doc": "true to destroy the node upon removal. Defaults to false.
\n", - "name": "destroy" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressEvents" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressNodeUpdate" - } - ], - "name": "removeChild", - "owner": "Ext.data.NodeInterface", - "doc": "Removes a child node from this node.
\n", - "linenr": 421, - "return": { - "type": "Node", - "doc": "The removed node
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-replaceChild", - "shortDoc": "Replaces one child node in this node with another. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "The replacement node
\n", - "name": "newChild" - }, - { - "type": "Node", - "optional": false, - "doc": "The node to replace
\n", - "name": "oldChild" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "suppressEvents" - } - ], - "name": "replaceChild", - "owner": "Ext.data.NodeInterface", - "doc": "Replaces one child node in this node with another.
\n", - "linenr": 676, - "return": { - "type": "Node", - "doc": "The replaced node
\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "NodeInterface.html#Ext-data-NodeInterface-method-sort", - "shortDoc": "Sorts this nodes children using the supplied sort function. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Function", - "optional": false, - "doc": "A function which, when passed two Nodes, returns -1, 0 or 1 depending upon required sort order.
\n", - "name": "fn" - }, - { - "type": "Boolean", - "optional": false, - "doc": "Whether or not to apply this sort recursively
\n", - "name": "recursive" - }, - { - "type": "Boolean", - "optional": false, - "doc": "Set to true to not fire a sort event.
\n", - "name": "suppressEvent" - } - ], - "name": "sort", - "owner": "Ext.data.NodeInterface", - "doc": "Sorts this nodes children using the supplied sort function.
\n", - "linenr": 840, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-statics", - "shortDoc": "Get the reference to the class from which this object was instantiated. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - - ], - "name": "statics", - "owner": "Ext.Base", - "doc": "Get the reference to the class from which this object was instantiated. Note that unlike Ext.Base.self,\nthis.statics()
is scope-independent and it always returns the class from which it was called, regardless of what\nthis
points to during run-time
Ext.define('My.Cat', {\n statics: {\n totalCreated: 0,\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n var statics = this.statics();\n\n alert(statics.speciesName); // always equals to 'Cat' no matter what 'this' refers to\n // equivalent to: My.Cat.speciesName\n\n alert(this.self.speciesName); // dependent on 'this'\n\n statics.totalCreated++;\n\n return this;\n },\n\n clone: function() {\n var cloned = new this.self; // dependent on 'this'\n\n cloned.groupName = this.statics().speciesName; // equivalent to: My.Cat.speciesName\n\n return cloned;\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n },\n\n constructor: function() {\n this.callParent();\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\nalert(clone.groupName); // alerts 'Cat'\n\nalert(My.Cat.totalCreated); // alerts 3\n
\n",
- "linenr": 199,
- "return": {
- "type": "Class",
- "doc": "\n"
- },
- "html_filename": "Base3.html"
- },
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "method",
- "href": "NodeInterface.html#Ext-data-NodeInterface-method-updateInfo",
- "shortDoc": "Updates general data of this node like isFirst, isLast, depth. ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js",
- "private": false,
- "params": [
- {
- "type": "Object",
- "optional": false,
- "doc": "\n",
- "name": "silent"
- }
- ],
- "name": "updateInfo",
- "owner": "Ext.data.NodeInterface",
- "doc": "Updates general data of this node like isFirst, isLast, depth. This\nmethod is internally called after a node is moved. This shouldn't\nhave to be called by the developer unless they are creating custom\nTree plugins.
\n", - "linenr": 252, - "return": { - "type": "Boolean", - "doc": "\n" - }, - "html_filename": "NodeInterface.html" - } - ], - "property": [ - { - "type": "Class", - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "property", - "href": "Base3.html#Ext-Base-property-self", - "shortDoc": "Get the reference to the current class from which this object was instantiated. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "name": "self", - "owner": "Ext.Base", - "doc": "Get the reference to the current class from which this object was instantiated. Unlike Ext.Base.statics,\nthis.self
is scope-dependent and it's meant to be used for dynamic inheritance. See Ext.Base.statics\nfor a detailed comparison
Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); / dependent on 'this'\n\n return this;\n },\n\n clone: function() {\n return new this.self();\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\n
\n",
- "linenr": 18,
- "html_filename": "Base3.html"
- }
- ],
- "cssVar": [
-
- ],
- "cssMixin": [
-
- ],
- "event": [
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "event",
- "href": "NodeInterface.html#Ext-data-NodeInterface-event-append",
- "shortDoc": "Fires when a new child node is appended ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js",
- "private": false,
- "params": [
- {
- "type": "Node",
- "optional": false,
- "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The newly appended node
\n", - "name": "node" - }, - { - "type": "Number", - "optional": false, - "doc": "The index of the newly appended node
\n", - "name": "index" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "append", - "owner": "Ext.data.NodeInterface", - "doc": "Fires when a new child node is appended
\n", - "linenr": 78, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-beforeappend", - "shortDoc": "Fires before a new child is appended, return false to cancel the append. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The child node to be appended
\n", - "name": "node" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "beforeappend", - "owner": "Ext.data.NodeInterface", - "doc": "Fires before a new child is appended, return false to cancel the append.
\n", - "linenr": 114, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-beforecollapse", - "shortDoc": "Fires before this node is collapsed. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "The collapsing node
\n", - "name": "this" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "beforecollapse", - "owner": "Ext.data.NodeInterface", - "doc": "Fires before this node is collapsed.
\n", - "linenr": 170, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-beforeexpand", - "shortDoc": "Fires before this node is expanded. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "The expanding node
\n", - "name": "this" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "beforeexpand", - "owner": "Ext.data.NodeInterface", - "doc": "Fires before this node is expanded.
\n", - "linenr": 163, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-beforeinsert", - "shortDoc": "Fires before a new child is inserted, return false to cancel the insert. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The child node to be inserted
\n", - "name": "node" - }, - { - "type": "Node", - "optional": false, - "doc": "The child node the node is being inserted before
\n", - "name": "refNode" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "beforeinsert", - "owner": "Ext.data.NodeInterface", - "doc": "Fires before a new child is inserted, return false to cancel the insert.
\n", - "linenr": 140, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-beforemove", - "shortDoc": "Fires before this node is moved to a new location in the tree. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The parent of this node
\n", - "name": "oldParent" - }, - { - "type": "Node", - "optional": false, - "doc": "The new parent this node is moving to
\n", - "name": "newParent" - }, - { - "type": "Number", - "optional": false, - "doc": "The index it is being moved to
\n", - "name": "index" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "beforemove", - "owner": "Ext.data.NodeInterface", - "doc": "Fires before this node is moved to a new location in the tree. Return false to cancel the move.
\n", - "linenr": 130, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-beforeremove", - "shortDoc": "Fires before a child is removed, return false to cancel the remove. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The child node to be removed
\n", - "name": "node" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "beforeremove", - "owner": "Ext.data.NodeInterface", - "doc": "Fires before a child is removed, return false to cancel the remove.
\n", - "linenr": 122, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-collapse", - "shortDoc": "Fires when this node is collapsed. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "The collapsing node
\n", - "name": "this" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "collapse", - "owner": "Ext.data.NodeInterface", - "doc": "Fires when this node is collapsed.
\n", - "linenr": 156, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-expand", - "shortDoc": "Fires when this node is expanded. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "The expanding node
\n", - "name": "this" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "expand", - "owner": "Ext.data.NodeInterface", - "doc": "Fires when this node is expanded.
\n", - "linenr": 149, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-insert", - "shortDoc": "Fires when a new child node is inserted. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The child node inserted
\n", - "name": "node" - }, - { - "type": "Node", - "optional": false, - "doc": "The child node the node was inserted before
\n", - "name": "refNode" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "insert", - "owner": "Ext.data.NodeInterface", - "doc": "Fires when a new child node is inserted.
\n", - "linenr": 105, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-move", - "shortDoc": "Fires when this node is moved to a new location in the tree ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The old parent of this node
\n", - "name": "oldParent" - }, - { - "type": "Node", - "optional": false, - "doc": "The new parent of this node
\n", - "name": "newParent" - }, - { - "type": "Number", - "optional": false, - "doc": "The index it was moved to
\n", - "name": "index" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "move", - "owner": "Ext.data.NodeInterface", - "doc": "Fires when this node is moved to a new location in the tree
\n", - "linenr": 95, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-remove", - "shortDoc": "Fires when a child node is removed ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node
\n", - "name": "this" - }, - { - "type": "Node", - "optional": false, - "doc": "The removed node
\n", - "name": "node" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "remove", - "owner": "Ext.data.NodeInterface", - "doc": "Fires when a child node is removed
\n", - "linenr": 87, - "html_filename": "NodeInterface.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "event", - "href": "NodeInterface.html#Ext-data-NodeInterface-event-sort", - "shortDoc": "Fires when this node's childNodes are sorted. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "params": [ - { - "type": "Node", - "optional": false, - "doc": "This node.
\n", - "name": "this" - }, - { - "type": "Array", - "optional": false, - "doc": "childNodes of this node.
\n", - "name": "The" - }, - { - "type": "Object", - "tagname": "param", - "name": "options", - "doc": "The options object passed to Ext.util.Observable.addListener.
\n" - } - ], - "name": "sort", - "owner": "Ext.data.NodeInterface", - "doc": "Fires when this node's childNodes are sorted.
\n", - "linenr": 177, - "html_filename": "NodeInterface.html" - } - ] - }, - "singleton": false, - "alias": null, - "superclasses": [ - "Ext.Base" - ], - "protected": false, - "tagname": "class", - "mixins": [ - - ], - "href": "NodeInterface.html#Ext-data-NodeInterface", - "subclasses": [ - - ], - "static": false, - "author": null, - "component": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/NodeInterface.js", - "private": false, - "alternateClassNames": [ - - ], - "name": "Ext.data.NodeInterface", - "doc": "This class is meant to be used as a set of methods that are applied to the prototype of a\nRecord to decorate it with a Node API. This means that models used in conjunction with a tree\nwill have all of the tree related methods available on the model. In general this class will\nnot be used directly by the developer.
\n", - "mixedInto": [ - - ], - "linenr": 1, - "xtypes": [ - - ], - "html_filename": "NodeInterface.html", - "extends": "Ext.Base" -}); \ No newline at end of file +Ext.data.JsonP.Ext_data_NodeInterface({"tagname":"class","html":"Hierarchy
Ext.BaseExt.data.NodeInterfaceRequires
Files
This class is used as a set of methods that are applied to the prototype of a\nModel to decorate it with a Node API. This means that models used in conjunction with a tree\nwill have all of the tree related methods available on the model. In general this class will\nnot be used directly by the developer. This class also creates extra fields on the model if\nthey do not exist, to help maintain the tree state and UI. These fields are documented as\nconfig options.
\nSet to false to deny dragging of this node.
\nDefaults to: true
Set to false to deny dropping on this node.
\nDefaults to: true
Set to true or false to show a checkbox alongside this node.
\nDefaults to: null
The number of parents this node has. A root node has depth 0, a child of it depth 1, and so on...
\nSet to true to allow for expanding/collapsing of this node.
\nDefaults to: false
An URL for a link that's created when this config is specified.
\nAn URL for a link that's created when this config is specified.
\nThe position of the node inside its parent. When parent has 4 children and the node is third amongst them,\nindex will be 2.
\nSet to true to indicate that this child can have no children. The expand icon/arrow will then not be\nrendered for this node.
\nDefaults to: false
True if the node has finished loading.
\nDefaults to: false
An array of this nodes children. Array will be empty if this node has no chidren.
\nA reference to this node's first child node. null
if this node has no children.
A reference to this node's last child node. null
if this node has no children.
A reference to this node's next sibling node. null
if this node does not have a next sibling.
A reference to this node's parent node. null
if this node is the root node.
A reference to this node's previous sibling node. null
if this node does not have a previous sibling.
Get the reference to the current class from which this object was instantiated. Unlike statics,\nthis.self
is scope-dependent and it's meant to be used for dynamic inheritance. See statics\nfor a detailed comparison
Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); / dependent on 'this'\n\n return this;\n },\n\n clone: function() {\n return new this.self();\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\n
\nInserts node(s) as the last child node of this node.
\n\nIf the node was previously a child node of another parent node, it will be removed from that node first.
\nThe node or Array of nodes to append
\nThe appended node if single append, or null if an array was passed
\nBubbles up the tree from this node, calling the specified function with each 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.
\nCall the original method that was previously overridden with override
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\nThe arguments, either an array or the arguments
object
Returns the result after calling the overridden method
\nCall the parent's overridden method. For example:
\n\nExt.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n
\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Returns the result from the superclass' method
\nCascades down the tree from this node, calling the specified function with each 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.
\nReturns true if this node is an ancestor (at any point) of the passed node.
\nCreates a copy (clone) of this Node.
\nA new id, defaults to this Node's id.
\nTrue to recursively copy all child Nodes into the new Node.\nFalse to copy without child Nodes.
\nDefaults to: false
A copy of this Node.
\nInterates the child nodes of this node, calling the specified function with each 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.
\nFinds the first child that has the attribute with the specified value.
\nThe attribute name
\nThe value to search for
\nTrue to search through nodes deeper than the immediate children
\nDefaults to: false
The found child or null if none was found
\nFinds the first child by a custom function. The child matches if the function passed returns true.
\nA function which must return true if the passed Node is the required Node.
\nThe scope (this reference) in which the function is executed. Defaults to the Node being tested.
\nTrue to search through nodes deeper than the immediate children
\nDefaults to: false
The found child or null if none was found
\nReturns the index of a child node
\nThe index of the node or -1 if it was not found
\nInitialize configuration for this class. a typical example:
\n\nExt.define('My.awesome.Class', {\n // The default config\n config: {\n name: 'Awesome',\n isAwesome: true\n },\n\n constructor: function(config) {\n this.initConfig(config);\n\n return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\nmixins The mixin prototypes as key - value pairs
\nInserts the first node before the second node in this nodes childNodes collection.
\nThe node to insert
\nThe node to insert before (if null the node is appended)
\nThe inserted node
\nInsert a node into this node
\nThe zero-based index to insert the node at
\nThe node to insert
\nThe record you just inserted
\nReturns true if the passed node is an ancestor (at any point) of this node.
\nReturns true if this node has one or more child nodes, or if the expandable\nnode attribute is explicitly specified as true, otherwise returns false.
\nRemoves this node from its parent
\nTrue to destroy the node upon removal.
\nDefaults to: false
this
\nRemoves all child nodes from this node.
\n<True to destroy the node upon removal.
\nDefaults to: false
this
\nRemoves a child node from this node.
\nThe node to remove
\nTrue to destroy the node upon removal.
\nDefaults to: false
The removed node
\nReplaces one child node in this node with another.
\nThe replacement node
\nThe node to replace
\nThe replaced node
\nSorts this nodes children using the supplied sort function.
\nGet the reference to the class from which this object was instantiated. Note that unlike self,\nthis.statics()
is scope-independent and it always returns the class from which it was called, regardless of what\nthis
points to during run-time
Ext.define('My.Cat', {\n statics: {\n totalCreated: 0,\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n var statics = this.statics();\n\n alert(statics.speciesName); // always equals to 'Cat' no matter what 'this' refers to\n // equivalent to: My.Cat.speciesName\n\n alert(this.self.speciesName); // dependent on 'this'\n\n statics.totalCreated++;\n\n return this;\n },\n\n clone: function() {\n var cloned = new this.self; // dependent on 'this'\n\n cloned.groupName = this.statics().speciesName; // equivalent to: My.Cat.speciesName\n\n return cloned;\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n },\n\n constructor: function() {\n this.callParent();\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\nalert(clone.groupName); // alerts 'Cat'\n\nalert(My.Cat.totalCreated); // alerts 3\n
\nAdd / override static properties of this class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n
\nthis
\nBorrow another class' members to the prototype of this class.
\n\nExt.define('Bank', {\n money: '$$$',\n printMoney: function() {\n alert('$$$$$$$');\n }\n});\n\nExt.define('Thief', {\n ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n
\nThe class to borrow members from
\nThe names of the members to borrow
\nthis
\nCreate a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\nthe created instance.
\nCreate aliases for existing prototype methods. Example:
\n\nExt.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\nThe new method name, or an object to set multiple aliases. See\nflexSetter
\nThe original method name
\nThis method allows you to decorate a Record's prototype to implement the NodeInterface.\nThis adds a set of methods, new events, new properties and new fields on every Record\nwith the same Model as the passed Record.
\nThe Record you want to decorate the prototype of.
\nGet the current class' name in string format.
\n\nExt.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\nclassName
\nAdd methods / properties to the prototype of this class.
\n\nExt.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\nOverride prototype members of this class. Overridden methods can be invoked via\ncallOverridden
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\nthis
\nFires when a new child node is appended
\nThis node
\nThe newly appended node
\nThe index of the newly appended node
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a new child is appended, return false to cancel the append.
\nThis node
\nThe child node to be appended
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before this node is collapsed.
\nThe collapsing node
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before this node is expanded.
\nThe expanding node
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a new child is inserted, return false to cancel the insert.
\nThis node
\nThe child node to be inserted
\nThe child node the node is being inserted before
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before this node is moved to a new location in the tree. Return false to cancel the move.
\nThis node
\nThe parent of this node
\nThe new parent this node is moving to
\nThe index it is being moved to
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a child is removed, return false to cancel the remove.
\nThis node
\nThe child node to be removed
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this node is collapsed.
\nThe collapsing node
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this node is expanded.
\nThe expanding node
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a new child node is inserted.
\nThis node
\nThe child node inserted
\nThe child node the node was inserted before
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this node is moved to a new location in the tree
\nThis node
\nThe old parent of this node
\nThe new parent of this node
\nThe index it was moved to
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a child node is removed
\nThis node
\nThe removed node
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this node's childNodes are sorted.
\nThis node.
\nThe childNodes of this node.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\n