Class ShapeAttribute
java.lang.Object
org.moeaframework.analysis.plot.style.ShapeAttribute
- All Implemented Interfaces:
PlotAttribute,StyleAttribute
Styles the shape of a plotted series.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.jfree.chart.plot.Plot plot, int dataset, int series) Applies the style to a specific dataset and series.static ShapeAttributeof(RectangularShape shape) Returns a custom shape style attribute.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.moeaframework.analysis.plot.style.StyleAttribute
apply
-
Constructor Details
-
ShapeAttribute
Creates a new shape style attribute.- Parameters:
shape- the shape
-
-
Method Details
-
apply
public void apply(org.jfree.chart.plot.Plot plot, int dataset, int series) Description copied from interface:StyleAttributeApplies the style to a specific dataset and series.- Specified by:
applyin interfaceStyleAttribute- Parameters:
plot- the plotdataset- the index of the datasetseries- the index of the series
-
of
Returns a custom shape style attribute.- Parameters:
shape- the shape- Returns:
- the resulting shape style attribute
-