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.TreeNavigator

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

This class implements the Tree Navigation style.

Method Summary

Methods

backward

closes the currently selected Node if it is an opened Subgraph. If is is a closed subgraph, or if it is not a Subgraph, it focus the parent of the currently selected node, provided that the parent it not the root graph. In this case, it does nothing.

ParameterTypeDescription
e
constructor
ParameterTypeDescription
diagram
forward

opens the currently selected Node if it is a closed Subgraph. If it is an opened Subgraph, or if it is not a Subgraph, it does nothing.

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

focus the next sibling of the currently selected Node. If there is no such sibling, it focus the next sibling of the parent of the currently selected node, provided that the parent it not the root graph. In this case, it does nothing.

ParameterTypeDescription
e
nextNode
ParameterTypeDescription
ge
previous

focus the next sibling of the currently selected Node. If there is no such sibling, it focus the next sibling of the parent of the currently selected node, provided that the parent it not the root graph. In this case, it does nothing.

ParameterTypeDescription
e
previousNode
ParameterTypeDescription
ge
setFocusedElement
ParameterTypeDescription
ge