GoDiagram Win Reference
GoToolDragging Class Methods


For a list of all members of this type, see GoToolDragging members.

Public Methods
 NameDescription
Public MethodCanStartOverridden. The dragging tool is applicable when the user can move or copy one or more objects.  
Public MethodClearDragSelectionStop using the DragSelection.  
Public MethodComputeEffectiveSelectionProduce a new GoSelection that is the real set of objects to be moved by GoView.MoveSelection or copied by GoView.CopySelection.  
Public MethodCreateDragSelectionCreate a new selection object containing an image of all of the real selected objects.  
Public MethodDoCancelMouseOverridden. Cancelling a drag involves moving the selection back to the original position before aborting the transaction.  
Public MethodDoClickAny tool can call this method in order to implement the standard click behavior. (Inherited from Northwoods.Go.GoTool)
Public MethodDoDragDropCall Control.DoDragDrop  
Public MethodDoDraggingPerform the drag, for both moving and copying, including the final move or copy on a mouse up event.  
Public MethodDoKeyDownThe view calls this method when the user presses a key on the keyboard; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoMouseDownThe view calls this method upon a mouse down event; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoMouseHoverThe view calls this method after the mouse rests for a while at a point; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoMouseMoveOverridden. Mouse drags just call DoDragging and DoMouseOver.  
Public MethodDoMouseOverCall GoView method GoView.DoObjectEnterLeave.  
Public MethodDoMouseUpOverridden. The release of the mouse makes a final call to DoDragging before finishing the transaction.  
Public MethodDoMouseWheelThe view calls this method as the mouse wheel rotates; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoSelectAny tool can call this method in order to implement the standard selection behavior for a user click. (Inherited from Northwoods.Go.GoTool)
Public MethodIsBeyondDragSizeDetermine if the mouse has gone beyond the DragSize distance to be considered a drag instead of a sloppy click. (Inherited from Northwoods.Go.GoTool)
Public MethodMakeDragSelectionStart using a DragSelection, creating it if needed, and moving the originally selected objects back to their original position.  
Public MethodMayBeCopyingThis predicate is true when the view allows objects to be copied and inserted, and some object in the Selection is copyable.  
Public MethodMayBeMovingThis predicate is true when the view allows objects to be moved, and some object in the Selection is movable.  
Public MethodMustBeCopyingThis predicate is true when the user is trying to force a copy by holding down the Control modifier.  
Public MethodMustBeMovingThis predicate is true when the user is trying to force a move by holding down the Shift modifier.  
Public MethodStartOverridden. Start a drag-and-drop operation.  
Public MethodStartTransactionStart a transaction on the view. (Inherited from Northwoods.Go.GoTool)
Public MethodStopOverridden. Clean up after any drag.  
Public MethodStopToolThis method just causes the view's current tool to be stopped and to start the view's default tool instead as the current tool. (Inherited from Northwoods.Go.GoTool)
Public MethodStopTransactionStop the current transaction, aborting it if TransactionResult is null. (Inherited from Northwoods.Go.GoTool)
Top
See Also

Reference

GoToolDragging Class
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback