Class DoubleStyleProvider
java.lang.Object
org.eclipse.nebula.visualization.xygraph.styleprovider.BasePointStyleProvider
org.eclipse.nebula.visualization.xygraph.styleprovider.DoubleStyleProvider
- All Implemented Interfaces:
IPointStyleProvider
public class DoubleStyleProvider extends BasePointStyleProvider
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.util.TreeMap<java.lang.Double,org.eclipse.swt.graphics.RGB>COLOR_MAP_DEFAULT -
Constructor Summary
Constructors Constructor Description DoubleStyleProvider()DoubleStyleProvider(java.util.Map<java.lang.Double,org.eclipse.swt.graphics.RGB> colorMap) -
Method Summary
Modifier and Type Method Description org.eclipse.swt.graphics.ColorgetPointColor(ISample sample, Trace trace)Get the marker color for the given sampleMethods inherited from class org.eclipse.nebula.visualization.xygraph.styleprovider.BasePointStyleProvider
getPointSize, getPointStyle
-
Field Details
-
COLOR_MAP_DEFAULT
static java.util.TreeMap<java.lang.Double,org.eclipse.swt.graphics.RGB> COLOR_MAP_DEFAULT
-
-
Constructor Details
-
DoubleStyleProvider
public DoubleStyleProvider(java.util.Map<java.lang.Double,org.eclipse.swt.graphics.RGB> colorMap) -
DoubleStyleProvider
public DoubleStyleProvider()
-
-
Method Details
-
getPointColor
Description copied from interface:IPointStyleProviderGet the marker color for the given sample- Specified by:
getPointColorin interfaceIPointStyleProvider- Overrides:
getPointColorin classBasePointStyleProvider- Parameters:
sample- sample to be styledtrace- used to return the default properties- Returns:
- marker point color
-