ibm_ilog.diagram.interactors.GraphNavigator
This class implements the Graph Navigation style. The navigation is done througth connections and record the path to enable backward navigation.
Method Summary
- backward(e)
- constructor(diagram)
- forward(e)
- getFocusedElement() gets the focused GraphElement from the diagram return: ibm_ilog.diagram.GraphElement
- next(e)
- previous(e)
- resetStack() clears the navigation stack
- setFocusedElement(ge) calls the superclass method, but disable the clearNotification
Methods
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.
Parameter | Type | Description |
---|---|---|
e |
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.
Parameter | Type | Description |
---|---|---|
e |
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.
Parameter | Type | Description |
---|---|---|
e |
Parameter | Type | Description |
---|---|---|
ge |