IBM ILOG Dojo Diagrammer 1.1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

ibm_ilog.diagram.interactors.ZoomKeyInteractor

Object » ibm_ilog.diagram.util.HandleSet » ibm_ilog.diagram.interactors.Interactor » ibm_ilog.diagram.interactors.ZoomKeyInteractor
dojo.require("ibm_ilog.diagram.interactors.ZoomKeyInteractor");

This Interactor manages the ViewPort Zoom through the keyboard interaction. This Interactor have 2 connections: zoomIn, zoomOut.

Method Summary

Event Summary

Methods

assignInputs
ParameterTypeDescription
assignments
deactivate
Disconnects all connections by going to the null state
eventButtonIsLeft
ParameterTypeDescription
e
eventButtonIsMiddle
ParameterTypeDescription
e
eventButtonIsRight
ParameterTypeDescription
e
eventClientLocation
returns pointer position associated with the given event
ParameterTypeDescription
e
eventPageLocation
returns pointer position associated with the given event
ParameterTypeDescription
e
eventWheelAmmount
ParameterTypeDescription
e
getDefaultConnections
returns the default event mapping
getIncrementFactor
gets the zoom increment factor return: integer
getKeyInteractorId
returns the Interactor Id
initialize
initialize the new instance.
ParameterTypeDescription
diagramibm_ilog.diagram.widget.Diagramthe associated diagram.
keyPressed
ParameterTypeDescription
ids
e
overrideConnections
Override the default event map with the given handlers
ParameterTypeDescription
connections
reactivate
release all the handles and reconnect.
setConnections
sets a new connections configuration
ParameterTypeDescription
connections
setEnabled
ParameterTypeDescription
b
setIncrementFactor
sets the zoom increment factor increment: integer the increment factor to be set
ParameterTypeDescription
incrementFactor
setKeyManager
ParameterTypeDescription
keyManager
setManager
ParameterTypeDescription
manager
zoomIn
This method zooms the diagram in
ParameterTypeDescription
eEventobject the event to be treated.
zoomOut
This method zooms the diagram out
ParameterTypeDescription
eEventobject the event to be treated.
zoomReset
This method reset the diagram zoom (set to 1)
ParameterTypeDescription
eEventobject the event to be treated.

Events