info.monitorenter.gui.chart.traces.painters
Class TracePainterLine

java.lang.Object
  extended by info.monitorenter.gui.chart.traces.painters.ATracePainter
      extended by info.monitorenter.gui.chart.traces.painters.TracePainterLine
All Implemented Interfaces:
IPointPainter, ITracePainter, Serializable, Comparable

public class TracePainterLine
extends ATracePainter

A trace painter that renders a trace by lines.

Version:
$Revision: 1.8 $
Author:
Achim Westermann
See Also:
Serialized Form

Constructor Summary
TracePainterLine()
          Defcon.
 
Method Summary
 void paintPoint(int absoluteX, int absoluteY, int nextX, int nextY, Graphics2D g, TracePoint2D original)
          Paints a line from current to next point.
 
Methods inherited from class info.monitorenter.gui.chart.traces.painters.ATracePainter
compareTo, discontinue, endPaintIteration, equals, getPreviousPoint, getPreviousX, getPreviousY, hashCode, startPaintIteration
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TracePainterLine

public TracePainterLine()
Defcon.

Method Detail

paintPoint

public void paintPoint(int absoluteX,
                       int absoluteY,
                       int nextX,
                       int nextY,
                       Graphics2D g,
                       TracePoint2D original)
Paints a line from current to next point.

Specified by:
paintPoint in interface IPointPainter
Overrides:
paintPoint in class ATracePainter
Parameters:
absoluteX - the ready to use x value for the point to paint.
absoluteY - the ready to use y value for the point to paint.
nextX - the ready to use next x value for the point to paint.
nextY - the ready to use next y value for the point to paint.
g - the graphic context to paint on.
original - just for information, for painting this should be irrelevant and it should not be changed too!
See Also:
ATracePainter.paintPoint(int, int, int, int, java.awt.Graphics2D, info.monitorenter.gui.chart.TracePoint2D)


Copyright © 2001 - 2007 LGPL, All Rights Footloose.