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 voidaddCustomPaintListener(ICustomPaintListener listener)Adds the custom paint listener.voiddispose()ISeriesSetgetSeriesSet()Gets the set of series.voidpaintControl(PaintEvent e)voidremoveCustomPaintListener(ICustomPaintListener listener)Removes the custom paint listenervoidsetBackground(Color color)voidsetBounds(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:IPlotAreaAdds the custom paint listener.- Specified by:
addCustomPaintListenerin interfaceIPlotArea- Parameters:
listener- the custom paint listener
-
removeCustomPaintListener
public void removeCustomPaintListener(ICustomPaintListener listener)
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()
-
-