org.grinvin.help

Class GraphViewer

Implemented Interfaces:
MouseMotionListener, GraphListElementListener, HasSelectableValues

public class GraphViewer
extends GraphComponent
implements MouseMotionListener, HasSelectableValues

Component for displaying a graph in the InlineGraphViewer. The image can be dragged as a GraphListElement.

Constructor Summary

GraphViewer()

Method Summary

GraphListElement[]
getSelectedValues()
Returns the objects that are currently selected.
void
mouseDragged(MouseEvent e)
void
mouseMoved(MouseEvent e)

Methods inherited from class org.grinvin.gui.components.GraphComponent

getElement, graphListElementGraphChanged, graphListElementInvariantComputed, graphListElementNameChanged, graphListElementURIChanged, setElement, void doLayout

Constructor Details

GraphViewer

public GraphViewer()

Method Details

getSelectedValues

public GraphListElement[] getSelectedValues()
Returns the objects that are currently selected.
Specified by:
getSelectedValues in interface HasSelectableValues

mouseDragged

public void mouseDragged(MouseEvent e)

mouseMoved

public void mouseMoved(MouseEvent e)