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.MoveKeyInteractor

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

This Interactor manages the graphElements movement through the keyboard interaction. This Interactor have 8 connections: moveLeft, moveRigth, moveUp, moveDown, fineMoveLeft, fineMoveRigth, fineMoveUp, fineMoveDown.

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
fineMoveDown
This method finely moves the selected elements down
ParameterTypeDescription
eEventobject the event to be treated.
fineMoveLeft
This method finely moves the selected elements left
ParameterTypeDescription
eEventobject the event to be treated.
fineMoveRight
This method finely moves the selected elements rigth
ParameterTypeDescription
eEventobject the event to be treated.
fineMoveUp
This method finely moves the selected elements up
ParameterTypeDescription
eEventobject the event to be treated.
getDefaultConnections
returns the default event mapping
getFineIncrement
gets the move fine increment
getIncrement
gets the move increment
getKeyInteractorId
returns the Interactor Id
getTransformToElement
a transform from viewport coords to element coords
ParameterTypeDescription
e
initialize
initialize the new instance.
ParameterTypeDescription
diagramibm_ilog.diagram.widget.Diagramthe associated diagram.
keyPressed
ParameterTypeDescription
ids
e
moveDown
This method moves the selected elements down
ParameterTypeDescription
eEventobject the event to be treated.
moveLeft
This method moves the selected elements left
ParameterTypeDescription
eEventobject the event to be treated.
moveRight
This method moves the selected elements rigth
ParameterTypeDescription
eEventobject the event to be treated.
moveUp
This method moves the selected elements up
ParameterTypeDescription
eEventobject the event to be treated.
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
setFineIncrement
sets the move fine increment
ParameterTypeDescription
incrementintegerthe fine increment to be set
setIncrement
sets the move increment
ParameterTypeDescription
incrementintegerthe increment to be set
setKeyManager
ParameterTypeDescription
keyManager
setManager
ParameterTypeDescription
manager

Events