Plot area to draw series and grids. More...


Public Member Functions | |
| PlotArea (Chart chart, int style) | |
| Constructor. | |
| ISeriesSet | getSeriesSet () |
| Gets the set of series. | |
| void | setBounds (int x, int y, int width, int height) |
| void | setBackground (Color color) |
| void | addCustomPaintListener (ICustomPaintListener listener) |
| Adds the custom paint listener. | |
| void | removeCustomPaintListener (ICustomPaintListener listener) |
| Removes the custom paint listener. | |
| void | paintControl (PaintEvent e) |
| void | dispose () |
Protected Attributes | |
| Chart | chart |
| the chart | |
| SeriesSet | seriesSet |
| the set of plots | |
Package Attributes | |
| List< ICustomPaintListener > | paintListeners |
| the custom paint listeners | |
Static Private Attributes | |
| static final int | DEFAULT_BACKGROUND = SWT.COLOR_WHITE |
| the default background color | |
Plot area to draw series and grids.
Definition at line 34 of file PlotArea.java.
| org.swtchart.internal.PlotArea.PlotArea | ( | Chart | chart, | |
| int | style | |||
| ) |
Constructor.
| chart | the chart | |
| style | the style |
Definition at line 56 of file PlotArea.java.
References org.swtchart.internal.PlotArea.DEFAULT_BACKGROUND, org.swtchart.internal.PlotArea.paintListeners, org.swtchart.internal.PlotArea.seriesSet, and org.swtchart.internal.PlotArea.setBackground().

| void org.swtchart.internal.PlotArea.addCustomPaintListener | ( | ICustomPaintListener | listener | ) |
Adds the custom paint listener.
| listener | the custom paint listener |
Implements org.swtchart.IPlotArea.
Definition at line 102 of file PlotArea.java.
References org.swtchart.internal.PlotArea.paintListeners.
| void org.swtchart.internal.PlotArea.dispose | ( | ) |
Definition at line 163 of file PlotArea.java.
References org.swtchart.internal.series.SeriesSet.dispose(), and org.swtchart.internal.PlotArea.seriesSet.
Referenced by org.swtchart.Chart.dispose().


| ISeriesSet org.swtchart.internal.PlotArea.getSeriesSet | ( | ) |
Gets the set of series.
Definition at line 73 of file PlotArea.java.
References org.swtchart.internal.PlotArea.seriesSet.
Referenced by org.swtchart.Chart.getSeriesSet(), and org.swtchart.internal.PlotArea.setBounds().

| void org.swtchart.internal.PlotArea.paintControl | ( | PaintEvent | e | ) |
Definition at line 116 of file PlotArea.java.
References org.swtchart.internal.PlotArea.chart, org.swtchart.IAxisSet.getAxes(), org.swtchart.Chart.getAxisSet(), org.swtchart.ISeriesSet.getSeries(), org.swtchart.Chart.getSeriesSet(), and org.swtchart.internal.PlotArea.paintListeners.

| void org.swtchart.internal.PlotArea.removeCustomPaintListener | ( | ICustomPaintListener | listener | ) |
Removes the custom paint listener.
| listener | the custom paint listener |
Implements org.swtchart.IPlotArea.
Definition at line 109 of file PlotArea.java.
References org.swtchart.internal.PlotArea.paintListeners.
| void org.swtchart.internal.PlotArea.setBackground | ( | Color | color | ) |
Definition at line 90 of file PlotArea.java.
References org.swtchart.internal.PlotArea.DEFAULT_BACKGROUND.
Referenced by org.swtchart.internal.PlotArea.PlotArea(), and org.swtchart.Chart.setBackgroundInPlotArea().

| void org.swtchart.internal.PlotArea.setBounds | ( | int | x, | |
| int | y, | |||
| int | width, | |||
| int | height | |||
| ) |
Definition at line 81 of file PlotArea.java.
References org.swtchart.internal.PlotArea.getSeriesSet().
Referenced by org.swtchart.internal.ChartLayout.layoutPlot().


Chart org.swtchart.internal.PlotArea.chart [protected] |
the chart
Definition at line 37 of file PlotArea.java.
Referenced by org.swtchart.internal.PlotArea.paintControl().
final int org.swtchart.internal.PlotArea.DEFAULT_BACKGROUND = SWT.COLOR_WHITE [static, private] |
the default background color
Definition at line 46 of file PlotArea.java.
Referenced by org.swtchart.internal.PlotArea.PlotArea(), and org.swtchart.internal.PlotArea.setBackground().
List<ICustomPaintListener> org.swtchart.internal.PlotArea.paintListeners [package] |
the custom paint listeners
Definition at line 43 of file PlotArea.java.
Referenced by org.swtchart.internal.PlotArea.addCustomPaintListener(), org.swtchart.internal.PlotArea.paintControl(), org.swtchart.internal.PlotArea.PlotArea(), and org.swtchart.internal.PlotArea.removeCustomPaintListener().
SeriesSet org.swtchart.internal.PlotArea.seriesSet [protected] |
the set of plots
Definition at line 40 of file PlotArea.java.
Referenced by org.swtchart.internal.PlotArea.dispose(), org.swtchart.internal.PlotArea.getSeriesSet(), and org.swtchart.internal.PlotArea.PlotArea().
1.6.1