Class GraphBackgroundRenderer
java.lang.Object
org.graphstream.ui.javafx.renderer.GraphBackgroundRenderer
- All Implemented Interfaces:
org.graphstream.ui.graphicGraph.GraphicElement.SwingElementRenderer
public class GraphBackgroundRenderer extends Object implements org.graphstream.ui.graphicGraph.GraphicElement.SwingElementRenderer
Renderer for the graph background.
This class is not a StyleRenderer because the graph is not a GraphicElement.
TODO XXX make this class an abstract one, and create several distinct back-ends.
-
Constructor Summary
Constructors Constructor Description GraphBackgroundRenderer(org.graphstream.ui.graphicGraph.GraphicGraph graph, org.graphstream.ui.graphicGraph.StyleGroup style)
-
Method Summary
Modifier and Type Method Description void
displayNothingToDo(Backend bck, int w, int h)
Render a background indicating there is nothing to draw.void
render(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, int w, int h)
-
Constructor Details
-
GraphBackgroundRenderer
public GraphBackgroundRenderer(org.graphstream.ui.graphicGraph.GraphicGraph graph, org.graphstream.ui.graphicGraph.StyleGroup style)
-
-
Method Details
-
displayNothingToDo
Render a background indicating there is nothing to draw. -
render
public void render(Backend bck, org.graphstream.ui.view.camera.DefaultCamera2D camera, int w, int h)
-