Modifier and Type | Method and Description |
---|---|
GraphicGraph |
GraphicElement.myGraph() |
Constructor and Description |
---|
GraphicElement(String id,
GraphicGraph graph)
New element.
|
GraphicNode(GraphicGraph graph,
String id,
HashMap<String,Object> attributes)
New graphic node.
|
GraphicSprite(String id,
GraphicGraph graph)
New sprite.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultView.close(GraphicGraph graph) |
void |
DefaultView.display(GraphicGraph graph,
boolean graphChanged) |
void |
GraphRenderer.open(GraphicGraph graph,
Container drawingSurface) |
void |
GraphRendererBase.open(GraphicGraph graph,
Container renderingSurface) |
void |
LayerRenderer.render(Graphics2D 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 |
---|---|
void |
SwingBasicGraphRenderer.open(GraphicGraph graph,
Container renderingSurface) |
Modifier and Type | Method and Description |
---|---|
Collection<GraphicElement> |
DefaultCamera.allNodesOrSpritesIn(GraphicGraph graph,
double x1,
double y1,
double x2,
double y2)
Search for all the nodes and sprites contained inside the rectangle
(x1,y1)-(x2,y2).
|
void |
DefaultCamera.checkVisibility(GraphicGraph graph)
Process each node to check if it is in the actual view port, and mark
invisible nodes.
|
GraphicElement |
DefaultCamera.findNodeOrSpriteAt(GraphicGraph graph,
double x,
double y)
Search for the first node or sprite (in that order) that contains the
point at coordinates (x, y).
|
void |
DefaultCamera.pushView(GraphicGraph graph,
Graphics2D g2)
Set the camera view in the given graphics and backup the previous
transform of the graphics.
|
void |
DefaultCamera.setPadding(GraphicGraph graph)
Set the graph padding.
|
Constructor and Description |
---|
DefaultCamera(GraphicGraph graph)
New camera.
|
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.
|
Constructor and Description |
---|
Viewer(GraphicGraph graph)
We draw a pre-existing graphic graph.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMouseManager.init(GraphicGraph graph,
View view) |
void |
ShortcutManager.init(GraphicGraph graph,
View view)
Make the manager active on the given graph and view.
|
void |
MouseManager.init(GraphicGraph graph,
View view)
Make the manager active on the given graph and view.
|
void |
DefaultShortcutManager.init(GraphicGraph graph,
View view) |
Copyright © 2015. All rights reserved.