Package jcckit.plot
Class SimpleCurveFactory
java.lang.Object
jcckit.plot.SimpleCurveFactory
- All Implemented Interfaces:
CurveFactory
Factory for
SimpleCurves
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionSimpleCurveFactory
(ConfigParameters config) Creates an instance from the specified configuration parameter. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(int curveIndex, int numberOfCurves, ClippingShape clippingShape, Legend legend) Creates an instance ofSimpleCurve
.
-
Field Details
-
DEFINITIONS_KEY
Configuration parameter key.- See Also:
-
-
Constructor Details
-
SimpleCurveFactory
Creates an instance from the specified configuration parameter.Key & Default Value Type Mandatory Description definitions = one empty ConfigParameters instance String[] no Keys of subtrees defining ConfigParameters
used by theconstructor
ofSimpleCurve
.
-
-
Method Details
-
create
Creates an instance ofSimpleCurve
.- Specified by:
create
in interfaceCurveFactory
- Parameters:
curveIndex
- Index of the curve. Will be used to select theConfigParameters
object and the line attributes. In addition it will be used to calculate the y-coordinate of the legend symbol.numberOfCurves
- Number of curves. Will be needed to calculate the y-coordinate of the legend symbol.clippingShape
- The clipping shape.legend
- The legend. Will be needed to create the legend symbol.- Returns:
- an empty instance.
-