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.editor.interactors.ClipboardKeyInteractor

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

This Interactor manages the Clipboard through the keyboard interaction. This Interactor have 3 connections: cut, copy, paste.

Property Summary

Method Summary

Event Summary

Properties

KeyInteractorId

Methods

assignInputs
ParameterTypeDescription
assignments
copy
This method calls the Clipboard Copy function.
ParameterTypeDescription
e
cut
This method calls the Clipboard Cut function.
ParameterTypeDescription
e
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
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
paste
This method calls the Clipboard Paste function. The pasteObject is the focused element if it is a subgraph, or its parent if other. If there is no focused element, the paste action is done in the top level graph. The paste position is set to {x:0,y:0} but the pasted elements remains selected to easily move them.
ParameterTypeDescription
e
reactivate
release all the handles and reconnect.
setConnections
sets a new connections configuration
ParameterTypeDescription
connections
setEnabled
ParameterTypeDescription
b
setKeyManager
ParameterTypeDescription
keyManager
setManager
ParameterTypeDescription
manager

Events