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
This interactor sets the diagram widget adorners focus
according to current mouse location.
This class implements the Graph Navigation style. The navigation is done througth
connections and record the path to enable backward navigation.
Parameter | Type | Description |
---|---|---|
diagram |
Organizes interactors by id and is responible for distinguishing
the currently active interactors.
Represents a state of an interactor in terms of
the connections are active during it.
Parameter | Type | Description |
---|---|---|
interactor | ||
id | ||
connections |
This class manage the keyInteractor, by connection to the Diagram onkeydown event and pushing it to the appropriate registered Interactors.
The associated diagram
Parameter | Type | Description |
---|---|---|
diagram | ibm_ilog.diagram.widget.Diagram | the associated diagram. |
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
This Interactor manages the graphElements movement through the keyboard interaction.
This Interactor have 8 connections: moveLeft, moveRigth, moveUp, moveDown, fineMoveLeft, fineMoveRigth, fineMoveUp, fineMoveDown.
This Interactor manages the naviagation of the graph through the keyboard interaction.
This Interactor have 5 connections: changeNavigatorStyle, clearFocusedElement, backward, forward, previous, next.
This class implements the disabled Navigation style. Also works as the superclass for others Navigation-Styles
A PanInteractor controls the process of viewport panning
_panViewStart: Rect
initial position of the view rectangle when the current pan process started
This Interactor manages the ViewPort Pan movement through the keyboard interaction.
This Interactor have 4 connections: panLeft, panRigth, panUp, panDown.
This function provides the functionality to manage selection events on links and nodes.
the selection object
This Interactor manages the Selection through the keyboard interaction.
This Interactor have 4 connections: singleSelect, multiSelect, selectAll and clearSelection.
This Interactor manages the UndoManager through the keyboard interaction.
This Interactor have 3 connections: switchEdition, enterEdition, enterNavigation.
A WheelPanInteractor controls the process of panning the viewport by the mouse wheel