|
|
@ -84,6 +84,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void drawLine(final Color color, int x1, int y1, int x2, |
|
|
|
protected void drawLine(final Color color, int x1, int y1, int x2, |
|
|
|
int y2, int width) { |
|
|
|
int y2, int width) { |
|
|
@ -100,6 +101,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> |
|
|
|
g.drawLine(x1, y1, x2, y2); |
|
|
|
g.drawLine(x1, y1, x2, y2); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void drawCommitDot(final int x, final int y, final int w, |
|
|
|
protected void drawCommitDot(final int x, final int y, final int w, |
|
|
|
final int h) { |
|
|
|
final int h) { |
|
|
@ -110,6 +112,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> |
|
|
|
g.drawOval(x, y, w, h); |
|
|
|
g.drawOval(x, y, w, h); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void drawBoundaryDot(final int x, final int y, final int w, |
|
|
|
protected void drawBoundaryDot(final int x, final int y, final int w, |
|
|
|
final int h) { |
|
|
|
final int h) { |
|
|
@ -120,6 +123,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> |
|
|
|
g.drawOval(x, y, w, h); |
|
|
|
g.drawOval(x, y, w, h); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void drawText(final String msg, final int x, final int y) { |
|
|
|
protected void drawText(final String msg, final int x, final int y) { |
|
|
|
final int texth = g.getFontMetrics().getHeight(); |
|
|
|
final int texth = g.getFontMetrics().getHeight(); |
|
|
@ -128,6 +132,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> |
|
|
|
g.drawString(msg, x, y0 + texth - g.getFontMetrics().getDescent()); |
|
|
|
g.drawString(msg, x, y0 + texth - g.getFontMetrics().getDescent()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected Color laneColor(final SwingLane myLane) { |
|
|
|
protected Color laneColor(final SwingLane myLane) { |
|
|
|
return myLane != null ? myLane.color : Color.black; |
|
|
|
return myLane != null ? myLane.color : Color.black; |
|
|
@ -147,6 +152,7 @@ final class AWTPlotRenderer extends AbstractPlotRenderer<SwingLane, Color> |
|
|
|
g.drawPolygon(triangle); |
|
|
|
g.drawPolygon(triangle); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** {@inheritDoc} */ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected int drawLabel(int x, int y, Ref ref) { |
|
|
|
protected int drawLabel(int x, int y, Ref ref) { |
|
|
|
String txt; |
|
|
|
String txt; |
|
|
|