public interface ISeriesLabel
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Font |
getFont()
Gets the label font.
|
org.eclipse.swt.graphics.Color |
getForeground()
Gets the label color.
|
String |
getFormat()
Gets the format for label.
|
String[] |
getFormats()
Gets the formats for all data points.
|
boolean |
isVisible()
Gets the label visibility state.
|
void |
setFont(org.eclipse.swt.graphics.Font font)
Sets the label font.
|
void |
setForeground(org.eclipse.swt.graphics.Color color)
Sets the label color.
|
void |
setFormat(String format)
Sets the decimal format
DecimalFormat or/plus plain string. |
void |
setFormats(String[] formats)
Sets the formats for all data points.
|
void |
setVisible(boolean visible)
Sets the label visibility state.
|
void setFormat(String format)
DecimalFormat
or/plus plain string.
If formats have been set with setFormats(String[]), the format set with this method will be ignored.
If null is given, default format "#.###########" will be set.
format
- the formatString getFormat()
void setFormats(String[] formats)
formats
- the formatsString[] getFormats()
void setForeground(org.eclipse.swt.graphics.Color color)
color
- the label colororg.eclipse.swt.graphics.Color getForeground()
void setFont(org.eclipse.swt.graphics.Font font)
font
- the label fontorg.eclipse.swt.graphics.Font getFont()
void setVisible(boolean visible)
visible
- the label visibility stateboolean isVisible()
Copyright © 2016. All rights reserved.