../../../ibm_ilog/diagram/interactors/ZoomKeyInteractor.html
ibm_ilog.diagram.interactors.ZoomKeyInteractor (version 1.1-SNAPSHOT)
dojo.require("ibm_ilog.diagram.interactors.ZoomKeyInteractor");
This Interactor manages the ViewPort Zoom through the keyboard interaction.
This Interactor have 2 connections: zoomIn, zoomOut.
Property Summary
Method Summary
Event Summary
Properties
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 | | |
returns the default event mapping
gets the zoom increment factor
return: integer
returns the Interactor Id
initialize the new instance.
Parameter | Type | Description |
---|
diagram | ibm_ilog.diagram.widget.Diagram | the associated diagram. |
Parameter | Type | Description |
---|
ids | | |
e | | |
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 zoom increment factor
increment: integer
the increment factor to be set
Parameter | Type | Description |
---|
incrementFactor | | |
Parameter | Type | Description |
---|
keyManager | | |
Parameter | Type | Description |
---|
manager | | |
This method zooms the diagram in
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method zooms the diagram out
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
This method reset the diagram zoom (set to 1)
Parameter | Type | Description |
---|
e | Event | object
the event to be treated. |
Events