GoDiagram Win Reference
GoDrawToolDragging Class Members
Properties  Methods 


The following tables list the members exposed by GoDrawToolDragging.

Public Constructors
 NameDescription
Public ConstructorGoDrawToolDragging ConstructorThe constructor takes the GoView to which this tool will belong.  
Top
Public Properties
 NameDescription
Public PropertyCopiesEffectiveSelectionGets or sets whether for a copying operation the Northwoods.Go.GoView.SelectionNorthwoods.Go.GoToolDragging.EffectiveSelection is copied. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertyCurrentObjectGets or sets this tool's CurrentObject property. (Inherited from Northwoods.Go.GoTool)
Public PropertyDragSelectionGets or sets the alternative selection collection, holding an image of the view's selection. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertyDragSelectionOriginalObjectGets or sets what had been the Northwoods.Go.GoTool.CurrentObject before the drag selection substituted its own. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertyEffectiveSelectionGets the cached result of a call to Northwoods.Go.GoToolDragging.ComputeEffectiveSelection. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertyEffectiveSelectionIncludesLinksGets or sets whether Northwoods.Go.GoToolDragging.ComputeEffectiveSelection should include links that have both ports in (or part of) the selection being dragged. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertyFirstInputGets this view's FirstInput property. (Inherited from Northwoods.Go.GoTool)
Public PropertyHidesSelectionHandlesGets or sets whether selection handles should be removed as the drag starts. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertyLastInputGets this view's LastInput property. (Inherited from Northwoods.Go.GoTool)
Public PropertyMoveOffsetGets or sets the offset of the mouse point within the current object. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertySelectionGets this view's Selection property. (Inherited from Northwoods.Go.GoTool)
Public PropertySelectsWhenStartsControl whether Northwoods.Go.GoToolDragging.Start may modify the view's selection. (Inherited from Northwoods.Go.GoToolDragging)
Public PropertyTransactionResultGets or sets whether to abort the current transaction if this tool is stopped; if set to a string, the string specifies the name of the transaction that will be finished when the tool stops. (Inherited from Northwoods.Go.GoTool)
Public PropertyViewGets the view for which this tool is handling canonicalized input events. (Inherited from Northwoods.Go.GoTool)
Top
Public Methods
 NameDescription
Public MethodCanStartThe dragging tool is applicable when the user can move or copy one or more objects. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodClearDragSelectionStop using the Northwoods.Go.GoToolDragging.DragSelection. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodComputeEffectiveSelectionProduce a new Northwoods.Go.GoSelection that is the real set of objects to be moved by Northwoods.Go.GoView.MoveSelection or copied by Northwoods.Go.GoView.CopySelection. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodCreateDragSelectionCreate a new selection object containing an image of all of the real selected objects. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodDoCancelMouseCancelling a drag involves moving the selection back to the original position before aborting the transaction. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodDoClickAny tool can call this method in order to implement the standard click behavior. (Inherited from Northwoods.Go.GoTool)
Public MethodDoDragDropCall Control.DoDragDrop (Inherited from Northwoods.Go.GoToolDragging)
Public MethodDoDraggingOverridden. Keep the object ruler cursors up to date, by calling GoDrawView.UpdateObjectCursors.  
Public MethodDoKeyDownThe view calls this method when the user presses a key on the keyboard; all of the event information is provided by the Northwoods.Go.GoTool.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 Northwoods.Go.GoTool.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 Northwoods.Go.GoTool.LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoMouseMoveMouse drags just call Northwoods.Go.GoToolDragging.DoDragging and Northwoods.Go.GoToolDragging.DoMouseOver. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodDoMouseOverCall Northwoods.Go.GoView method DoObjectEnterLeave. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodDoMouseUpThe release of the mouse makes a final call to Northwoods.Go.GoToolDragging.DoDragging before finishing the transaction. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodDoMouseWheelThe view calls this method as the mouse wheel rotates; all of the event information is provided by the Northwoods.Go.GoTool.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 Northwoods.Go.GoTool.DragSize distance to be considered a drag instead of a sloppy click. (Inherited from Northwoods.Go.GoTool)
Public MethodMakeDragSelectionStart using a Northwoods.Go.GoToolDragging.DragSelection, creating it if needed, and moving the originally selected objects back to their original position. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodMayBeCopyingThis predicate is true when the view allows objects to be copied and inserted, and some object in the Selection is copyable. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodMayBeMovingThis predicate is true when the view allows objects to be moved, and some object in the Selection is movable. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodMustBeCopyingThis predicate is true when the user is trying to force a copy by holding down the Control modifier. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodMustBeMovingThis predicate is true when the user is trying to force a move by holding down the Shift modifier. (Inherited from Northwoods.Go.GoToolDragging)
Public MethodStartOverridden. This calls GoDrawView.AddObjectCursors to replace the normal ruler cursors for the mouse with those associated with an object.  
Public MethodStartTransactionStart a transaction on the view. (Inherited from Northwoods.Go.GoTool)
Public MethodStopOverridden. This calls GoDrawView.RemoveObjectCursors.  
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 Northwoods.Go.GoTool.TransactionResult is null. (Inherited from Northwoods.Go.GoTool)
Top
See Also

Reference

GoDrawToolDragging Class
Northwoods.Go.Draw Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback