org.swtchart.internal.PlotArea Class Reference

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

Inheritance diagram for org.swtchart.internal.PlotArea:
Inheritance graph
[legend]
Collaboration diagram for org.swtchart.internal.PlotArea:
Collaboration graph
[legend]

List of all members.

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< ICustomPaintListenerpaintListeners
 the custom paint listeners

Static Private Attributes

static final int DEFAULT_BACKGROUND = SWT.COLOR_WHITE
 the default background color

Detailed Description

Plot area to draw series and grids.

Definition at line 34 of file PlotArea.java.


Constructor & Destructor Documentation

org.swtchart.internal.PlotArea.PlotArea ( Chart  chart,
int  style 
)

Constructor.

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

Here is the call graph for this function:


Member Function Documentation

void org.swtchart.internal.PlotArea.addCustomPaintListener ( ICustomPaintListener  listener  ) 

Adds the custom paint listener.

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

Here is the call graph for this function:

Here is the caller graph for this function:

ISeriesSet org.swtchart.internal.PlotArea.getSeriesSet (  ) 

Gets the set of series.

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

Here is the caller graph for this function:

void org.swtchart.internal.PlotArea.paintControl ( PaintEvent  e  ) 
void org.swtchart.internal.PlotArea.removeCustomPaintListener ( ICustomPaintListener  listener  ) 

Removes the custom paint listener.

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

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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


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

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