Class BasePointStyleProvider
- java.lang.Object
-
- org.eclipse.nebula.visualization.xygraph.styleprovider.BasePointStyleProvider
-
- All Implemented Interfaces:
IPointStyleProvider
- Direct Known Subclasses:
BooleanStyleProvider
,DoubleStyleProvider
,StringStyleProvider
public abstract class BasePointStyleProvider extends java.lang.Object implements IPointStyleProvider
-
-
Constructor Summary
Constructors Constructor Description BasePointStyleProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.Color
getPointColor(ISample sample, Trace trace)
Get the marker color for the given sampleint
getPointSize(ISample sample, Trace trace)
Get the marker size for the given sampleTrace.PointStyle
getPointStyle(ISample sample, Trace trace)
Get the marker style for the given sample
-
-
-
Method Detail
-
getPointColor
public org.eclipse.swt.graphics.Color getPointColor(ISample sample, Trace trace)
Description copied from interface:IPointStyleProvider
Get the marker color for the given sample- Specified by:
getPointColor
in interfaceIPointStyleProvider
- Parameters:
sample
- sample to be styledtrace
- used to return the default properties- Returns:
- marker point color
-
getPointSize
public int getPointSize(ISample sample, Trace trace)
Description copied from interface:IPointStyleProvider
Get the marker size for the given sample- Specified by:
getPointSize
in interfaceIPointStyleProvider
- Parameters:
sample
- sample to be styledtrace
- used to return the default properties- Returns:
- marker point size
-
getPointStyle
public Trace.PointStyle getPointStyle(ISample sample, Trace trace)
Description copied from interface:IPointStyleProvider
Get the marker style for the given sample- Specified by:
getPointStyle
in interfaceIPointStyleProvider
- Parameters:
sample
- sample to be styledtrace
- used to return the default properties- Returns:
- marker point style
-
-