Package org.swtchart.internal
Class PlotArea
java.lang.Object
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 TypeMethodDescriptionvoid
addCustomPaintListener
(ICustomPaintListener listener) Adds the custom paint listener.void
dispose()
Gets the set of series.void
paintControl
(PaintEvent e) void
Removes the custom paint listenervoid
setBackground
(Color color) void
setBounds
(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:IPlotArea
Adds the custom paint listener.- Specified by:
addCustomPaintListener
in interfaceIPlotArea
- Parameters:
listener
- the custom paint listener
-
removeCustomPaintListener
Description copied from interface:IPlotArea
Removes the custom paint listener- Specified by:
removeCustomPaintListener
in interfaceIPlotArea
- Parameters:
listener
- the custom paint listener
-
paintControl
public void paintControl(PaintEvent e) -
dispose
public void dispose()
-