Ext.NET
5.3.0
.NET Component Framework for Enterprise Level Apps
|
Class for node instance manipulation More...
Public Member Functions | |
NodeProxy (object store, string nodeScript) | |
NodeProxy (object store, string nodeScript, bool isArray) | |
override void | AddScript (string script, params object[] args) |
override void | Call (string name, params object[] args) |
virtual string | ToScript () |
virtual string | ToScript (bool ignoreAutoRegister) |
virtual string | ToScript (bool clearBuffer, bool ignoreAutoRegister) |
virtual NodeProxy | ChildNodes () |
An array of this nodes children. Array will be empty if this node has no chidren. More... | |
void | FireEvent (string eventName, params object[] args) |
Fires the specified event with the passed parameters (minus the event name) More... | |
virtual NodeProxy | FirstChild () |
A reference to this node's first child node. null if this node has no children. More... | |
virtual NodeProxy | LastChild () |
A reference to this node's last child node. null if this node has no children. More... | |
virtual NodeProxy | NextSibling () |
A reference to this node's next sibling node. null if this node does not have a next sibling. More... | |
virtual NodeProxy | ParentNode () |
A reference to this node's parent node. null if this node is the root node. More... | |
virtual NodeProxy | PreviousSibling () |
A reference to this node's previous sibling node. null if this node does not have a previous sibling. More... | |
virtual void | Contains (NodeProxy node, JFunction trueFn, JFunction falseFn) |
Returns true if this node is an ancestor (at any point) of the passed node. More... | |
virtual NodeProxy | Copy (object id, bool deep) |
Creates a copy (clone) of this Node. More... | |
virtual NodeProxy | Copy (object id) |
Creates a copy (clone) of this Node. More... | |
virtual NodeProxy | Copy () |
Creates a copy (clone) of this Node. More... | |
virtual NodeProxy | CreateNode (object nodeConfig) |
Ensures that the passed object is an instance of a Record with the NodeInterface applied More... | |
virtual NodeProxy | FindChild (string attribute, object value, bool deep) |
Finds the first child that has the attribute with the specified value. More... | |
virtual NodeProxy | FindChild (string attribute, object value) |
Finds the first child that has the attribute with the specified value. More... | |
virtual NodeProxy | FindChildBy (JFunction fn, string scope, bool deep) |
Finds the first child by a custom function. The child matches if the function passed returns true. More... | |
virtual NodeProxy | FindChildBy (JFunction fn, string scope) |
Finds the first child by a custom function. The child matches if the function passed returns true. More... | |
virtual NodeProxy | FindChildBy (JFunction fn) |
Finds the first child by a custom function. The child matches if the function passed returns true. More... | |
virtual NodeProxy | GetChildAt (int index) |
Returns the child node at the specified index. More... | |
virtual void | HasChildNodes (JFunction trueFn, JFunction falseFn) |
Returns true if this node has one or more child nodes, else false. More... | |
virtual void | IsAncestor (NodeProxy node, JFunction trueFn, JFunction falseFn) |
Returns true if the passed node is an ancestor (at any point) of this node. More... | |
virtual void | IsExpandable (JFunction trueFn, JFunction falseFn) |
Returns true if this node has one or more child nodes, or if the expandable node attribute is explicitly specified as true, otherwise returns false. More... | |
virtual void | IsExpanded (JFunction trueFn, JFunction falseFn) |
Returns true if this node is expaned More... | |
virtual void | IsFirst (JFunction trueFn, JFunction falseFn) |
Returns true if this node is the first child of its parent More... | |
virtual void | IsLast (JFunction trueFn, JFunction falseFn) |
Returns true if this node is the last child of its parent More... | |
virtual void | IsLeaf (JFunction trueFn, JFunction falseFn) |
Returns true if this node is the last child of its parent More... | |
virtual void | IsLoaded (JFunction trueFn, JFunction falseFn) |
Returns true if this node is loaded More... | |
virtual void | IsRoot (JFunction trueFn, JFunction falseFn) |
Returns true if this node is the root node More... | |
virtual void | IsVisible (JFunction trueFn, JFunction falseFn) |
Returns true if this node is visible More... | |
virtual void | Reload () |
Reload the node More... | |
virtual void | Reload (object options) |
Reload the node More... | |
virtual void | AppendChild (Node node) |
Insert node(s) as the last child node of the root node. More... | |
virtual void | AppendChild (NodeProxy node) |
Insert node(s) as the last child node of the node. More... | |
virtual void | AppendChild (IEnumerable< Node > nodes) |
Insert node(s) as the last child node of the root node. More... | |
virtual void | Bubble (JFunction function, string scope) |
Bubbles up the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the bubble is stopped. More... | |
virtual void | Bubble (JFunction function) |
Bubbles up the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the bubble is stopped. More... | |
virtual void | CascadeBy (JFunction function, string scope) |
Cascades down the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the cascade is stopped on that branch. More... | |
virtual void | CascadeBy (JFunction function) |
Cascades down the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the cascade is stopped on that branch. More... | |
virtual void | Collapse (bool recursive, JFunction callback, string scope) |
Collapse this node. More... | |
virtual void | Collapse (bool recursive, JFunction callback) |
Collapse this node. More... | |
virtual void | Collapse (bool recursive) |
Collapse this node. More... | |
virtual void | CollapseChildren (bool recursive, JFunction callback, string scope) |
Collapse all the children of this node. More... | |
virtual void | CollapseChildren (bool recursive, JFunction callback) |
Collapse all the children of this node. More... | |
virtual void | CollapseChildren (bool recursive) |
Collapse all the children of this node. More... | |
virtual void | Erase () |
Destroys the node. More... | |
virtual void | Erase (bool deep) |
Destroys the node. More... | |
virtual void | EachChild (JFunction function, string scope) |
Interates the child nodes of this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the iteration stops. More... | |
virtual void | EachChild (JFunction function) |
Interates the child nodes of this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the iteration stops. More... | |
virtual void | Expand (bool recursive, JFunction callback, string scope) |
Expand this node. More... | |
virtual void | Expand (bool recursive, JFunction callback) |
Expand this node. More... | |
virtual void | Expand (bool recursive) |
Expand this node. More... | |
virtual void | ExpandChildren (bool recursive, JFunction callback, string scope) |
Expand all the children of this node. More... | |
virtual void | ExpandChildren (bool recursive, JFunction callback) |
Expand all the children of this node. More... | |
virtual void | ExpandChildren (bool recursive) |
Expand all the children of this node. More... | |
virtual void | InsertBefore (NodeProxy node, NodeProxy refNode) |
Inserts the first node before the second node in this nodes childNodes collection. More... | |
virtual void | InsertBefore (Node node, NodeProxy refNode) |
Inserts the first node before the second node in this nodes childNodes collection. More... | |
virtual void | InsertChild (int index, Node node) |
Insert a node into this node More... | |
virtual void | InsertChild (int index, NodeProxy refNode) |
Insert a node into this node More... | |
virtual void | Remove (bool destroy) |
Removes this node from its parent More... | |
virtual void | Remove () |
Removes this node from its parent More... | |
virtual void | RemoveAll (bool destroy) |
Removes all child nodes from this node. More... | |
virtual void | RemoveAll () |
Removes all child nodes from this node. More... | |
virtual void | RemoveChild (NodeProxy node, bool destroy) |
Removes a child node from this node. More... | |
virtual void | RemoveChild (NodeProxy node) |
Removes a child node from this node. More... | |
virtual void | ReplaceChild (NodeProxy newChild, NodeProxy oldChild) |
Replaces one child node in this node with another. More... | |
virtual void | ReplaceChild (Node newChild, NodeProxy oldChild) |
Replaces one child node in this node with another. More... | |
virtual void | Sort (JFunction f, bool recursive, bool suppressEvent) |
Sorts this nodes children using the supplied sort function. More... | |
virtual void | Sort (JFunction f, bool recursive) |
Sorts this nodes children using the supplied sort function. More... | |
virtual void | Sort (JFunction f) |
Sorts this nodes children using the supplied sort function. More... | |
virtual void | On (string eventName, string fn) |
Appends an event handler to this element (shorthand for addListener) More... | |
virtual void | On (string eventName, string fn, string scope) |
Appends an event handler to this element (shorthand for addListener) More... | |
virtual void | On (string eventName, string fn, string scope, HandlerConfig options) |
Appends an event handler to this element (shorthand for addListener) More... | |
virtual void | On (string eventName, JFunction fn) |
Appends an event handler to this element (shorthand for addListener) More... | |
virtual void | On (string eventName, JFunction fn, string scope) |
Appends an event handler to this element (shorthand for addListener) More... | |
virtual void | On (string eventName, JFunction fn, string scope, HandlerConfig options) |
Appends an event handler to this element (shorthand for addListener) More... | |
virtual void | Un (string eventName, string fn) |
Removes an event handler. More... | |
virtual void | Un (string eventName, string fn, string scope) |
Removes an event handler. More... | |
void | BeginEdit () |
Begin an edit. While in edit mode, no events (e.g. the update event) are relayed to the containing store. When an edit has begun, it must be followed by either endEdit or cancelEdit. More... | |
void | CancelEdit () |
Cancels all changes made in the current edit operation. More... | |
void | Commit () |
Usually called by the Ext.data.Store which owns the model instance. Commits all changes made to the instance since either creation or the last commit operation. Developers should subscribe to the Ext.data.Store.update event to have their code notified of commit operations. More... | |
void | Commit (bool silent) |
Usually called by the Ext.data.Store which owns the model instance. Commits all changes made to the instance since either creation or the last commit operation. Developers should subscribe to the Ext.data.Store.update event to have their code notified of commit operations. More... | |
void | EndEdit () |
End an edit. If any data was modified, the containing store is notified (ie, the store's update event will fire). More... | |
void | EndEdit (bool silent) |
End an edit. If any data was modified, the containing store is notified (ie, the store's update event will fire). More... | |
void | Reject () |
Usually called by the Ext.data.Store to which this model instance has been joined. Rejects all changes made to the model instance since either creation, or the last commit operation. Modified fields are reverted to their original values. Developers should subscribe to the Ext.data.Store.update event to have their code notified of reject operations. More... | |
void | Reject (bool silent) |
Usually called by the Ext.data.Store to which this model instance has been joined. Rejects all changes made to the model instance since either creation, or the last commit operation. Modified fields are reverted to their original values. Developers should subscribe to the Ext.data.Store.update event to have their code notified of reject operations. More... | |
void | Save () |
Saves the model instance using the configured proxy More... | |
void | Save (object options) |
Saves the model instance using the configured proxy More... | |
void | Set (string fieldName, object value) |
Sets the given field to the given value, marks the instance as dirty More... | |
new void | SetDirty () |
Marks this Record as dirty. This method is used interally when adding phantom records to a writer enabled store. Marking a record dirty causes the phantom to be returned by Ext.data.Store.getModifiedRecords where it will have a create action composed for it during store save operations. More... | |
void | SetId (object id) |
Sets the model instance's id field to the given id More... | |
void | SetAllowDrag (bool allowDrag) |
False to make this node undraggable if draggable = true More... | |
void | SetAllowDrop (bool allowDrop) |
False if this node cannot have child nodes dropped on it More... | |
void | SetChecked (bool @checked) |
void | SetCls (string cls) |
void | SetHref (string href) |
void | SetHrefTarget (string hrefTarget) |
void | SetIconFile (string iconFile) |
void | SetIcon (Icon icon) |
void | SetIconCls (string iconCls) |
void | SetQTip (string qtip) |
void | SetQtitle (string qtitle) |
void | SetText (string text) |
void | SetDataPath (string dataPath) |
Public Member Functions inherited from Ext.Net.BaseItem | |
virtual bool | HasExplicitValue (string name) |
void | EnsureDataBind () |
virtual void | Call (string name) |
virtual void | AddScript (string script) |
virtual bool | IsEmptyObject () |
T | Apply< T > (IApply config) |
BaseItem | Apply (object config) |
virtual void | LoadViewState (object state) |
virtual object | SaveViewState () |
virtual void | TrackViewState () |
void | SetDirty () |
virtual void | DataBind () |
virtual IControlBuilder | ToNativeBuilder () |
Static Public Member Functions | |
static NodeProxy | GetRootNode (object store) |
Get proxy instance for root node More... | |
static NodeProxy | GetNodeById (object store, object id) |
Get proxy instance for node with passed id More... | |
Properties | |
bool | IsArray [get, set] |
virtual string? | NodeInstance [get] |
virtual string? | NodeScript [get] |
virtual string | StoreId [get] |
virtual TreeStoreBase | Store [get] |
virtual bool | AutoRegister [get, set] |
virtual bool | Safe [get, set] |
virtual string | MethodScript [get] |
Properties inherited from Ext.Net.BaseItem | |
virtual string | InstanceOf [get] |
ItemState | State [get] |
virtual DefaultValueMode | DefaultValueMode [get, set] |
virtual bool | DesignMode [get] |
bool | AutoDataBind [get, set] |
ResourceManager | ResourceManager [get] |
virtual Control | Owner [get, set] |
The Owner Control for this Listener. More... | |
virtual bool | IsDefault [get] |
Does this object currently represent it's default state. More... | |
bool | IsTrackingViewState [get] |
EventHandlerList | Events [get] |
EventHandler | DataBinding |
Control?? | BindingContainer [get] |
virtual ConfigItemCollection?? | CustomConfig [get] |
Collection of custom js config More... | |
virtual ConfigOptionsCollection | ConfigOptions [get] |
virtual ConfigOptionsExtraction | ConfigOptionsExtraction [get] |
System.Web.Mvc.HtmlHelper?? | HtmlHelper [get, set] |
Properties inherited from Ext.Net.IXObject | |
ConfigOptionsCollection | ConfigOptions [get] |
ConfigOptionsExtraction | ConfigOptionsExtraction [get] |
DefaultValueMode | DefaultValueMode [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from Ext.Net.BaseItem | |
BaseItem (Control owner) | |
BaseItem () | |
virtual void | OwnerUpdate (Control owner) |
virtual void | OnDataBinding (EventArgs e) |
Class for node instance manipulation
|
inline |
store | |
nodeScript |
|
inline |
store | |
nodeScript | |
isArray |
|
inlinevirtual |
script | |
args |
Reimplemented from Ext.Net.BaseItem.
|
inlinevirtual |
Insert node(s) as the last child node of the root node.
If the node was previously a child node of another parent node, it will be removed from that node first.
nodes | The node or Array of nodes to append |
|
inlinevirtual |
Insert node(s) as the last child node of the root node.
If the node was previously a child node of another parent node, it will be removed from that node first.
node | The node or Array of nodes to append |
|
inlinevirtual |
Insert node(s) as the last child node of the node.
If the node was previously a child node of another parent node, it will be removed from that node first.
node | The node or Array of nodes to append |
|
inline |
Begin an edit. While in edit mode, no events (e.g. the update event) are relayed to the containing store. When an edit has begun, it must be followed by either endEdit or cancelEdit.
|
inlinevirtual |
Bubbles up the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the bubble is stopped.
function | The function to call |
|
inlinevirtual |
Bubbles up the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the bubble is stopped.
function | The function to call |
scope | The scope (this reference) in which the function is executed. Defaults to the current Node. |
|
inlinevirtual |
name | |
args |
Reimplemented from Ext.Net.BaseItem.
|
inline |
Cancels all changes made in the current edit operation.
|
inlinevirtual |
Cascades down the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the cascade is stopped on that branch.
function | The function to call |
|
inlinevirtual |
Cascades down the tree from this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the cascade is stopped on that branch.
function | The function to call |
scope | The scope (this reference) in which the function is executed. Defaults to the current Node. |
|
inlinevirtual |
An array of this nodes children. Array will be empty if this node has no chidren.
|
inlinevirtual |
Collapse this node.
recursive | True to recursively collapse all the children |
|
inlinevirtual |
Collapse this node.
recursive | True to recursively collapse all the children |
callback | The function to execute once the collapse completes |
|
inlinevirtual |
Collapse this node.
recursive | True to recursively collapse all the children |
callback | The function to execute once the collapse completes |
scope | The scope to run the callback in |
|
inlinevirtual |
Collapse all the children of this node.
recursive | True to recursively collapse all the children |
|
inlinevirtual |
Collapse all the children of this node.
recursive | True to recursively collapse all the children |
callback | The function to execute once all the children are collapsed |
|
inlinevirtual |
Collapse all the children of this node.
recursive | True to recursively collapse all the children |
callback | The function to execute once all the children are collapsed |
scope | The scope to run the callback in |
|
inline |
Usually called by the Ext.data.Store which owns the model instance. Commits all changes made to the instance since either creation or the last commit operation. Developers should subscribe to the Ext.data.Store.update event to have their code notified of commit operations.
|
inline |
Usually called by the Ext.data.Store which owns the model instance. Commits all changes made to the instance since either creation or the last commit operation. Developers should subscribe to the Ext.data.Store.update event to have their code notified of commit operations.
silent | True to skip notification of the owning store of the change |
|
inlinevirtual |
Returns true if this node is an ancestor (at any point) of the passed node.
node | |
trueFn | |
falseFn |
|
inlinevirtual |
Creates a copy (clone) of this Node.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Ensures that the passed object is an instance of a Record with the NodeInterface applied
nodeConfig |
|
inlinevirtual |
Interates the child nodes of this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the iteration stops.
function | The function to call |
|
inlinevirtual |
Interates the child nodes of this node, calling the specified function with each node. The arguments to the function will be the args provided or the current node. If the function returns false at any point, the iteration stops.
function | The function to call |
scope | The scope (this reference) in which the function is executed. Defaults to the current Node in the iteration.. |
|
inline |
End an edit. If any data was modified, the containing store is notified (ie, the store's update event will fire).
|
inline |
End an edit. If any data was modified, the containing store is notified (ie, the store's update event will fire).
silent | True to not notify the store of the change |
|
inlinevirtual |
Destroys the node.
|
inlinevirtual |
Destroys the node.
deep | True to erase all the children |
|
inlinevirtual |
Expand this node.
recursive | True to recursively expand all the children |
|
inlinevirtual |
Expand this node.
recursive | True to recursively expand all the children |
callback | The function to execute once the expand completes |
|
inlinevirtual |
Expand this node.
recursive | True to recursively expand all the children |
callback | The function to execute once the expand completes |
scope | The scope to run the callback in |
|
inlinevirtual |
Expand all the children of this node.
recursive | True to recursively expand all the children |
|
inlinevirtual |
Expand all the children of this node.
recursive | True to recursively expand all the children |
callback | The function to execute once all the children are expanded |
|
inlinevirtual |
Expand all the children of this node.
recursive | True to recursively expand all the children |
callback | The function to execute once all the children are expanded |
scope | The scope to run the callback in |
|
inlinevirtual |
Finds the first child that has the attribute with the specified value.
attribute | The attribute name |
value | The value to search for |
|
inlinevirtual |
Finds the first child that has the attribute with the specified value.
attribute | The attribute name |
value | The value to search for |
deep | True to search through nodes deeper than the immediate children |
|
inlinevirtual |
Finds the first child by a custom function. The child matches if the function passed returns true.
fn | A function which must return true if the passed Node is the required Node. |
scope | The scope (this reference) in which the function is executed. Defaults to the Node being tested. |
deep | True to search through nodes deeper than the immediate children |
|
inline |
Fires the specified event with the passed parameters (minus the event name)
eventName | The name of the event to fire. |
args | Variable number of parameters are passed to handlers. |
|
inlinevirtual |
A reference to this node's first child node. null if this node has no children.
|
inlinevirtual |
Returns the child node at the specified index.
index |
|
inlinestatic |
|
inlinestatic |
Returns true if this node has one or more child nodes, else false.
trueFn | |
falseFn |
Inserts the first node before the second node in this nodes childNodes collection.
node | The node to insert |
refNode | The node to insert before |
Inserts the first node before the second node in this nodes childNodes collection.
node | The node to insert |
refNode | The node to insert before |
|
inlinevirtual |
Insert a node into this node
index | The zero-based index to insert the node at |
node | The node to insert |
|
inlinevirtual |
Insert a node into this node
index | The zero-based index to insert the node at |
refNode | The node to insert |
|
inlinevirtual |
Returns true if the passed node is an ancestor (at any point) of this node.
node | |
trueFn | |
falseFn |
Returns true if this node has one or more child nodes, or if the expandable node attribute is explicitly specified as true, otherwise returns false.
trueFn | |
falseFn |
Returns true if this node is expaned
trueFn | |
falseFn |
Returns true if this node is the first child of its parent
trueFn | |
falseFn |
Returns true if this node is the last child of its parent
trueFn | |
falseFn |
Returns true if this node is the last child of its parent
trueFn | |
falseFn |
Returns true if this node is loaded
trueFn | |
falseFn |
Returns true if this node is the root node
trueFn | |
falseFn |
Returns true if this node is visible
trueFn | |
falseFn |
|
inlinevirtual |
A reference to this node's last child node. null if this node has no children.
|
inlinevirtual |
A reference to this node's next sibling node. null if this node does not have a next sibling.
|
inlinevirtual |
Appends an event handler to this element (shorthand for addListener)
eventName | The type of event to listen for |
fn | The method the event invokes |
|
inlinevirtual |
Appends an event handler to this element (shorthand for addListener)
eventName | The type of event to listen for |
fn | The method the event invokes |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event. |
|
inlinevirtual |
Appends an event handler to this element (shorthand for addListener)
eventName | The type of event to listen for |
fn | The method the event invokes |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event. |
options | An object containing handler configuration. |
|
inlinevirtual |
Appends an event handler to this element (shorthand for addListener)
eventName | The type of event to listen for |
fn | The method the event invokes |
|
inlinevirtual |
Appends an event handler to this element (shorthand for addListener)
eventName | The type of event to listen for |
fn | The method the event invokes |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event. |
|
inlinevirtual |
Appends an event handler to this element (shorthand for addListener)
eventName | The type of event to listen for |
fn | The method the event invokes |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event. |
options | An object containing handler configuration. |
|
inlinevirtual |
A reference to this node's parent node. null if this node is the root node.
|
inlinevirtual |
A reference to this node's previous sibling node. null if this node does not have a previous sibling.
|
inline |
Usually called by the Ext.data.Store to which this model instance has been joined. Rejects all changes made to the model instance since either creation, or the last commit operation. Modified fields are reverted to their original values. Developers should subscribe to the Ext.data.Store.update event to have their code notified of reject operations.
|
inline |
Usually called by the Ext.data.Store to which this model instance has been joined. Rejects all changes made to the model instance since either creation, or the last commit operation. Modified fields are reverted to their original values. Developers should subscribe to the Ext.data.Store.update event to have their code notified of reject operations.
silent | reject |
|
inlinevirtual |
Reload the node
|
inlinevirtual |
Reload the node
options |
|
inlinevirtual |
Removes this node from its parent
|
inlinevirtual |
Removes this node from its parent
destroy | true to destroy the node upon removal. Defaults to false. |
|
inlinevirtual |
Removes all child nodes from this node.
|
inlinevirtual |
Removes all child nodes from this node.
destroy | true to destroy the node upon removal. Defaults to false. |
|
inlinevirtual |
Removes a child node from this node.
node | The node to remove |
|
inlinevirtual |
Removes a child node from this node.
node | The node to remove |
destroy | true to destroy the node upon removal. Defaults to false. |
Replaces one child node in this node with another.
newChild | The replacement node |
oldChild | The node to replace |
|
inlinevirtual |
Replaces one child node in this node with another.
newChild | The replacement node |
oldChild | The node to replace |
|
inline |
Saves the model instance using the configured proxy
|
inline |
Saves the model instance using the configured proxy
options | Options to pass to the proxy |
|
inline |
Sets the given field to the given value, marks the instance as dirty
fieldName | The field to set |
value | The value to set |
|
inline |
False to make this node undraggable if draggable = true
allowDrag |
|
inline |
False if this node cannot have child nodes dropped on it
allowDrop |
|
inline |
|
inline |
|
inline |
|
inline |
Marks this Record as dirty. This method is used interally when adding phantom records to a writer enabled store. Marking a record dirty causes the phantom to be returned by Ext.data.Store.getModifiedRecords where it will have a create action composed for it during store save operations.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the model instance's id field to the given id
id | The new id |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Sorts this nodes children using the supplied sort function.
f | A function which, when passed two Nodes, returns -1, 0 or 1 depending upon required sort order. |
|
inlinevirtual |
Sorts this nodes children using the supplied sort function.
f | A function which, when passed two Nodes, returns -1, 0 or 1 depending upon required sort order. |
recursive | Whether or not to apply this sort recursively |
|
inlinevirtual |
Sorts this nodes children using the supplied sort function.
f | A function which, when passed two Nodes, returns -1, 0 or 1 depending upon required sort order. |
recursive | Whether or not to apply this sort recursively |
suppressEvent | Set to true to not fire a sort event. |
|
inlinevirtual |
|
inlinevirtual |
clearBuffer | |
ignoreAutoRegister |
|
inlinevirtual |
|
inlinevirtual |
Removes an event handler.
eventName | The type of event the handler was associated with. |
fn | The handler to remove. This must be a reference to the function passed into the addListener call. |
|
inlinevirtual |
Removes an event handler.
eventName | The type of event the handler was associated with. |
fn | The handler to remove. This must be a reference to the function passed into the addListener call. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event. |
|
getset |
|
getsetprotected |
|
getprotected |
|
getprotected |
|
getprotected |
|
getset |
|
getprotected |
|
getprotected |