Holds the navigator pane the displays the backing graph.
Constructor Detail
JGraphEditorNavigator
public JGraphEditorNavigator(JGraph backingGraph)(Code)
Constructs a new graph navigator using backingGraph to
display the graph in
JGraphEditorNavigator.currentGraph .
Parameters: backingGraph - The backing graph to render the display.
Returns the maximum scale to be used for the backing graph.
Returns the maximumScale.
getParentGraph
public static JGraph getParentGraph(Component component)(Code)
Helper method that returns the parent JGraph for the specified component
in the component hierarchy. The component itself is never returned.
Returns the parent scrollpane or component.
Helper method that returns the parent scrollpane for the specified
component in the component hierarchy. If the component is itself a
scrollpane then it is returned.
Returns the parent scrollpane or component.