|
|||||
| SUMMARY: FIELD | CONSTR | METHOD| EVENT | DETAIL: FIELD | CONSTR | METHOD| EVENT | ||||
This input mode adds navigation support to a graph canvas. It enables panning and zooming through mouse and touch interaction.
The MoveViewportInputMode and PinchInputMode are used as child modes
in order to provide panning and zooming functionality.
| Field Summary | |
|---|---|
Object |
moveViewportMode
The input mode used as a child mode to enable touch-based panning. |
Object |
pinchMode
The input mode used as a child mode to enable zoom-to-point functionality through pinch gestures. |
| Constructor Summary | |
|---|---|
NavigationInputMode(yfiles/client/tiles/widget/GraphCanvas canvas)
This input mode adds navigation support to a graph canvas. It enables panning and zooming through mouse and touch interaction. |
|
| Method Summary | |
|---|---|
|
activate()
Activates this input mode. |
yfiles/client/tiles/MoveViewportInputMode |
createMoveViewportInputMode()
Creates the |
yfiles/client/tiles/PinchInputMode |
createPinchInputMode()
Creates the |
|
deactivate()
Deactivates this input mode. |
| Field Detail |
|---|
Object moveViewportMode
The input mode used as a child mode to enable touch-based panning.
Object pinchMode
The input mode used as a child mode to enable zoom-to-point functionality through pinch gestures.
| Constructor Detail |
|---|
NavigationInputMode(yfiles/client/tiles/widget/GraphCanvas canvas)
This input mode adds navigation support to a graph canvas. It enables panning and zooming through mouse and touch interaction.
The MoveViewportInputMode and PinchInputMode are used as child modes
in order to provide panning and zooming functionality.
canvas -
| Method Detail |
|---|
activate()
Activates this input mode.
This implementation just delegates to the super implementation.
yfiles/client/tiles/MoveViewportInputMode createMoveViewportInputMode()
Creates the MoveViewportInputMode that is used as a child input mode to enable viewport movement.
yfiles/client/tiles/PinchInputMode createPinchInputMode()
Creates the PinchInputMode that is used as a child input mode to enable zoom functionality.
deactivate()
Deactivates this input mode.
This implementation just delegates to the super implementation.