Nevron .NET Vision
NCreateConnectorTool Class Members
Fields  Properties  Methods 


The following tables list the members exposed by NCreateConnectorTool.

Public Constructors
 NameDescription
Public ConstructorNCreateConnectorTool ConstructorDefault constructor  
Top
Protected Fields
 NameDescription
Protected Fieldm_bIsActiveIndicates whether this tool is active. (Inherited from Nevron.Diagram.WinForm.NTool)
Protected Fieldm_ElementThe created element. (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Protected Fieldm_PreviewThe element's preview. (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Top
Public Properties
 NameDescription
Public PropertyAbortKeyGets/sets the tool abort key (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public PropertyAllowCreateDisconnectedGets/sets whether partially disconnected connectors can be created  
Public PropertyAllowCreateReflexiveGets/sets whether reflexive connectors can be created  
Public PropertyCollectionObtains a reference to the tools collection (Inherited from Nevron.Diagram.WinForm.NTool)
Public PropertyConnectorTypeSpecifies the type of connector, which must be created  
Public PropertyControllerObtains a reference to the controller (Inherited from Nevron.Diagram.WinForm.NTool)
Public PropertyDocumentObtains a reference to the drawing document to which this tool is connected (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool)
Public PropertyEnabledGets/sets whether the tool is enabled (Inherited from Nevron.Diagram.WinForm.NTool)
Public PropertyEndMouseEventGets/sets the tool end (deactivation) event (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public PropertyIsActiveDetermines whether the tool is currently in active state (Inherited from Nevron.Diagram.WinForm.NTool)
Public PropertyNameGets/sets the name of the tool, which is unique in the tools collection of the controller (Inherited from Nevron.Diagram.WinForm.NTool)
Public PropertyNeedsSecondMouseButtonPassDetermines whether the tool needs a second mouse button event processing pass (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public PropertySelectNewElementSpecifies whether the newly created element must be selected (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Public PropertySnapEndPlugToShapeSpecifies whether to attempt shape snapping if by default the end plug was not snapped to port  
Public PropertySnapStartPlugToShapeSpecifies whether to attempt shape snapping if by default the start plug was not snapped to port  
Public PropertyStartMouseEventGets/sets the tool start (activation) event (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public PropertyViewObtains a reference to the drawing view to which this tool is connected (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool)
Top
Protected Properties
 NameDescription
Protected PropertyElementObtains a reference to the real element which is going to be added to the document (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Protected PropertyEndSnapResGets/sets the current snap result for the end connector plug  
Protected PropertyHasLeftFromShapeDetermines whether the mouse has left the from shape (if there was a from shape)  
Protected PropertyOperatesInWindowAreaDetermines whether the tool operates in the view window area (Inherited from Nevron.Diagram.WinForm.NDragTool)
Protected PropertyPreviewObtains a reference to the preview element (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Protected PropertyRequiresTargetLayerDetermines whether the tool requires an active document layer (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Protected PropertyStartMouseInfoObtains the mouse info when the tool was activated (Inherited from Nevron.Diagram.WinForm.NDragTool)
Protected PropertyStartSnapResGets/sets the current snap result for the start connector plug  
Protected PropertyTargetLayerGets the target layer of this tool (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Top
Public Methods
 NameDescription
Public MethodAbortOverridden. Aborts the tool if it is active  
Public MethodActivateOverridden. Activates the tool  
Public MethodCanActivateDetermines whether the tool can activate (Inherited from Nevron.Diagram.WinForm.NCreateElementTool)
Public MethodCanDeactivateDetermines whether the tool can deactivate (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public MethodCreateFieldNonSerializedObjects (Inherited from Nevron.Diagram.WinForm.NTool)
Public MethodCreateNonSerializedObjectsCreates any non serialized objects, which the holder posseses (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public MethodDeactivateOverridden. Deactivates the tool  
Public MethodGetReferenceProviderObtains the reference provider to which the object is currently attached (Inherited from Nevron.Diagram.WinForm.NTool)
Public MethodIsInputCharProcesses the is input char query (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodIsInputKeyProcesses the is input key query (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public MethodProcessClickPrecesses the mouse click event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodProcessDoubleClickPrecesses the mouse double click event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodProcessKeyDownProcesses the key down event (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public MethodProcessKeyPressProcesses the key press event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodProcessKeyUpProcesses the key up event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodProcessMouseDownProcesses the mouse down event (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public MethodProcessMouseEnterProcesses the mouse enter event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodProcessMouseHoverPrecesses the mouse hover event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodProcessMouseLeaveProcesses the mouse leave event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodProcessMouseMoveOverridden. Processes the mouse move event  
Public MethodProcessMouseUpProcesses the mouse up event (Inherited from Nevron.Diagram.WinForm.NDragTool)
Public MethodProcessMouseWheelProcesses the mouse wheel event (Inherited from Nevron.Diagram.WinForm.NMouseAndKeyboardTool)
Public MethodUpdateFieldReferences (Inherited from Nevron.Diagram.WinForm.NTool)
Public MethodUpdateReferencesOverriden to cashe references to NDrawingView and NDrawingDocument instances (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool)
Public MethodUpdateStatusBarInfoUpdates the specified status bar info (Inherited from Nevron.Diagram.WinForm.NDrawingDragTool)
Top
Protected Methods
 NameDescription
Protected MethodCanCreateConnectorDetermines whether a connector can currently be created  
Protected MethodCreateElementOverridden. Overriden to create a connector from the specified type and with the specified style  
Protected MethodGetFromShapeGets the from shape  
Protected MethodGetToShapeGets the to shape  
Protected MethodHighlightPortsHighlights the specified ports  
Protected MethodIsMouseInFromShapeDetermines whether the mouse is in the from shape  
Protected MethodRedefineConnectorRedefines the specified connector geometry to connect the specified start and end points  
Protected MethodRequestReadyToActivateCursorCalled when the tool is inactive but is ready to be activated and requests a cursor for visual feedback (Inherited from Nevron.Diagram.WinForm.NDragTool)
Protected MethodSnapEndPlugCalled to snap the end plug. The default implementation simply calls SnapShapePlug method of the snap manager. Override this method to support custom end plug snapping.  
Protected MethodSnapStartPlugCalled to snap the start plug. The default implementation simply calls SnapShapePlug method of the snap manager. Override this method to support custom start plug snapping.  
Protected MethodValidateFromPortValidates the port to which the connector start plug is going to be connected  
Protected MethodValidateToPortValidates the port to which the connector end plug is going to be connected  
Protected MethodVerifyNewAbortKeyVerifies the specified new about key and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool)
Protected MethodVerifyNewEndMouseEventVerifies the specified new end mouse event and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool)
Protected MethodVerifyNewStartMouseEventVerifies the specified new start mouse event and throws an exception if it is not valid (Inherited from Nevron.Diagram.WinForm.NDragTool)
Top
See Also

Reference

NCreateConnectorTool Class
Nevron.Diagram.WinForm Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback