GoDiagram Win Reference
GoDrawToolRubberBanding Class Members
Properties  Methods 


The following tables list the members exposed by GoDrawToolRubberBanding.

Public Constructors
 NameDescription
Public ConstructorGoDrawToolRubberBanding ConstructorThe constructor takes the GoView to which this tool will belong.  
Top
Public Properties
 NameDescription
Public PropertyActiveGets or sets whether this tool is in the process of drawing a rubber-band box. (Inherited from Northwoods.Go.GoToolRubberBanding)
Public PropertyAutoScrollingGets or sets whether this tool automatically scrolls the view when the mouse is near the edge, thus extending the size of the Northwoods.Go.GoToolRubberBanding.Box. (Inherited from Northwoods.Go.GoToolRubberBanding)
Public PropertyBoxGets or sets the rectangle that the user has drawn so far. (Inherited from Northwoods.Go.GoToolRubberBanding)
Public PropertyCurrentObjectGets or sets this tool's CurrentObject property. (Inherited from Northwoods.Go.GoTool)
Public PropertyFirstInputGets this view's FirstInput property. (Inherited from Northwoods.Go.GoTool)
Public PropertyLastInputGets this view's LastInput property. (Inherited from Northwoods.Go.GoTool)
Public PropertyModalGets or sets whether this tool should wait for a mouse-down before drawing a rubber-band box. (Inherited from Northwoods.Go.GoToolRubberBanding)
Public PropertySelectionGets this view's Selection property. (Inherited from Northwoods.Go.GoTool)
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 MethodCanStartThis tool can start if the user can select objects in this view and the input event point is not over a selectable document object. (Inherited from Northwoods.Go.GoToolRubberBanding)
Public MethodComputeRubberBandBoxThis method is called to compute the latest bounds of the Northwoods.Go.GoToolRubberBanding.Box. (Inherited from Northwoods.Go.GoToolRubberBanding)
Public MethodDoCancelMouseThe view calls this method when the user cancels the gesture with the mouse; all of the event information is provided by the Northwoods.Go.GoTool.LastInput property. (Inherited from Northwoods.Go.GoTool)
Public MethodDoClickAny tool can call this method in order to implement the standard click behavior. (Inherited from Northwoods.Go.GoTool)
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 MethodDoMouseDownThis starts keeping track of the Northwoods.Go.GoToolRubberBanding.Box's bounds. (Inherited from Northwoods.Go.GoToolRubberBanding)
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 MethodDoMouseMoveOverridden. This just calls GoDrawView.UpdateMouseCursors to keep the ruler cursors up-to-date.  
Public MethodDoMouseUpWhen the mouse is released, we remove the rubber band box, call Northwoods.Go.GoToolRubberBanding.DoRubberBand, and stop this tool if Northwoods.Go.GoToolRubberBanding.Modal is false. (Inherited from Northwoods.Go.GoToolRubberBanding)
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 MethodDoRubberBandThis method is called as part of the mouse up event, normally to select the objects within the box. (Inherited from Northwoods.Go.GoToolRubberBanding)
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 MethodStartOverridden. This calls GoDrawView.AddMouseCursors to display the normal ruler cursors for the mouse.  
Public MethodStartTransactionStart a transaction on the view. (Inherited from Northwoods.Go.GoTool)
Public MethodStopOverridden. This calls GoDrawView.RemoveMouseCursors.  
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

GoDrawToolRubberBanding Class
Northwoods.Go.Draw Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback