org.graphstream.ui.swingViewer
Class GraphRendererBase
java.lang.Object
org.graphstream.ui.swingViewer.GraphRendererBase
- All Implemented Interfaces:
- StyleGroupListener, GraphRenderer
- Direct Known Subclasses:
- SwingBasicGraphRenderer
public abstract class GraphRendererBase
- extends Object
- implements GraphRenderer, StyleGroupListener
GraphRendererBase
public GraphRendererBase()
open
public void open(GraphicGraph graph,
Container renderingSurface)
- Specified by:
open
in interface GraphRenderer
close
public void close()
- Specified by:
close
in interface GraphRenderer
getRenderingSurface
public Container getRenderingSurface()
beginSelectionAt
public void beginSelectionAt(double x1,
double y1)
- Description copied from interface:
GraphRenderer
- Called by the mouse manager to specify where a node and sprite selection
started.
- Specified by:
beginSelectionAt
in interface GraphRenderer
- Parameters:
x1
- The selection start abscissa.y1
- The selection start ordinate.
selectionGrowsAt
public void selectionGrowsAt(double x,
double y)
- Description copied from interface:
GraphRenderer
- The selection already started grows toward position (x, y).
- Specified by:
selectionGrowsAt
in interface GraphRenderer
- Parameters:
x
- The new end selection abscissa.y
- The new end selection ordinate.
endSelectionAt
public void endSelectionAt(double x2,
double y2)
- Description copied from interface:
GraphRenderer
- Called by the mouse manager to specify where a node and spite selection
stopped.
- Specified by:
endSelectionAt
in interface GraphRenderer
- Parameters:
x2
- The selection stop abscissa.y2
- The selection stop ordinate.
Copyright © 2013. All Rights Reserved.