public static class ChartShape.DefaultProvider extends Object implements ChartShape.Provider
| Modifier and Type | Field and Description |
|---|---|
private int |
index |
private Map<Object,ChartShape> |
shapeMap |
private ChartShape[] |
shapes |
| Constructor and Description |
|---|
DefaultProvider() |
| Modifier and Type | Method and Description |
|---|---|
ChartShape |
getShape(Object key)
Returns a shape for the key specified
|
private ChartShape |
next()
Returns the next shape in line
|
private volatile int index
private ChartShape[] shapes
private Map<Object,ChartShape> shapeMap
public ChartShape getShape(Object key)
ChartShape.ProvidergetShape in interface ChartShape.Providerkey - the arbitrary keyprivate ChartShape next()
Copyright 2014-2017, Xavier Witdouck