Package | Description |
---|---|
org.graphstream.ui.graphicGraph | |
org.graphstream.ui.view | |
org.graphstream.ui.view.camera | |
org.graphstream.ui.view.util |
Modifier and Type | Method and Description |
---|---|
GraphicGraph |
GraphicElement.myGraph() |
Constructor and Description |
---|
GraphicElement(java.lang.String id,
GraphicGraph graph)
New element.
|
GraphicNode(GraphicGraph graph,
java.lang.String id,
java.util.HashMap<java.lang.String,java.lang.Object> attributes)
New graphic node.
|
GraphicSprite(java.lang.String id,
GraphicGraph graph)
New sprite.
|
Modifier and Type | Method and Description |
---|---|
GraphicGraph |
Viewer.getGraphicGraph()
The underlying graphic graph.
|
Modifier and Type | Method and Description |
---|---|
void |
View.close(GraphicGraph graph)
Close definitively this view.
|
void |
View.display(GraphicGraph graph,
boolean graphChanged)
Redisplay or update the view contents.
|
abstract void |
Viewer.init(GraphicGraph graph,
ProxyPipe ppipe,
Source source)
Initialise the viewer.
|
void |
GraphRendererBase.open(GraphicGraph graph,
S renderingSurface) |
void |
GraphRenderer.open(GraphicGraph graph,
S drawingSurface) |
void |
LayerRenderer.render(G graphics,
GraphicGraph graph,
double px2Gu,
int widthPx,
int heightPx,
double minXGu,
double minYGu,
double maxXGu,
double maxYGu)
Render something under or above the graph.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<GraphicElement> |
Camera.allGraphicElementsIn(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x1,
double y1,
double x2,
double y2) |
java.util.Collection<GraphicElement> |
DefaultCamera2D.allGraphicElementsIn(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x1,
double y1,
double x2,
double y2) |
void |
DefaultCamera2D.checkVisibility(GraphicGraph graph) |
GraphicElement |
Camera.findGraphicElementAt(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x,
double y) |
GraphicElement |
DefaultCamera2D.findGraphicElementAt(GraphicGraph graph,
java.util.EnumSet<InteractiveElement> types,
double x,
double y)
Search for the first GraphicElement among those specified.
|
void |
DefaultCamera2D.pushView(GraphicGraph graph)
Set the camera view in the given graphics and backup the previous transform
of the graphics.
|
void |
DefaultCamera2D.setBounds(GraphicGraph graph)
Set the graphic graph bounds from the graphic graph.
|
void |
DefaultCamera2D.setPadding(GraphicGraph graph)
Set the graph padding.
|
Constructor and Description |
---|
DefaultCamera2D(GraphicGraph graph) |
Modifier and Type | Method and Description |
---|---|
void |
MouseManager.init(GraphicGraph graph,
View view)
Make the manager active on the given graph and view.
|
void |
ShortcutManager.init(GraphicGraph graph,
View view)
Make the manager active on the given graph and view.
|