Package org.knowm.xchart.internal.style
Class SeriesColorMarkerLineStyleCycler
- java.lang.Object
-
- org.knowm.xchart.internal.style.SeriesColorMarkerLineStyleCycler
-
public class SeriesColorMarkerLineStyleCycler extends java.lang.ObjectCycles through the different colors, markers, and strokes in a predetermined wayThis is an internal class that should not be used be clients
-
-
Field Summary
Fields Modifier and Type Field Description private intcolorCounteran internal counterprivate intmarkerCounterprivate java.awt.Color[]seriesColorLista List holding the Colorsprivate java.awt.BasicStroke[]seriesLineStyleLista map holding the SeriesLineStylesprivate Marker[]seriesMarkerLista map holding the SeriesMarkersprivate intstrokeCounter
-
Constructor Summary
Constructors Constructor Description SeriesColorMarkerLineStyleCycler(java.awt.Color[] seriesColorList, Marker[] seriesMarkerList, java.awt.BasicStroke[] seriesLineStyleList)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SeriesColorMarkerLineStylegetNextSeriesColorMarkerLineStyle()Get the next ColorMarkerLineStyle
-
-
-
Field Detail
-
seriesColorList
private final java.awt.Color[] seriesColorList
a List holding the Colors
-
seriesMarkerList
private final Marker[] seriesMarkerList
a map holding the SeriesMarkers
-
seriesLineStyleList
private final java.awt.BasicStroke[] seriesLineStyleList
a map holding the SeriesLineStyles
-
colorCounter
private int colorCounter
an internal counter
-
markerCounter
private int markerCounter
-
strokeCounter
private int strokeCounter
-
-
Constructor Detail
-
SeriesColorMarkerLineStyleCycler
public SeriesColorMarkerLineStyleCycler(java.awt.Color[] seriesColorList, Marker[] seriesMarkerList, java.awt.BasicStroke[] seriesLineStyleList)Constructor
-
-
Method Detail
-
getNextSeriesColorMarkerLineStyle
public SeriesColorMarkerLineStyle getNextSeriesColorMarkerLineStyle()
Get the next ColorMarkerLineStyle- Returns:
- the next ColorMarkerLineStyle
-
-