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

ibm_ilog.diagram.interactors.PanKeyInteractor

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

This Interactor manages the ViewPort Pan movement through the keyboard interaction. This Interactor have 4 connections: panLeft, panRigth, panUp, panDown.

Property Summary

Method Summary

Event Summary

Properties

KeyInteractorId

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
getIncrement
gets the pan increment
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
panDown
This method pans the diagram down
ParameterTypeDescription
eEventobject the event to be treated.
panLeft
This method pans the diagram left
ParameterTypeDescription
eEventobject the event to be treated.
panRight
This method pans the diagram right
ParameterTypeDescription
eEventobject the event to be treated.
panUp
This method pans the diagram up
ParameterTypeDescription
eEventobject the event to be treated.
reactivate
release all the handles and reconnect.
setConnections
sets a new connections configuration
ParameterTypeDescription
connections
setEnabled
ParameterTypeDescription
b
setIncrement
sets the pan increment
ParameterTypeDescription
incrementintegerthe increment to be set
setKeyManager
ParameterTypeDescription
keyManager
setManager
ParameterTypeDescription
manager

Events