public abstract class GraphRendererBase<S,G> extends java.lang.Object implements GraphRenderer<S,G>, StyleGroupListener
Constructor and Description |
---|
GraphRendererBase() |
Modifier and Type | Method and Description |
---|---|
void |
beginSelectionAt(double x1,
double y1)
Called by the mouse manager to specify where a node and sprite selection
started.
|
void |
close() |
void |
endSelectionAt(double x2,
double y2)
Called by the mouse manager to specify where a node and spite selection
stopped.
|
S |
getRenderingSurface() |
void |
open(GraphicGraph graph,
S renderingSurface) |
void |
selectionGrowsAt(double x,
double y)
The selection already started grows toward position (x, y).
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allGraphicElementsIn, createDefaultView, findGraphicElementAt, getCamera, moveElementAtPx, render, screenshot, setBackLayerRenderer, setForeLayoutRenderer
elementStyleChanged
public void open(GraphicGraph graph, S renderingSurface)
open
in interface GraphRenderer<S,G>
public void close()
close
in interface GraphRenderer<S,G>
public S getRenderingSurface()
public void beginSelectionAt(double x1, double y1)
GraphRenderer
beginSelectionAt
in interface GraphRenderer<S,G>
x1
- The selection start abscissa.y1
- The selection start ordinate.public void selectionGrowsAt(double x, double y)
GraphRenderer
selectionGrowsAt
in interface GraphRenderer<S,G>
x
- The new end selection abscissa.y
- The new end selection ordinate.public void endSelectionAt(double x2, double y2)
GraphRenderer
endSelectionAt
in interface GraphRenderer<S,G>
x2
- The selection stop abscissa.y2
- The selection stop ordinate.