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
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
-
Constructor Details
-
StringStyleProvider
public StringStyleProvider()
-
-
Method Details
-
getPointColor
Description copied from interface:IPointStyleProvider
Get the marker color for the given sample- Specified by:
getPointColor
in interfaceIPointStyleProvider
- Overrides:
getPointColor
in classBasePointStyleProvider
- Parameters:
sample
- sample to be styledtrace
- used to return the default properties- Returns:
- marker point color
-
getPointStyle
Description copied from interface:IPointStyleProvider
Get the marker style for the given sample- Specified by:
getPointStyle
in interfaceIPointStyleProvider
- Overrides:
getPointStyle
in classBasePointStyleProvider
- Parameters:
sample
- sample to be styledtrace
- used to return the default properties- Returns:
- marker point style
-
getPointSize
Description copied from interface:IPointStyleProvider
Get the marker size for the given sample- Specified by:
getPointSize
in interfaceIPointStyleProvider
- Overrides:
getPointSize
in classBasePointStyleProvider
- Parameters:
sample
- sample to be styledtrace
- used to return the default properties- Returns:
- marker point size
-