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

Object » ibm_ilog.diagram.interactors

Method Summary

  • AdornerFocusInteractor() This interactor sets the diagram widget adorners focus according to current mouse location.
  • DragInteractor()
  • FocusInteractor()
  • GraphNavigator(diagram) This class implements the Graph Navigation style. The navigation is done througth connections and record the path to enable backward navigation.
  • Interactor() The interactor defines the API and common functionality for all the event management interactors.
  • InteractorManager() Organizes interactors by id and is responible for distinguishing the currently active interactors.
  • InteractorState(interactor, id, connections) Represents a state of an interactor in terms of the connections are active during it.
  • KeyboardInteractorManager(diagram) This class manage the keyInteractor, by connection to the Diagram onkeydown event and pushing it to the appropriate registered Interactors. The associated diagram
  • MarqueeSelectionInteractor() This function provides the functionality to manage marquee selection events on links and nodes. TODO this function should be in a tool TODO this function should be in a tool
  • MoveInteractor() A MoveInteractor allows the user to move the currently selected entities.
  • MoveKeyInteractor() This Interactor manages the graphElements movement through the keyboard interaction. This Interactor have 8 connections: moveLeft, moveRigth, moveUp, moveDown, fineMoveLeft, fineMoveRigth, fineMoveUp, fineMoveDown.
  • Navigator() This Interactor manages the naviagation of the graph through the keyboard interaction. This Interactor have 5 connections: changeNavigatorStyle, clearFocusedElement, backward, forward, previous, next.
  • NullNavigator() This class implements the disabled Navigation style. Also works as the superclass for others Navigation-Styles
  • PanInteractor() A PanInteractor controls the process of viewport panning _panViewStart: Rect initial position of the view rectangle when the current pan process started
  • PanKeyInteractor() This Interactor manages the ViewPort Pan movement through the keyboard interaction. This Interactor have 4 connections: panLeft, panRigth, panUp, panDown.
  • SelectionInteractor() This function provides the functionality to manage selection events on links and nodes. the selection object
  • SelectionKeyInteractor() This Interactor manages the Selection through the keyboard interaction. This Interactor have 4 connections: singleSelect, multiSelect, selectAll and clearSelection.
  • SwitchModeInteractor() This Interactor manages the UndoManager through the keyboard interaction. This Interactor have 3 connections: switchEdition, enterEdition, enterNavigation.
  • TreeNavigator(diagram) This class implements the Tree Navigation style.
  • WheelPanInteractor() A WheelPanInteractor controls the process of panning the viewport by the mouse wheel
  • ZoomInteractor() A ZoomInteractor controls the process of viewport panning and zooming
  • ZoomKeyInteractor() This Interactor manages the ViewPort Zoom through the keyboard interaction. This Interactor have 2 connections: zoomIn, zoomOut.

Attached Objects

Methods

AdornerFocusInteractor
This interactor sets the diagram widget adorners focus according to current mouse location.
DragInteractor
FocusInteractor
GraphNavigator
This class implements the Graph Navigation style. The navigation is done througth connections and record the path to enable backward navigation.
ParameterTypeDescription
diagram
Interactor

The

InteractorManager
Organizes interactors by id and is responible for distinguishing the currently active interactors.
InteractorState
Represents a state of an interactor in terms of the connections are active during it.
ParameterTypeDescription
interactor
id
connections
KeyboardInteractorManager
This class manage the keyInteractor, by connection to the Diagram onkeydown event and pushing it to the appropriate registered Interactors. The associated diagram
ParameterTypeDescription
diagramibm_ilog.diagram.widget.Diagramthe associated diagram.
MarqueeSelectionInteractor
This function provides the functionality to manage marquee selection events on links and nodes. TODO this function should be in a tool TODO this function should be in a tool
MoveInteractor
A MoveInteractor allows the user to move the currently selected entities.
MoveKeyInteractor
This Interactor manages the graphElements movement through the keyboard interaction. This Interactor have 8 connections: moveLeft, moveRigth, moveUp, moveDown, fineMoveLeft, fineMoveRigth, fineMoveUp, fineMoveDown.
Navigator
This Interactor manages the naviagation of the graph through the keyboard interaction. This Interactor have 5 connections: changeNavigatorStyle, clearFocusedElement, backward, forward, previous, next.
NullNavigator
This class implements the disabled Navigation style. Also works as the superclass for others Navigation-Styles
PanInteractor
A PanInteractor controls the process of viewport panning _panViewStart: Rect initial position of the view rectangle when the current pan process started
PanKeyInteractor
This Interactor manages the ViewPort Pan movement through the keyboard interaction. This Interactor have 4 connections: panLeft, panRigth, panUp, panDown.
SelectionInteractor
This function provides the functionality to manage selection events on links and nodes. the selection object
SelectionKeyInteractor
This Interactor manages the Selection through the keyboard interaction. This Interactor have 4 connections: singleSelect, multiSelect, selectAll and clearSelection.
SwitchModeInteractor
This Interactor manages the UndoManager through the keyboard interaction. This Interactor have 3 connections: switchEdition, enterEdition, enterNavigation.
TreeNavigator
This class implements the Tree Navigation style.
ParameterTypeDescription
diagram
WheelPanInteractor
A WheelPanInteractor controls the process of panning the viewport by the mouse wheel
ZoomInteractor
A ZoomInteractor controls the process of viewport panning and zooming
ZoomKeyInteractor
This Interactor manages the ViewPort Zoom through the keyboard interaction. This Interactor have 2 connections: zoomIn, zoomOut.