../../../ibm_ilog/diagram/interactors/MoveKeyInteractor.html
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
Parameter | Type | Description |
---|
assignments | | |
Disconnects all connections by going to the null state
Parameter | Type | Description |
---|
e | | |
Parameter | Type | Description |
---|
e | | |
Parameter | Type | Description |
---|
e | | |
returns pointer position associated with the given event
Parameter | Type | Description |
---|
e | | |
returns pointer position associated with the given event
Parameter | Type | Description |
---|
e | | |
Parameter | Type | Description |
---|
e | | |
This method finely moves the selected elements down
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method finely moves the selected elements left
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method finely moves the selected elements rigth
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method finely moves the selected elements up
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
returns the default event mapping
gets the move fine increment
returns the Interactor Id
a transform from viewport coords to element coords
Parameter | Type | Description |
---|
e | | |
initialize the new instance.
Parameter | Type | Description |
---|
diagram | ibm_ilog.diagram.widget.Diagram | the associated diagram. |
Parameter | Type | Description |
---|
ids | | |
e | | |
This method moves the selected elements down
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method moves the selected elements left
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method moves the selected elements rigth
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method moves the selected elements up
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
Override the default event map with the given handlers
Parameter | Type | Description |
---|
connections | | |
release all the handles and reconnect.
sets a new connections configuration
Parameter | Type | Description |
---|
connections | | |
Parameter | Type | Description |
---|
b | | |
sets the move fine increment
Parameter | Type | Description |
---|
increment | integer | the fine increment to be set |
sets the move increment
Parameter | Type | Description |
---|
increment | integer | the increment to be set |
Parameter | Type | Description |
---|
keyManager | | |
Parameter | Type | Description |
---|
manager | | |
Events