public class XYGraphLibSWT extends java.lang.Object implements IXYGraphLib
IXYGraphLib.MouseEvent, IXYGraphLib.Rect, IXYGraphLib.RGB
Constructor and Description |
---|
XYGraphLibSWT(Display display)
Creates a graphic library for XYPlot on SWT.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
IXYGraphLib.Rect |
getBounds()
Get rectangle containing the XY-Plot
|
IXYGraphLibInt |
getInt()
Get access to the internal functionality of the graphic library.
|
Rectangle[] |
getToolTipRects() |
java.lang.String[] |
getToolTipStrings() |
boolean |
hasOwnButtonDrawing() |
boolean |
hasZoomBox()
A zoom box is a rectangle drawn by a mouse down, move and up event within
the drawing area.
|
void |
paint(GC gc) |
void |
setBounds(IXYGraphLib.Rect rect)
Set rectangle containing the XY-Plot
|
public XYGraphLibSWT(Display display)
display
- bounds
- public void close()
close
in interface IXYGraphLib
public void paint(GC gc)
public void setBounds(IXYGraphLib.Rect rect)
IXYGraphLib
setBounds
in interface IXYGraphLib
rect
- New bounds of plot areapublic IXYGraphLib.Rect getBounds()
IXYGraphLib
getBounds
in interface IXYGraphLib
public IXYGraphLibInt getInt()
IXYGraphLib
getInt
in interface IXYGraphLib
public boolean hasZoomBox()
IXYGraphLib
hasZoomBox
in interface IXYGraphLib
public boolean hasOwnButtonDrawing()
public Rectangle[] getToolTipRects()
public java.lang.String[] getToolTipStrings()