public class PlotArea extends org.eclipse.swt.widgets.Composite implements org.eclipse.swt.events.PaintListener, IPlotArea
| Modifier and Type | Field and Description |
|---|---|
protected Chart |
chart
the chart
|
protected SeriesSet |
seriesSet
the set of plots
|
| Constructor and Description |
|---|
PlotArea(Chart chart,
int style)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomPaintListener(ICustomPaintListener listener)
Adds the custom paint listener.
|
void |
dispose() |
ISeriesSet |
getSeriesSet()
Gets the set of series.
|
void |
paintControl(org.eclipse.swt.events.PaintEvent e) |
void |
removeCustomPaintListener(ICustomPaintListener listener)
Removes the custom paint listener
|
void |
setBackground(org.eclipse.swt.graphics.Color color) |
void |
setBounds(int x,
int y,
int width,
int height) |
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getBorderWidth, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackgroundImage, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateprotected Chart chart
protected SeriesSet seriesSet
public PlotArea(Chart chart, int style)
chart - the chartstyle - the stylepublic ISeriesSet getSeriesSet()
public void setBounds(int x,
int y,
int width,
int height)
setBounds in class org.eclipse.swt.widgets.Controlpublic void setBackground(org.eclipse.swt.graphics.Color color)
setBackground in class org.eclipse.swt.widgets.Controlpublic void addCustomPaintListener(ICustomPaintListener listener)
IPlotAreaaddCustomPaintListener in interface IPlotArealistener - the custom paint listenerpublic void removeCustomPaintListener(ICustomPaintListener listener)
IPlotArearemoveCustomPaintListener in interface IPlotArealistener - the custom paint listenerpublic void paintControl(org.eclipse.swt.events.PaintEvent e)
paintControl in interface org.eclipse.swt.events.PaintListenerpublic void dispose()
dispose in class org.eclipse.swt.widgets.WidgetCopyright © 2015. All Rights Reserved.