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.interactors.GraphNavigator (version 1.1-SNAPSHOT)

Object » ibm_ilog.diagram.interactors.NullNavigator » ibm_ilog.diagram.interactors.GraphNavigator
dojo.require("ibm_ilog.diagram.interactors.Navigator");

This class implements the Graph Navigation style. The navigation is done througth connections and record the path to enable backward navigation.

Method Summary

Methods

backward
ParameterTypeDescription
e
constructor
ParameterTypeDescription
diagram
forward

If Node focused: focus the last link that was followed backwards (if any) to get to that node. It is then possible to keep on browsing other links of the previous node that was focused before ending up on the current one (navigating backwards). If Link focused: focus the endNode of the currently focused link, if any.

ParameterTypeDescription
e
getFocusedElement
gets the focused GraphElement from the diagram return: ibm_ilog.diagram.GraphElement
next

If Node focused: focus the first link of the focused node, and remember the focused node as being the owner of the links being navigated. If Link focused: focus the previous link of previously focused node (the node whose links are being navigated). If the currently focused link is the first of the list, it does nothing.

ParameterTypeDescription
e
previous

If Node focused: focus the last link of the focused node and remember the focused node as being the owner of the links being navigated. If Link focused: focus the next link of previously focused node (the node whose links are being navigated). If the currently focused link is the last of the list, it does nothing.

ParameterTypeDescription
e
resetStack
clears the navigation stack
setFocusedElement
calls the superclass method, but disable the clearNotification
ParameterTypeDescription
ge