GoDiagram Web Reference
GoToolZooming Class Members
Properties  Methods 


The following tables list the members exposed by GoToolZooming.

Public Constructors
 NameDescription
Public ConstructorGoToolZooming ConstructorThe standard tool constructor.  
Top
Public Properties
 NameDescription
Public PropertyActiveGets or sets whether this tool is in the process of drawing a rubber-band box. (Inherited from Northwoods.GoWeb.GoToolRubberBanding)
Public PropertyBoxGets or sets the rectangle that the user has drawn so far. (Inherited from Northwoods.GoWeb.GoToolRubberBanding)
Public PropertyCurrentObjectGets or sets this tool's CurrentObject property. (Inherited from Northwoods.GoWeb.GoTool)
Public PropertyFirstInputGets this view's FirstInput property. (Inherited from Northwoods.GoWeb.GoTool)
Public PropertyLastInputGets this view's LastInput property. (Inherited from Northwoods.GoWeb.GoTool)
Public PropertyModalGets or sets whether this tool should wait for a mouse-down before drawing a rubber-band box. (Inherited from Northwoods.GoWeb.GoToolRubberBanding)
Public PropertySelectionGets this view's Selection property. (Inherited from Northwoods.GoWeb.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.GoWeb.GoTool)
Public PropertyViewGets the view for which this tool is handling canonicalized input events. (Inherited from Northwoods.GoWeb.GoTool)
Public PropertyZoomedViewGets the view whose aspect ratio we want to maintain when drawing a zoom region, and whose document position and scale will be adjusted on a mouse up.  
Top
Public Methods
 NameDescription
Public MethodCanStartOverridden. Allow this tool to start if the user isn't using the context button and if the mouse isn't over an object in the document.  
Public MethodComputeRubberBandBoxOverridden. Make the box keep the aspect ratio of the observed view.  
Public MethodDoCancelMouseThe view calls this method when the user cancels the gesture with the mouse; all of the event information is provided by the LastInput property. (Inherited from Northwoods.GoWeb.GoTool)
Public MethodDoClickAny tool can call this method in order to implement the standard click behavior. (Inherited from Northwoods.GoWeb.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 LastInput property. (Inherited from Northwoods.GoWeb.GoTool)
Public MethodDoMouseDownThis starts keeping track of the Box's bounds. (Inherited from Northwoods.GoWeb.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 LastInput property. (Inherited from Northwoods.GoWeb.GoTool)
Public MethodDoMouseMoveAs the mouse is dragged, we display the rubber band box. (Inherited from Northwoods.GoWeb.GoToolRubberBanding)
Public MethodDoMouseUpWhen the mouse is released, we remove the rubber band box, call DoRubberBand, and stop this tool if Modal is false. (Inherited from Northwoods.GoWeb.GoToolRubberBanding)
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.GoWeb.GoTool)
Public MethodDoRubberBandOverridden. Instead of selecting objects within a rectangle, change the ZoomedView's GoView.DocPosition and GoView.DocScale to match the given box within this view.  
Public MethodDoSelectAny tool can call this method in order to implement the standard selection behavior for a user click. (Inherited from Northwoods.GoWeb.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.GoWeb.GoTool)
Public MethodStartThis method is called when this tool becomes the view's current tool. (Inherited from Northwoods.GoWeb.GoTool)
Public MethodStartTransactionStart a transaction on the view. (Inherited from Northwoods.GoWeb.GoTool)
Public MethodStopRemove the rubber band box from the view. (Inherited from Northwoods.GoWeb.GoToolRubberBanding)
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.GoWeb.GoTool)
Public MethodStopTransactionStop the current transaction, aborting it if TransactionResult is null. (Inherited from Northwoods.GoWeb.GoTool)
Top
See Also

Reference

GoToolZooming Class
Northwoods.GoWeb Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback