Class PaintAttribute
java.lang.Object
org.moeaframework.analysis.plot.style.PaintAttribute
- All Implemented Interfaces:
- PlotAttribute,- StyleAttribute
Styles the paint / color of a plotted series.
- 
Constructor SummaryConstructorsConstructorDescriptionPaintAttribute(Paint paint) Constructs a new paint style attribute.PaintAttribute(Paint paint, Paint outlinePaint, Paint fillPaint) Constructs a new paint style attribute.
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(org.jfree.chart.plot.Plot plot, int dataset, int series) Applies the style to a specific dataset and series.static PaintAttributeReturns a custom paint style attribute.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.moeaframework.analysis.plot.style.StyleAttributeapply
- 
Constructor Details- 
PaintAttributeConstructs a new paint style attribute.- Parameters:
- paint- the paint
 
- 
PaintAttributeConstructs a new paint style attribute.- Parameters:
- paint- the paint
- outlinePaint- the outline paint
- fillPaint- the fill paint
 
 
- 
- 
Method Details- 
applypublic 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 interface- StyleAttribute
- Parameters:
- plot- the plot
- dataset- the index of the dataset
- series- the index of the series
 
- 
ofReturns a custom paint style attribute.- Parameters:
- paint- the paint
- Returns:
- the resulting style attribute
 
 
-