public class EdgeGUI extends Object implements GraphPieceGUI
| Modifier and Type | Field and Description |
|---|---|
static Stroke |
CONTROL_EDGE_STROKE
CONTROL_EDGE_STROKE
|
static Stroke |
STREAM_EDGE_STROKE |
| Modifier and Type | Method and Description |
|---|---|
protected Point |
getMiddlePosition() |
void |
mouseClicked(MouseEvent event,
XBayaEngine engine) |
protected void |
paint(Graphics2D g) |
protected static void |
paintLine(Point point1,
Point point2,
Graphics2D g) |
protected void |
setSelectedFlag(boolean bool) |
public static final Stroke CONTROL_EDGE_STROKE
public static final Stroke STREAM_EDGE_STROKE
public EdgeGUI(Edge edge)
edge - public void mouseClicked(MouseEvent event, XBayaEngine engine)
mouseClicked in interface GraphPieceGUIGraphPieceGUI.mouseClicked(java.awt.event.MouseEvent,
org.apache.airavata.xbaya.XBayaEngine)protected void setSelectedFlag(boolean bool)
bool - protected Point getMiddlePosition()
protected void paint(Graphics2D g)
g - protected static void paintLine(Point point1, Point point2, Graphics2D g)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.