C# Class Gearset.Components.CurveTreeViewModel

Inheritance: INotifyPropertyChanged
Exibir arquivo Open project: juancampa/Gearset Class Usage Examples

Public Methods

Method Description
CurveTreeViewModel ( CurveEditorControl2 control ) : System

Private Methods

Method Description
AddCurve ( string name, Microsoft.Xna.Framework.Curve curve ) : void

Adds the curve to the TreeView and also the CurveEditorControl.

FindContainerLeaf ( Gearset.Components.CurveTreeNode node, Microsoft.Xna.Framework.Curve curve ) : CurveTreeLeaf
GetChildNode ( Gearset.Components.CurveTreeNode node, string name ) : Gearset.Components.CurveTreeNode
GetColor ( string name ) : System.Windows.Media.Color
OnPropertyChanged ( string propertyName ) : void
RemoveCurve ( Microsoft.Xna.Framework.Curve curve ) : void

Removes the provided Curve from Bender.

RemoveCurveOrGroup ( String name ) : void
RemoveNodeAndCurves ( Gearset.Components.CurveTreeNode node ) : void

Will remove the whole subtree of nodes below the provided node (from the control). The provided node must be removed from the tree by the calling code.

Method Details

CurveTreeViewModel() public method

public CurveTreeViewModel ( CurveEditorControl2 control ) : System
control CurveEditorControl2
return System