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

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

This Interactor manages the Selection through the keyboard interaction. This Interactor have 4 connections: singleSelect, multiSelect, selectAll and clearSelection.

Method Summary

Event Summary

Methods

assignInputs
ParameterTypeDescription
assignments
clearSelection
This method clears the selection
ParameterTypeDescription
eEventobject the event to be treated.
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
getKeyInteractorId
getSelection
initialize
initialize the new instance.
ParameterTypeDescription
diagramibm_ilog.diagram.widget.Diagramthe associated diagram.
keyPressed
ParameterTypeDescription
ids
e
multiSelect
This method clears the adds the focused element to the selection or removed it if selected.
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.
selectAll
This method adds all the graph elements to the selection
ParameterTypeDescription
eEventobject the event to be treated.
setConnections
sets a new connections configuration
ParameterTypeDescription
connections
setEnabled
ParameterTypeDescription
b
setKeyManager
ParameterTypeDescription
keyManager
setManager
ParameterTypeDescription
manager
singleSelect
This method clears the selection and adds the focused element to the selection.
ParameterTypeDescription
eEventobject the event to be treated.

Events