org.grinvin.help

Class GraphViewer

Implemented Interfaces:
MouseMotionListener, GraphListElementListener

public class GraphViewer
extends GraphComponent
implements MouseMotionListener

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

Constructor Summary

GraphViewer()

Method Summary

GraphListElement[]
getGraphListElement()
boolean
isDragEnabled()
Is dragging on this component enabled?
void
mouseDragged(MouseEvent e)
void
mouseMoved(MouseEvent e)
void
setDragEnabled(boolean dragEnabled)
Indicate whether dragging on this component should be enabled.

Methods inherited from class org.grinvin.graphbrowser.GraphComponent

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

Constructor Details

GraphViewer

public GraphViewer()

Method Details

getGraphListElement

public GraphListElement[] getGraphListElement()

isDragEnabled

public boolean isDragEnabled()
Is dragging on this component enabled?

mouseDragged

public void mouseDragged(MouseEvent e)

mouseMoved

public void mouseMoved(MouseEvent e)

setDragEnabled

public void setDragEnabled(boolean dragEnabled)
Indicate whether dragging on this component should be enabled.