Class StringStyleProvider
- java.lang.Object
-
- org.eclipse.nebula.visualization.xygraph.styleprovider.BasePointStyleProvider
-
- org.eclipse.nebula.visualization.xygraph.styleprovider.StringStyleProvider
-
- All Implemented Interfaces:
IPointStyleProvider
public class StringStyleProvider extends BasePointStyleProvider
StyleProvider for a string as formatter...
-
-
Constructor Summary
Constructors Constructor Description StringStyleProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
Method Detail
-
getPointColor
public org.eclipse.swt.graphics.Color getPointColor(ISample sample, Trace trace)
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
-
getPointStyle
public Trace.PointStyle getPointStyle(ISample sample, Trace trace)
Description copied from interface:IPointStyleProviderGet the marker style for the given sample- Specified by:
getPointStylein interfaceIPointStyleProvider- Overrides:
getPointStylein classBasePointStyleProvider- Parameters:
sample- sample to be styledtrace- used to return the default properties- Returns:
- marker point style
-
getPointSize
public int getPointSize(ISample sample, Trace trace)
Description copied from interface:IPointStyleProviderGet the marker size for the given sample- Specified by:
getPointSizein interfaceIPointStyleProvider- Overrides:
getPointSizein classBasePointStyleProvider- Parameters:
sample- sample to be styledtrace- used to return the default properties- Returns:
- marker point size
-
-