Package org.swtchart.internal
Class PlotArea
- java.lang.Object
-
- Composite
-
- org.swtchart.internal.PlotArea
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCustomPaintListener(ICustomPaintListener listener)
Adds the custom paint listener.void
dispose()
ISeriesSet
getSeriesSet()
Gets the set of series.void
paintControl(PaintEvent e)
void
removeCustomPaintListener(ICustomPaintListener listener)
Removes the custom paint listenervoid
setBackground(Color color)
void
setBounds(int x, int y, int width, int height)
-
-
-
Constructor Detail
-
PlotArea
public PlotArea(Chart chart, int style)
Constructor.- Parameters:
chart
- the chartstyle
- the style
-
-
Method Detail
-
getSeriesSet
public ISeriesSet 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
public void addCustomPaintListener(ICustomPaintListener listener)
Description copied from interface:IPlotArea
Adds the custom paint listener.- Specified by:
addCustomPaintListener
in interfaceIPlotArea
- Parameters:
listener
- the custom paint listener
-
removeCustomPaintListener
public void removeCustomPaintListener(ICustomPaintListener listener)
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()
-
-