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
Modifier and Type Method Description org.eclipse.swt.graphics.ColorgetPointColor(ISample sample, Trace trace)Get the marker color for the given sampleintgetPointSize(ISample sample, Trace trace)Get the marker size for the given sampleTrace.PointStylegetPointStyle(ISample sample, Trace trace)Get the marker style for the given sample
-
Constructor Details
-
BasePointStyleProvider
public BasePointStyleProvider()
-
-
Method Details
-
getPointColor
Description copied from interface:IPointStyleProviderGet the marker color for the given sample- Specified by:
getPointColorin interfaceIPointStyleProvider- Parameters:
sample- sample to be styledtrace- used to return the default properties- Returns:
- marker point color
-
getPointSize
Description copied from interface:IPointStyleProviderGet the marker size for the given sample- Specified by:
getPointSizein interfaceIPointStyleProvider- Parameters:
sample- sample to be styledtrace- used to return the default properties- Returns:
- marker point size
-
getPointStyle
Description copied from interface:IPointStyleProviderGet the marker style for the given sample- Specified by:
getPointStylein interfaceIPointStyleProvider- Parameters:
sample- sample to be styledtrace- used to return the default properties- Returns:
- marker point style
-