org.swtchart.ISeriesLabel Interface Reference

A series label. More...

Inheritance diagram for org.swtchart.ISeriesLabel:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

A series label.

Definition at line 15 of file ISeriesLabel.java.


Member Function Documentation

Font org.swtchart.ISeriesLabel.getFont (  ) 

Gets the label font.

Returns:
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().

Here is the caller graph for this function:

Color org.swtchart.ISeriesLabel.getForeground (  ) 

Gets the label color.

Returns:
the label color

Implemented in org.swtchart.internal.series.SeriesLabel.

Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.selectInitialValues().

Here is the caller graph for this function:

String org.swtchart.ISeriesLabel.getFormat (  ) 

Gets the format for label.

Returns:
the format

Implemented in org.swtchart.internal.series.SeriesLabel.

String [] org.swtchart.ISeriesLabel.getFormats (  ) 

Gets the formats for all data points.

Returns:
the formats, or empty array if not set

Implemented in org.swtchart.internal.series.SeriesLabel.

boolean org.swtchart.ISeriesLabel.isVisible (  ) 

Gets the label visibility state.

Returns:
true if label is visible

Implemented in org.swtchart.internal.series.SeriesLabel.

Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.selectInitialValues().

Here is the caller graph for this function:

void org.swtchart.ISeriesLabel.setFont ( Font  font  ) 

Sets the label font.

Parameters:
font the label font

Implemented in org.swtchart.internal.series.SeriesLabel.

Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.apply().

Here is the caller graph for this function:

void org.swtchart.ISeriesLabel.setForeground ( Color  color  ) 

Sets the label color.

If null is given, default color will be set.

Parameters:
color the label color

Implemented in org.swtchart.internal.series.SeriesLabel.

Referenced by org.swtchart.ext.internal.properties.SeriesLabelPage.apply().

Here is the caller graph for this function:

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.

Parameters:
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.

Parameters:
formats the formats

Implemented in org.swtchart.internal.series.SeriesLabel.

void org.swtchart.ISeriesLabel.setVisible ( boolean  visible  ) 

Sets the label visibility state.

Parameters:
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().

Here is the caller graph for this function:


The documentation for this interface was generated from the following file:

Generated on 26 Oct 2015 for SWTChart.org by  doxygen 1.6.1