Package jcckit.plot
Interface CurveFactory
-
- All Known Implementing Classes:
SimpleCurveFactory
public interface CurveFactory
Interface of a curve factory. A curve factory creates a new instance of aCurve
.- Author:
- Franz-Josef Elmer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Curve
create(int curveIndex, int numberOfCurves, ClippingShape clippingShape, Legend legend)
Creates a new curve instance.
-
-
-
Method Detail
-
create
Curve create(int curveIndex, int numberOfCurves, ClippingShape clippingShape, Legend legend)
Creates a new curve instance.- Parameters:
curveIndex
- The index of the curve in thePlot
to which it should belong.numberOfCurves
- Number of curves. Will be needed to calculate the y-coordinate of the legend symbol.clippingShape
- Clipping shape applied to the curve.legend
- The legend which will show the curve symbol.- Returns:
- an empty instance.
-
-