A series label. More...

Public Member Functions | |
| String | getFormat () |
| Gets the format for label. | |
| void | setFormats (String[] formats) |
| Sets the formats for all data points. | |
| String[] | getFormats () |
| Gets the formats for all data points. | |
| void | setForeground (Color color) |
| Sets the label color. | |
| Color | getForeground () |
| Gets the label color. | |
| void | setFont (Font font) |
| Sets the label font. | |
| Font | getFont () |
| Gets the label font. | |
| void | setVisible (boolean visible) |
| Sets the label visibility state. | |
| boolean | isVisible () |
| Gets the label visibility state. | |
Package Functions | |
| void | setFormat (String format) |
| Sets the decimal format java.text.DecimalFormat or/plus plain string. | |
A series label.
Definition at line 15 of file ISeriesLabel.java.
| Font org.swtchart.ISeriesLabel.getFont | ( | ) |
Gets the label font.
Implemented in org.swtchart.internal.series.SeriesLabel.
Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.apply(), and org.swtchart.ext.internal.properties.SeriesLabelPage.selectInitialValues().

| Color org.swtchart.ISeriesLabel.getForeground | ( | ) |
Gets the label color.
Implemented in org.swtchart.internal.series.SeriesLabel.
Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.selectInitialValues().

| String org.swtchart.ISeriesLabel.getFormat | ( | ) |
Gets the format for label.
Implemented in org.swtchart.internal.series.SeriesLabel.
| String [] org.swtchart.ISeriesLabel.getFormats | ( | ) |
Gets the formats for all data points.
Implemented in org.swtchart.internal.series.SeriesLabel.
| boolean org.swtchart.ISeriesLabel.isVisible | ( | ) |
Gets the label visibility state.
Implemented in org.swtchart.internal.series.SeriesLabel.
Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.selectInitialValues().

| void org.swtchart.ISeriesLabel.setFont | ( | Font | font | ) |
Sets the label font.
| font | the label font |
Implemented in org.swtchart.internal.series.SeriesLabel.
Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.apply().

| void org.swtchart.ISeriesLabel.setForeground | ( | Color | color | ) |
Sets the label color.
If null is given, default color will be set.
| color | the label color |
Implemented in org.swtchart.internal.series.SeriesLabel.
Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.apply().

| void org.swtchart.ISeriesLabel.setFormat | ( | String | format | ) | [package] |
Sets the decimal format java.text.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 format |
Implemented in org.swtchart.internal.series.SeriesLabel.
| void org.swtchart.ISeriesLabel.setFormats | ( | String[] | formats | ) |
Sets the formats for all data points.
If null or empty array is given, formats will be cleared, and the format set with setFormat(String) will be used instead.
| formats | the formats |
Implemented in org.swtchart.internal.series.SeriesLabel.
| void org.swtchart.ISeriesLabel.setVisible | ( | boolean | visible | ) |
Sets the label visibility state.
| visible | the label visibility state |
Implemented in org.swtchart.internal.series.SeriesLabel.
Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.apply(), and org.swtchart.examples.SeriesLabelExample.createChart().

1.6.1