PanningTool$Typings extension

on

Properties

bubbles bool

Available on PanningTool, provided by the PanningTool$Typings extension

Gets or sets whether panning actions will allow events to bubble instead of panning in the diagram.
getter/setter pair
originalPosition Point

Available on PanningTool, provided by the PanningTool$Typings extension

This read-only property returns the Point that was the original value of Diagram#position when the panning operation started.
getter/setter pair

Methods

canStart() bool

Available on PanningTool, provided by the PanningTool$Typings extension

This tool can run when the diagram allows scrolling and the mouse has been dragged with the left button far enough away from the mouse-down point to avoid being a click.
doActivate() → void

Available on PanningTool, provided by the PanningTool$Typings extension

Capture the mouse, change the diagram cursor to "move", and remember the Diagram#position.
doCancel() → void

Available on PanningTool, provided by the PanningTool$Typings extension

Restore the Diagram#position to what it was when this tool activated.
doDeactivate() → void

Available on PanningTool, provided by the PanningTool$Typings extension

Release the mouse and restore the default diagram cursor.
doMouseMove() → void

Available on PanningTool, provided by the PanningTool$Typings extension

Modify the Diagram#position according to how much the mouse has moved.
doMouseUp() → void

Available on PanningTool, provided by the PanningTool$Typings extension

Modify the Diagram#position according to how much the mouse has moved.