Northwoods.GoWPF 2.2.4 Assembly
UniversalTreeModel Class Members
Properties  Methods  Events


The following tables list the members exposed by UniversalTreeModel.

Public Constructors
 NameDescription
Public ConstructorUniversalTreeModel ConstructorCreate a modifiable TreeModel<NodeType,NodeKey> with an empty ObservableCollection for the NodesSource.  
Top
Public Properties
 NameDescription
Public PropertyChildNodesPath Gets or sets a property path that that specifies how to get a list of keys for the "children" nodes of a node data object. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public PropertyDataFormat Gets or sets the format of this model's data. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyHasUndoManager Gets or sets a flag that enables or disables support for undo and redo. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyIsChangingModelThis property is true during a call to ChangeModel, indicating a change happening due to an undo or a redo. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyIsInTransactionThis property is true after a StartTransaction and before a corresponding CommitTransaction or RollbackTransaction. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyIsModified Gets or sets whether this model is considered changed from an earlier state. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyModifiable Gets or sets whether various model-changing methods are enabled. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyName A name for this model. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyNodeCategoryPath Gets or sets a property path that that specifies how to find the category of a node data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public PropertyNodeKeyIsNodeData Gets or sets whether all node data are also their own keys. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public PropertyNodeKeyPath Gets or sets a property path that that specifies how to get the key for node data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public PropertyNodeKeyReferenceAutoInsertsGets or sets whether a NodeKey reference, when NodeKeyIsNodeData is true, automatically inserts the node into NodesSource. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public PropertyNodesSource Gets or sets the collection of node data items for the model. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public PropertyParentNodePath Gets or sets a property path that that specifies how to get the key for "parent" node data of a node data object. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public PropertySkipsUndoManagerGets or sets a flag that tells OnChanged whether it should notify any UndoManager that a change has occurred. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyUndoManagerGets or sets the UndoManager for this model. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Top
Protected Properties
 NameDescription
Protected PropertyInitializing Gets or sets whether the model is being constructed or re-constructed. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Top
Public Methods
 NameDescription
Public MethodAddChildNodeKey Add a "child" node data's key value to a node data's list of "children". (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodAddCollectionCopy Copy existing node data and add to this model. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodAddLink Create a link between two nodes. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodAddNodeAdd a node data to NodesSource. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodAddNodeCopy Add a copy of a node data to this model. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodChangeModel This is called during an Undo or a Redo to actually make state changes to this model or to this model's data. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodClearUnresolvedReferences Forget all unresolved delayed or forward references. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodCommitTransaction Call the UndoManager's CommitTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodCreateCopyDictionaryCreate an ICopyDictionary initialized for this model. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodCreateDataCollectionCreate an empty IDataCollection for this model. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodCreateInitializedCopyMake a copy of this model, without sharing the NodesSource collection. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoChildNodeKeyAdded This should be called when a child node data has been added to the collection of child nodes. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoChildNodeKeyRemoved This should be called when a child node data has been removed from the collection of child nodes. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoChildNodeKeysChanged This should be called when a node data's list of children nodes may have changed. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoNodeAddedThis should be called when a node data object is added to the NodesSource collection. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoNodeCategoryChanged This should be called when a node data's category value may have changed. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoNodeKeyChanged This should be called when a node data's key value may have changed. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoNodeRemovedThis should be called when a node data object is removed from the NodesSource collection. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodDoParentNodeChanged This should be called when a node data's tree parent may have changed. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodFindNodeByKey Given a key, find the node data with that key. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodGetCategoryForNode This method gets the category of a node. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodGetChildrenForNode Return a sequence of node data that are immediate children of a given node. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodGetConnectedNodesForNode Return a sequence of node data that are directly connected to a given node, in either direction. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodGetFromNodesForNode Return a sequence of node data that are directly connected by links going into a given node. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodGetNodeTypeReturn the NodeType. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodGetParentForNode Return a parent node data for a given node data, if there is one. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodGetToNodesForNode Return a sequence of node data that are directly connected by links coming out from a given node. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodIsLinked This predicate is true if there is a link from one node data to another one. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodIsLinkValid This predicate is true if adding a link between two nodes would result in a valid graph. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodIsNodeData This predicate is true if the argument is a node data in this model. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodIsNodeTypeThis predicate is true when the argument is an instance of NodeType. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodIsRelinkValid This predicate is true if replacing a link between two nodes would result in a valid graph. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodLoadOverloaded. Given a Linq for XML XContainer holding node data, replace this model's NodesSource collection with a collection of new node data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodRaiseChangedRaise a Changed event, given a ModelChangedEventArgs. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodRaisePropertyChangedOverloaded. Raise a Changed event, given before and after values for a particular property. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodRemoveChildNodeKey Remove a child node data's key value from a node data's list of "children" key values. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodRemoveLink Remove any link between two nodes. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodRemoveNodeRemove a node data from NodesSource. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodResolveAllReferencesCause ResolveNodeKey to be called on each known delayed or forward node reference. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodRollbackTransaction Call the UndoManager's RollbackTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodSave<NodeDataType>Generate a Linq for XML XElement holding all of the node data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodSetChildNodeKeys Replace a node data's list of "children" key values. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodSetParentNodeKey Change a node data so that it refers to a different parent node data, by node key. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Public MethodStartTransaction Call the UndoManager's StartTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Top
Protected Methods
 NameDescription
Protected MethodAugmentCopyCollection Override this method to add more (related) data to be copied. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodAugmentCopyDictionary Override this method to avoid copying some data, or to change how copied references are resolved. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodChangeDataValue This is called during undo or redo to effect state changes to model data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodChangeModelValue This is called during undo or redo to effect state changes to this model. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodCheckLinkValid This predicate is true if adding a link between two nodes/ports would result in a valid tree-structured graph. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodCopyNode1 This is the first pass of copying node data, responsible for constructing a copy and copying most of its properties. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodCopyNode2 This is the second pass of copying node data, responsible for fixing up references to other objects. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodDeleteChildNodeKeyThis method actually implements the modification of a node data so that it's collection of children node data does not include a given childkey. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodDeleteLink This method actually implements the removal of a link between two nodes. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodDeleteNodeThis method actually implements the removal of a node data from the NodesSource collection. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodFindCategoryForNode Find the category of a node data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodFindChildNodeKeysForNode Find the list of keys of the children nodes for a node data object. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodFindKeyForNode Find the key for node data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodFindParentNodeKeyForNode Find the key of the parent node data for a node data object. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodHandleNodePropertyChangedThis is the System.ComponentModel.INotifyPropertyChanged event handler for node data. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodInsertChildNodeKeyThis method actually implements the modification of a node data so that it's collection of children node data includes a given childkey. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodInsertLink This method actually implements the addition of a link between two nodes. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodInsertNodeThis method actually implements the addition of a node data to the NodesSource collection. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodMakeNodeKeyUnique This method is called when a duplicate key has been found. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodModifyChildNodeKeys This method actually implements the replacement of a node data's collection of child node keys. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodModifyParentNodeKeyThis method actually implements the modification of a node data so that its reference to a parent node data (if any) is the given parentkey. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Protected MethodOnChangedRaises the Changed event. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Protected MethodReinitializeReset the fields that should not be shared from a copy created by System.Object.MemberwiseClone. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Protected MethodResolveNodeKeyThis is called repeatedly by ResolveAllReferences, once for each known delayed or forward node reference. (Inherited from Northwoods.GoXam.Model.TreeModel<object,object>)
Top
Public Events
 NameDescription
Public EventChanged The Changed event is raised whenever the model is modified. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Top
See Also

Reference

UniversalTreeModel Class
Northwoods.GoXam.Model Namespace

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback