PanningTool class
The PanningTool supports manual panning, where the user can shift the Diagram#position by dragging the mouse.
This tool is a standard mouse-move tool, the ToolManager#panningTool. Although the ToolManager#dragSelectingTool takes precedence over this tool, the DragSelectingTool only starts if there is a delay after a mouse-down event. If it does not start, then this PanningTool gets a chance to start.
This tool does not utilize any Adornments or tool handles. This tool does not modify the model or conduct any transaction.
If you want to programmatically "pan" the diagram, you can just set Diagram#position or call methods such as Diagram#scroll, Diagram#scrollToRect, or Diagram#centerRect.
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- PanningTool()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited