info.monitorenter.gui.chart.pointpainters
Class PointPainterLine

java.lang.Object
  extended by info.monitorenter.gui.chart.pointpainters.PointPainterLine
All Implemented Interfaces:
IPointPainter, Serializable

public class PointPainterLine
extends Object
implements IPointPainter

A point painter that renders a trace by lines.

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

Constructor Summary
PointPainterLine()
          Defcon.
 
Method Summary
 void paintPoint(int absoluteX, int absoluteY, int nextX, int nextY, Graphics2D g, TracePoint2D point)
          Paints a line from current to next point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointPainterLine

public PointPainterLine()
Defcon.

Method Detail

paintPoint

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

Specified by:
paintPoint in interface IPointPainter
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.
point - just for information, for painting this should be irrelevant and it should not be changed too!
See Also:
IPointPainter.paintPoint(int, int, int, int, java.awt.Graphics2D, info.monitorenter.gui.chart.TracePoint2D)


Copyright © 2001 - 2007 LGPL, All Rights Footloose.