standardMouseWheel method

void standardMouseWheel()

Implement the standard behavior for mouse wheel events. ToolManager#doMouseWheel calls this method.

Turning the mouse wheel if Diagram#allowVerticalScroll is true causes the diagram to scroll up or down. If InputEvent#shift and Diagram#allowHorizontalScroll are true, the diagram scrolls left or right.

If InputEvent#control and Diagram#allowZoom are true, turning the mouse wheel changes the diagram's scale, zooming in or out while trying to keep the point in the model at the same point as the mouse.

The value of ToolManager#mouseWheelBehavior affects what operations might occur upon mouse wheel events.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose

Implementation

void standardMouseWheel() {
  _i4.callMethod(
    this,
    'standardMouseWheel',
    [],
  );
}