public class GraphGUI extends Object implements GraphPieceGUI
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
getBounds()
Gets the bounding Rectangle of this Graph.
|
protected GraphPiece |
getGraphPieceAt(Point point)
Returns the visible object at the specified location.
|
protected List<Node> |
getNodesIn(Rectangle rec)
Returns the visible object in the specified area.
|
protected StreamSourceNode |
getStreamSourceAt(Point point) |
void |
mouseClicked(MouseEvent event,
XBayaEngine engine) |
protected void |
paint(Graphics2D g) |
public GraphGUI(Graph graph)
graph - public void mouseClicked(MouseEvent event, XBayaEngine engine)
mouseClicked in interface GraphPieceGUIGraphPieceGUI.mouseClicked(java.awt.event.MouseEvent,
org.apache.airavata.xbaya.XBayaEngine)protected Rectangle getBounds()
protected void paint(Graphics2D g)
g - protected StreamSourceNode getStreamSourceAt(Point point)
protected GraphPiece getGraphPieceAt(Point point)
point - The locationCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.