Interface ITracePainter<T extends ITracePainter<T>>

Type Parameters:
T - demonstration of unknown comparable and inheritance idiom or bad generics design for this case.
All Superinterfaces:
Comparable<T>, IPointPainter<T>, Serializable
All Known Subinterfaces:
IErrorBarPolicy<T>
All Known Implementing Classes:
AErrorBarPolicyConfigurable, ATracePainter, ErrorBarPolicyAbsoluteSummation, ErrorBarPolicyRelative, TracePainterConfigurable, TracePainterDisc, TracePainterFill, TracePainterLine, TracePainterPolyline, TracePainterVerticalBar

public interface ITracePainter<T extends ITracePainter<T>> extends IPointPainter<T>
An interface that works at trace level and defines how it's points are rendered.

A contract for implementation is that Object.equals(java.lang.Object) has to be implemented to return true if two instances are of the same class and Comparable.compareTo(java.lang.Object) is implemented according to that. This is OK as trace painters are mostly to characterize by their different implementation of rendering a trace.

Caution

There is no guarantee that further manipulation on the given Graphics2D instance than painting just the label or tick will not produce layout problems. E.g. changing the color or font is not recommended as these should be assigned to the ITrace2D/ Chart2D.

Version:
$Revision: 1.15 $
Author:
Achim Westermann