public class DoubleStyleProvider extends BasePointStyleProvider
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.TreeMap<java.lang.Double,org.eclipse.swt.graphics.RGB> |
COLOR_MAP_DEFAULT |
Constructor and Description |
---|
DoubleStyleProvider() |
DoubleStyleProvider(java.util.Map<java.lang.Double,org.eclipse.swt.graphics.RGB> colorMap) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Color |
getPointColor(ISample sample,
Trace trace)
Get the marker color for the given sample
|
getPointSize, getPointStyle
static java.util.TreeMap<java.lang.Double,org.eclipse.swt.graphics.RGB> COLOR_MAP_DEFAULT
public DoubleStyleProvider(java.util.Map<java.lang.Double,org.eclipse.swt.graphics.RGB> colorMap)
public DoubleStyleProvider()
public org.eclipse.swt.graphics.Color getPointColor(ISample sample, Trace trace)
IPointStyleProvider
getPointColor
in interface IPointStyleProvider
getPointColor
in class BasePointStyleProvider
sample
- sample to be styledtrace
- used to return the default properties