public abstract class GraphRendererBase extends Object implements GraphRenderer, 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.
|
Container |
getRenderingSurface() |
void |
open(GraphicGraph graph,
Container 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
allNodesOrSpritesIn, findNodeOrSpriteAt, getCamera, moveElementAtPx, render, screenshot, setBackLayerRenderer, setForeLayoutRenderer
elementStyleChanged
public void open(GraphicGraph graph, Container renderingSurface)
open
in interface GraphRenderer
public void close()
close
in interface GraphRenderer
public Container getRenderingSurface()
public void beginSelectionAt(double x1, double y1)
GraphRenderer
beginSelectionAt
in interface GraphRenderer
x1
- The selection start abscissa.y1
- The selection start ordinate.public void selectionGrowsAt(double x, double y)
GraphRenderer
selectionGrowsAt
in interface GraphRenderer
x
- The new end selection abscissa.y
- The new end selection ordinate.public void endSelectionAt(double x2, double y2)
GraphRenderer
endSelectionAt
in interface GraphRenderer
x2
- The selection stop abscissa.y2
- The selection stop ordinate.Copyright © 2015. All rights reserved.