Package org.swtchart.internal
Class PlotArea
Composite
org.swtchart.internal.PlotArea
- All Implemented Interfaces:
IPlotArea
Plot area to draw series and grids.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomPaintListener(ICustomPaintListener listener) Adds the custom paint listener.voiddispose()Gets the set of series.voidpaintControl(PaintEvent e) voidRemoves the custom paint listenervoidsetBackground(Color color) voidsetBounds(int x, int y, int width, int height)
-
Field Details
-
chart
the chart -
seriesSet
the set of plots
-
-
Constructor Details
-
PlotArea
Constructor.- Parameters:
chart- the chartstyle- the style
-
-
Method Details
-
getSeriesSet
Gets the set of series.- Returns:
- the set of series
-
setBounds
public void setBounds(int x, int y, int width, int height) -
setBackground
public void setBackground(Color color) -
addCustomPaintListener
Description copied from interface:IPlotAreaAdds the custom paint listener.- Specified by:
addCustomPaintListenerin interfaceIPlotArea- Parameters:
listener- the custom paint listener
-
removeCustomPaintListener
Description copied from interface:IPlotAreaRemoves the custom paint listener- Specified by:
removeCustomPaintListenerin interfaceIPlotArea- Parameters:
listener- the custom paint listener
-
paintControl
public void paintControl(PaintEvent e) -
dispose
public void dispose()
-