Nevron .NET Vision
Nevron.Diagram Namespace / NModel Class
Properties Methods Events


In This Topic
    NModel Class Members
    In This Topic

    The following tables list the members exposed by NModel.

    Public Properties
     NameDescription
    Public PropertyGets/sets the bounds of the node (in scene coordinates)  
    Public PropertyGets/sets the node center (in scene coordinates)  
    Public PropertyGets/sets the end point (in scene coordinates)  
    Public PropertyGets/sets the node height (in scene coordinates)  
    Public PropertyGets/sets the id of the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the node location (top left corner of the bounds, in scene coordinates)  
    Public PropertyGets/sets the end point of the model (in model coordinates)  
    Public PropertyGets/sets the model height (in model coordinates)  
    Public PropertyGets/sets the pin point in model coordinates  
    Public PropertyGets/sets the start point of the model (in model coordinates)  
    Public PropertyGets/sets the model width (in model coordinates)  
    Public PropertyUser defined name of the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the pin alignment relative to the model bounds  
    Public PropertyGets/sets the pin point in scene coordinate  
    Public PropertyGets/sets the element protection (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the model resize behavior when it resides in an aggregate model  
    Public PropertyGets/sets the start point (in scene coordinates)  
    Public PropertyGets/sets the local style of the element (can be null) (Inherited from Nevron.Diagram.NStyleableElement)
    Public PropertyGets/sets the name of the stylesheet, from which this element can inherit styles (Inherited from Nevron.Diagram.NStyleableElement)
    Public PropertyUser defined data associated with the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the unique id of the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyControls the visibility of the model  
    Public PropertyGets/sets the node width (in scene coordinates)  
    Public PropertyGets/sets the ZOrder of the node (Inherited from Nevron.Diagram.NDiagramNode)
    Top
    Public Methods
     NameDescription
    Public MethodBrings the node one position forward in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodBrings the node to front position in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodDetermines whether the node is not already at front position (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodDetermines whether the model can be painted in the specified context  
    Public MethodDetermines whether the node is not already at back position (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodCreates an identical copy of this instance (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodCreates an identical copy of the element, which differs only by the element unique id (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodComposes the animations style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the bridge style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the end arrowhead style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the fill style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the interactivity style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the shadow style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the start arrowhead style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the stroke style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes a new style, which contains cloning of the composes styles (Inherited from Nevron.Diagram.NStyleComposerElement)
    Public MethodComposes the text style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodOverridden. Called when the measurement unit of the measurements stored in this node have changed and all measurements must be converted to the new unit  
    Public Method (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCreates any non serialized objects maintained by the object (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodFastly transforms the element (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodFastly translates the element (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodFlips the element horizontally around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodFlips the element vertically around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodGets the attribute from its name (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodGets the name of the specified local attribute (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodGets the estimated direction of the specified end point to reach the specified start point  
    Public MethodObtains the location of a point along the model length, which corresponds to the specified percent (in scene coordinates)  
    Public MethodObtains the tangent angle (in radians) along the model length, which corresponds to the specified percent  
    Public MethodGets the nearest intersection point of the model contour with the vector defined by the specified start and end points  
    Public MethodGets the nearest intersection point of the rotated bounds with the vector defined by the specified start and end points  
    Public MethodObtains the reference provider to which the object is currently attached (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodGets the estimated direction of the specified start point to reach the specified end point  
    Public MethodOverloaded. Hit tests the model by point with the specified context  
    Public MethodInvalidates the projection of the object on the drawing surface (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodDetermines whether the aggregate model in which this model can reside is collapsed  
    Public MethodDetermines whether the model is collapsed - either locally or because it resides in a collapsed ancestor.  
    Public MethodDetermines whether the specified character is an input charecter  
    Public MethodDetermines whether the specified key is an input key  
    Public MethodCalled when the transformaiton of the specified ancestor has changed (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodCalled when the transformaiton of the specified ancestor is changing (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodCalled by attributes when an attribute has changed (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCalled by attributes when an attribute property has changed (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCalled by the attributes when an attribute property is changing (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCalled when the user clicked on the model  
    Public MethodCalled when the user double clicked on the model  
    Public MethodCalled when a dragged object is dropped in the model  
    Public MethodCalled when a dragged object entered the model  
    Public MethodCalled when a dragged object leaves the model  
    Public MethodCalled when a dragged object is moved over the model  
    Public MethodOverridden. Called to perform a history action  
    Public MethodHandles the key down event  
    Public MethodHandles the key press event  
    Public MethodHandles the key up event  
    Public MethodCalled when a mouse button is down in the model  
    Public MethodCalled when the mouse entered the model  
    Public MethodCalled when the mouse hovers in the model  
    Public MethodCalled when the mouse leaves the model  
    Public MethodCalled when the mouse moves in the model  
    Public MethodCalled when a mouse button is up in the model  
    Public MethodCalled when a mouse wheel was moved in the model  
    Public MethodOverridden. Called when the history has modified the object state  
    Public MethodOverridden. Called when the history is about to modify the object state  
    Public MethodPaints the model in the specified context  
    Public MethodCalled to provide a reference to the object of the specified type (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodReplaces any foreign unique ids (references to other nodes) (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodRepositions (translates) the shape so that the pin point is moved to the specified position  
    Public MethodReverses the model  
    Public MethodRotates the element around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodScales the element around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodScales the model content around the specified pin (in model coordinates)  
    Public MethodSends the node one position backward in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodSends the node to back position in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodSets a child or descendant attribute by its name (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodSets the bounds of the model to the newly specified bounds by applying scale and translate transformations on the model bounds.  
    Public MethodOverriden to return the element name (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodOverloaded. Translates the node with the specified offset (Inherited from Nevron.Diagram.NTransformableElement)
    Public Method (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodOverridden.   
    Top
    Protected Methods
     NameDescription
    Protected MethodCommits the current transaction (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodOverloaded. Computes the scene bounds of the model based on an expected new local transformation  
    Protected MethodCalled by the NStyleable element contructor to create the default style (Inherited from Nevron.Diagram.NStyleableElement)
    Protected MethodCalled by verb commands to execute the specified verb (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodResumes the history service. Pair it with the StartProperty method. (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodOverridden. Obtains the default value for the specified property  
    Protected MethodOverridden. Invalidates the scene cashe. Overriden to invalidate the cashed scene bounds  
    Protected MethodMeasures the specified length in device units (i.e. pixels) (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified length in world units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified size in pixels in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified pixels X size in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified pixels Y size in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified size in world units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified string in device units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified string in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified string in world units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodDetermines whether the model must be hit tested. A model does not need to be hit tested, if it is not visible or is collapsed.  
    Protected MethodCalled when the bounds of the model have changed  
    Protected MethodCalled when the bounds of the model are about to change  
    Protected MethodCalled when the bounds of the model have changed  
    Protected MethodCalled when the model bounds of the model are about to change  
    Protected MethodGeneral property changed handler, which fires the NodePropertyChanged event (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodGeneral property changing handler, which fires the NodePropertyChanging event (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodOverridden. Called when the transformation of the node has changed  
    Protected MethodOverridden. Called when the transformation of the node is about to change  
    Protected MethodSafely pauses the event sink service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodSafely pauses the history service (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodSafely pauses the smart paint service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodRecords an action (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodRecords the model definition  
    Protected MethodSafely records a custom operation in the history service to which the element is connected (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodRecords the state of the specified property before it is changed (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodOverloaded. Records the entire state of the node (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodSafely resumes the event sink service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodSafely resumes the history service (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodSafely resumes the smart paint service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodRolls back the current transaction (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodRecords the state of the specified property before it is changed and pauses the history service. Pair it with the EndProperty method. (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodStarts a new transaction (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodUpdates the node references to services (Inherited from Nevron.Diagram.NDiagramElement)
    Top
    Public Events
     NameDescription
    Public EventAttribute changed event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventAttribute property changed event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventAttribute property changing event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventBounds changed event  
    Public EventBounds changing event  
    Public EventClick event  
    Public EventDouble click event  
    Public EventDrag drop event  
    Public EventDrag enter event  
    Public EventDrag leave event  
    Public EventDrag over event  
    Public EventKey down event  
    Public EventKey press event  
    Public EventKey up event  
    Public EventMouse button down event  
    Public EventMouse enter event  
    Public EventMouse hover event  
    Public EventMouse leave event  
    Public EventMouse move event  
    Public EventMouse button up event  
    Public EventMouse wheel event  
    Public EventProperty changed event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventProperty changing event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventTransform changed event (Inherited from Nevron.Diagram.NTransformableElement)
    Public EventTransform changing event (Inherited from Nevron.Diagram.NTransformableElement)
    Top
    See Also