/// <summary> /// @private /// Returns true if the passed node should have a reverse animation from the previous current {@link #node} /// @param {Ext.data.NodeInterface} node /// </summary> public void goToNodeReverseAnimation(NodeInterface node){}
/// <summary> /// Removes all records that used to be descendants of the passed node from the removed array /// </summary> /// <param name="node"> /// </param> private void clearRemoved(NodeInterface node){}
/// <summary> /// Fired when a node is inserted into the root or one of it's children /// @private /// @param {Ext.data.NodeInterface} parent The parent node /// @param {Ext.data.NodeInterface} node The inserted node /// </summary> public void onNodeInsert(NodeInterface parent, NodeInterface node){}
/// <summary> /// Called before a node is collapsed. /// @private /// @param {Ext.data.NodeInterface} node The node being collapsed. /// @param {Function} callback The function to run after the collapse finishes /// @param {Object} scope The scope in which to run the callback function /// </summary> public void onBeforeNodeCollapse(NodeInterface node, JsAction callback, object scope){}
/// <summary> /// Fires when this node is collapsed. /// </summary> /// <param name="this"><p>The collapsing node</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void collapse(NodeInterface @this, object eOpts) { }
/// <summary> /// Fires when a child node is removed /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The removed node</p> /// </param> /// <param name="isMove"><p><c>true</c> if the child node is being removed so it can be moved to another position in the tree. /// (a side effect of calling <see cref="Ext.data.NodeInterface.appendChild">appendChild</see> or /// <see cref="Ext.data.NodeInterface.insertBefore">insertBefore</see> with a node that already has a parentNode)</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void remove(NodeInterface @this, NodeInterface node, bool isMove, object eOpts) { }
/// <summary> /// Inserts the first node before the second node in this nodes childNodes collection. /// </summary> /// <param name="node"><p>The node to insert</p> /// </param> /// <param name="refNode"><p>The node to insert before (if null the node is appended)</p> /// </param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The inserted node</p> /// </div> /// </returns> public NodeInterface insertBefore(NodeInterface node, NodeInterface refNode) { return(null); }
/// <summary> /// Sets the root node for this tree. /// </summary> /// <param name="node"> /// </param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The root node</p> /// </div> /// </returns> public NodeInterface setRootNode(NodeInterface node) { return(null); }
/// <summary> /// Returns true if this node is an ancestor (at any point) of the passed node. /// </summary> /// <param name="node"> /// </param> /// <returns> /// <span><see cref="bool">Boolean</see></span><div> /// </div> /// </returns> public bool contains(NodeInterface node) { return(false); }
/// <summary> /// Returns the index of a child node /// </summary> /// <param name="node"> /// </param> /// <returns> /// <span><see cref="Number">Number</see></span><div><p>The index of the node or -1 if it was not found</p> /// </div> /// </returns> public JsNumber indexOf(NodeInterface node) { return(null); }
/// <summary> /// Fills a node with a series of child records. /// </summary> /// <param name="node"><p>The node to fill</p> /// </param> /// <param name="newNodes"><p>The records to add</p> /// </param> private void fillNode(NodeInterface node, JsArray <Ext.data.Model> newNodes) { }
/// <summary> /// Removes all records that used to be descendants of the passed node from the removed array /// </summary> /// <param name="node"> /// </param> private void clearRemoved(NodeInterface node) { }
/// <summary> /// Fires whenever the store reads data from a remote data source. /// </summary> /// <param name="this"> /// </param> /// <param name="node"><p>The node that was loaded.</p> /// </param> /// <param name="records"><p>An array of records.</p> /// </param> /// <param name="successful"><p>True if the operation was successful.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void load(TreeStore @this, NodeInterface node, JsArray <Ext.data.Model> records, bool successful, object eOpts) { }
/// <summary> /// Fired when a node is appended into the root or one of it's children /// </summary> /// <param name="parent"><p>The parent node</p> /// </param> /// <param name="node"><p>The appended node</p> /// </param> private void onNodeAppend(NodeInterface parent, NodeInterface node) { }
/// <summary> /// Inserts a node into this node. /// </summary> /// <param name="index"><p>The zero-based index to insert the node at</p> /// </param> /// <param name="node"><p>The node to insert</p> /// </param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The node you just inserted</p> /// </div> /// </returns> public NodeInterface insertChild(JsNumber index, NodeInterface node) { return(null); }
/// <summary> /// Fired when a node is inserted into the root or one of it's children /// </summary> /// <param name="parent"><p>The parent node</p> /// </param> /// <param name="node"><p>The inserted node</p> /// </param> private void onNodeInsert(NodeInterface parent, NodeInterface node) { }
/// <summary> /// Returns true if the passed node is an ancestor (at any point) of this node. /// </summary> /// <param name="node"> /// </param> /// <returns> /// <span><see cref="bool">Boolean</see></span><div> /// </div> /// </returns> public bool isAncestor(NodeInterface node) { return(false); }
/// <summary> /// Fires when a new child node is appended /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The newly appended node</p> /// </param> /// <param name="index"><p>The index of the newly appended node</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void append(NodeInterface @this, NodeInterface node, JsNumber index, object eOpts) { }
/// <summary> /// Removes a child node from this node. /// </summary> /// <param name="node"><p>The node to remove</p> /// </param> /// <param name="destroy"><p>True to destroy the node upon removal.</p> /// <p>Defaults to: <c>false</c></p></param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The removed node</p> /// </div> /// </returns> public NodeInterface removeChild(NodeInterface node, object destroy = null) { return(null); }
/// <summary> /// Fires when a new child node is inserted. /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The child node inserted</p> /// </param> /// <param name="refNode"><p>The child node the node was inserted before</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void insert(NodeInterface @this, NodeInterface node, NodeInterface refNode, object eOpts) { }
/// <summary> /// Replaces one child node in this node with another. /// </summary> /// <param name="newChild"><p>The replacement node</p> /// </param> /// <param name="oldChild"><p>The node to replace</p> /// </param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The replaced node</p> /// </div> /// </returns> public NodeInterface replaceChild(NodeInterface newChild, NodeInterface oldChild) { return(null); }
/// <summary> /// Creates new Tree object. /// @param {Ext.data.NodeInterface} root (optional) The root node /// </summary> public Tree(NodeInterface root){}
/// <summary> /// Sets the last child of this node /// </summary> /// <param name="node"> /// </param> private void setLastChild(NodeInterface node) { }
/// <summary> /// Unregisters a node with the tree /// @private /// @param {Ext.data.NodeInterface} The node to unregister /// </summary> public void unregisterNode(NodeInterface node){}
/// <summary> /// Inserts a node into this node. /// </summary> /// <param name="index"><p>The zero-based index to insert the node at</p> /// </param> /// <param name="node"><p>The node to insert</p> /// </param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The node you just inserted</p> /// </div> /// </returns> public NodeInterface insertChild(JsNumber index, NodeInterface node){return null;}
/// <summary> /// The leaf you want to navigate to. You should pass a node instance. /// @param {Ext.data.NodeInterface} node The specified node to navigate to /// </summary> public void goToLeaf(NodeInterface node){}
/// <summary> /// Returns true if the passed node is an ancestor (at any point) of this node. /// </summary> /// <param name="node"> /// </param> /// <returns> /// <span><see cref="bool">Boolean</see></span><div> /// </div> /// </returns> public bool isAncestor(NodeInterface node){return false;}
/// <summary> /// Sorter function for sorting records in index order /// </summary> /// <param name="node1"> /// </param> /// <param name="node2"> /// </param> /// <returns> /// <span><see cref="Number">Number</see></span><div> /// </div> /// </returns> private JsNumber sortByIndex(NodeInterface node1, NodeInterface node2) { return(null); }
/// <summary> /// Removes a child node from this node. /// </summary> /// <param name="node"><p>The node to remove</p> /// </param> /// <param name="destroy"><p>True to destroy the node upon removal.</p> /// <p>Defaults to: <c>false</c></p></param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The removed node</p> /// </div> /// </returns> public NodeInterface removeChild(NodeInterface node, object destroy=null){return null;}
/// <summary> /// Fills a node with a series of child records. /// </summary> /// <param name="node"><p>The node to fill</p> /// </param> /// <param name="newNodes"><p>The records to add</p> /// </param> private void fillNode(NodeInterface node, JsArray<Ext.data.Model> newNodes){}
/// <summary> /// Replaces one child node in this node with another. /// </summary> /// <param name="newChild"><p>The replacement node</p> /// </param> /// <param name="oldChild"><p>The node to replace</p> /// </param> /// <returns> /// <span><see cref="Ext.data.NodeInterface">Ext.data.NodeInterface</see></span><div><p>The replaced node</p> /// </div> /// </returns> public NodeInterface replaceChild(NodeInterface newChild, NodeInterface oldChild){return null;}
/// <summary> /// Fired when a node's id changes. Updates the node's id in the node hash. /// </summary> /// <param name="node"> /// </param> /// <param name="oldId"><p>The old id</p> /// </param> /// <param name="newId"><p>The new id</p> /// </param> private void onNodeIdChanged(NodeInterface node, JsNumber oldId, JsNumber newId) { }
/// <summary> /// Sets the last child of this node /// </summary> /// <param name="node"> /// </param> private void setLastChild(NodeInterface node){}
/// <summary> /// Fired when a node is removed from the root or one of it's children /// </summary> /// <param name="parent"><p>The parent node</p> /// </param> /// <param name="node"><p>The removed node</p> /// </param> private void onNodeRemove(NodeInterface parent, NodeInterface node) { }
/// <summary> /// Called before a node is expanded. /// </summary> /// <param name="node"><p>The node being expanded.</p> /// </param> /// <param name="callback"><p>The function to run after the expand finishes</p> /// </param> /// <param name="scope"><p>The scope in which to run the callback function</p> /// </param> private void onBeforeNodeExpand(NodeInterface node, System.Delegate callback, object scope){}
/// <summary> /// Unregisters a node with the tree /// </summary> /// <param name="The"><p>node to unregister</p> /// </param> /// <param name="includeChildren"><p>True to unregister any child nodes</p> /// </param> private void unregisterNode(NodeInterface The, object includeChildren = null) { }
/// <summary> /// Sorter function for sorting records in index order /// </summary> /// <param name="node1"> /// </param> /// <param name="node2"> /// </param> /// <returns> /// <span><see cref="Number">Number</see></span><div> /// </div> /// </returns> private JsNumber sortByIndex(NodeInterface node1, NodeInterface node2){return null;}
/// <summary> /// Fires before a new child is appended, return false to cancel the append. /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The child node to be appended</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void beforeappend(NodeInterface @this, NodeInterface node, object eOpts) { }
/// <summary> /// Fires when a new child node is appended /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The newly appended node</p> /// </param> /// <param name="index"><p>The index of the newly appended node</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void append(NodeInterface @this, NodeInterface node, JsNumber index, object eOpts){}
/// <summary> /// Fires when this node is expanded. /// </summary> /// <param name="this"><p>The expanding node</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void expand(NodeInterface @this, object eOpts) { }
/// <summary> /// Fires before a new child is appended, return false to cancel the append. /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The child node to be appended</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void beforeappend(NodeInterface @this, NodeInterface node, object eOpts){}
/// <summary> /// Fires when this node is moved to a new location in the tree /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="oldParent"><p>The old parent of this node</p> /// </param> /// <param name="newParent"><p>The new parent of this node</p> /// </param> /// <param name="index"><p>The index it was moved to</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void move(NodeInterface @this, NodeInterface oldParent, NodeInterface newParent, JsNumber index, object eOpts) { }
/// <summary> /// Fires before a child is removed, return false to cancel the remove. /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The child node to be removed</p> /// </param> /// <param name="isMove"><p><c>true</c> if the child node is being removed so it can be moved to another position in the tree. /// (a side effect of calling <see cref="Ext.data.NodeInterface.appendChild">appendChild</see> or /// <see cref="Ext.data.NodeInterface.insertBefore">insertBefore</see> with a node that already has a parentNode)</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void beforeremove(NodeInterface @this, NodeInterface node, bool isMove, object eOpts){}
/// <summary> /// Fires when this node's childNodes are sorted. /// </summary> /// <param name="this"><p>This node.</p> /// </param> /// <param name="childNodes"><p>The childNodes of this node.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void sort(NodeInterface @this, JsArray <Ext.data.NodeInterface> childNodes, object eOpts) { }
/// <summary> /// Fires when this node is collapsed. /// </summary> /// <param name="this"><p>The collapsing node</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void collapse(NodeInterface @this, object eOpts){}
/// <summary> /// Fired when a node is appended into the root or one of it's children /// @private /// @param {Ext.data.NodeInterface} parent The parent node /// @param {Ext.data.NodeInterface} node The appended node /// </summary> public void onNodeAppend(NodeInterface parent, NodeInterface node){}
/// <summary> /// Fires when this node is expanded. /// </summary> /// <param name="this"><p>The expanding node</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void expand(NodeInterface @this, object eOpts){}
/// <summary> /// Fired when a node is removed from the root or one of it's children /// @private /// @param {Ext.data.NodeInterface} parent The parent node /// @param {Ext.data.NodeInterface} node The removed node /// </summary> public void onNodeRemove(NodeInterface parent, NodeInterface node){}
/// <summary> /// Fires when a new child node is inserted. /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="node"><p>The child node inserted</p> /// </param> /// <param name="refNode"><p>The child node the node was inserted before</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void insert(NodeInterface @this, NodeInterface node, NodeInterface refNode, object eOpts){}
/// <summary> /// Fills a node with a series of child records. /// @private /// @param {Ext.data.NodeInterface} node The node to fill /// @param {Ext.data.Model[]} records The records to add /// </summary> public void fillNode(NodeInterface node, object records){}
/// <summary> /// Fires whenever the store reads data from a remote data source. /// </summary> /// <param name="this"> /// </param> /// <param name="node"><p>The node that was loaded.</p> /// </param> /// <param name="records"><p>An array of records.</p> /// </param> /// <param name="successful"><p>True if the operation was successful.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void load(TreeStore @this, NodeInterface node, JsArray<Ext.data.Model> records, bool successful, object eOpts){}
/// <summary> /// Called before a node is expanded. /// @private /// @param {Ext.data.NodeInterface} node The node being expanded. /// @param {Function} callback The function to run after the expand finishes /// @param {Object} scope The scope in which to run the callback function /// </summary> public void onBeforeNodeExpand(NodeInterface node, JsAction callback, object scope){}
/// <summary> /// Fires when this node is moved to a new location in the tree /// </summary> /// <param name="this"><p>This node</p> /// </param> /// <param name="oldParent"><p>The old parent of this node</p> /// </param> /// <param name="newParent"><p>The new parent of this node</p> /// </param> /// <param name="index"><p>The index it was moved to</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void move(NodeInterface @this, NodeInterface oldParent, NodeInterface newParent, JsNumber index, object eOpts){}
/// <summary> /// Method to handle going to a specific node within this nested list. Node must be part of the /// internal {@link #store}. /// @param {Ext.data.NodeInterface} node The specified node to navigate to /// </summary> public void goToNode(NodeInterface node){}
/// <summary> /// Fires when this node's childNodes are sorted. /// </summary> /// <param name="this"><p>This node.</p> /// </param> /// <param name="childNodes"><p>The childNodes of this node.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void sort(NodeInterface @this, JsArray<Ext.data.NodeInterface> childNodes, object eOpts){}
/// <summary> /// Sets the root node for this tree. ... /// </summary> public NodeInterface setRootNode(NodeInterface node){return null;}
/// <summary> /// Called before a node is expanded. /// </summary> /// <param name="node"><p>The node being expanded.</p> /// </param> /// <param name="callback"><p>The function to run after the expand finishes</p> /// </param> /// <param name="scope"><p>The scope in which to run the callback function</p> /// </param> private void onBeforeNodeExpand(NodeInterface node, System.Delegate callback, object scope) { }