This documentation is for the old version. Go to the latest Graphics Mill docs

PanNavigator Class

This client-side class corresponds to the PanNavigator server-side control.

Namespace: GraphicsMill
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
GraphicsMill.PanNavigator = function();

Type.createClass(
	'GraphicsMill.PanNavigator',
	GraphicsMill.UserInputController);

Remarks

This class represents a navigator which is used to pan the content inside the BaseViewer control.

When this navigator is attached to the BaseViewer, it is working in the following way:

  1. When the left button of the mouse is pressed down, it captures the control.
  2. When control is captured and the mouse is moved, the content is panned together with mouse pointer. The callback from the server occurred only if user stops moving at least for one second.
  3. When the left button of the mouse is released, the mouse control is dismissed.

You can attach this navigator from client-side code using the BaseViewer.navigator property.

Inheritance Hierarchy

Sys.Component
L Sys.UI.Control
L GraphicsMill.UserInputController
L GraphicsMill.PanNavigator

See Also

Reference