Nevron Open Vision Documentation
NDragTool Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NDragTool.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)AbortKeyProperty  
Public Fieldstatic (Shared in Visual Basic)EndMouseButtonEventProperty  
Public Fieldstatic (Shared in Visual Basic)NDragToolSchemaSchema associated with NDragTool  
Public Fieldstatic (Shared in Visual Basic)StartMouseButtonEventProperty  
Top
Public Properties
 NameDescription
Public PropertyAbortKeyGets or sets the keyboard key that aborts this drag tool. By default set to LeftButtonUp.  
Public PropertyEndMouseButtonEventGets or sets the mouse button event that deactivates this drag tool. By default set to LeftButtonDown.  
Public PropertyStartMouseButtonEventGets or sets the mouse button event that activates this drag tool.  
Public PropertyStartScreenPosGets mouse position in screen coordinates at drag tool activation time. Valid only when the tool is active.  
Top
Public Methods
 NameDescription
Public MethodOnFocusOutOverridden.   
Public MethodOnKeyDownOverridden. Processes the key down event  
Public MethodOnMouseDownOverridden. Handler for the NMouse.DownEvent event.  
Public MethodOnMouseMoveOverridden. Handler for the NMouse.MoveEvent event.  
Public MethodOnMouseUpOverridden. Processes the mouse up event  
Top
Protected Methods
 NameDescription
Protected MethodActivationHandlesEventReturns whether the activation of the tool must handle(cancel) the event.  
Protected MethodCaptureMouseOnActivatedGets whether the tool must capture the mouse on the interactor target when activated. This implementation returns true.  
Protected MethodCreateActivationAreaGets the area in which this tool can activate. A return value of null, means that the tool can activate in any area.  
Protected MethodDeactivationHandlesEventReturns whether the deactivation of the tool must handle(cancel) the event.  
Protected MethodFocusOnActivatedGets whether the tool must focus the interactor target when activated. This implementation returns true.  
Protected MethodGetActiveCursorAndTooltipGets the cursor and tooltip that the tool requests when active.  
Protected MethodGetReadyCursorAndTooltipGets the cursor and tooltip that the tool requests when not active.  
Protected MethodOnAbortedOverridden. Called when the tool was aborted.  
Protected MethodOnActivatedOverridden. Called when the tool was activated.  
Protected MethodOnDeactivatedOverridden. Called when the tool was deactivated.  
Protected MethodOnMouseDownOrUp  
Protected MethodTryActivateTries to activate the tool in response to the specified mouse event. Returns true if the tool is activated after the call.  
Protected MethodTryDeactivateTries to deactivate the tool in response to the specified mouse event. Returns true if the tool is deactivated after the call.  
Protected MethodUpdateCursorAndTooltipRequests cursor and tooltip depending on the tool state.  
Top
See Also

Reference

NDragTool Class
Nevron.Nov.UI Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback