public class XYPlotCanvas
extends Canvas
Constructor and Description |
---|
XYPlotCanvas(Shell shell) |
Modifier and Type | Method and Description |
---|---|
void |
addF1Listener(Listener listener) |
void |
close() |
long |
getUpdateDelay() |
double |
getUpdateFreq() |
IXYPlot |
getXYPlot() |
void |
onBsKey()
Implementation of the
IKeypad interface to react on a key event |
void |
onDownKey()
Implementation of the
IKeypad interface to react on a key event |
void |
onEnterKey()
Implementation of the
IKeypad interface to react on a key event |
void |
onF1Key()
Implementation of the
IKeypad interface to react on a key event |
void |
onF2Key()
Implementation of the
IKeypad interface to react on a key event |
void |
onKeyReleased()
Implementation of the
IKeypad interface to react on a key event |
void |
onLeftKey()
Implementation of the
IKeypad interface to react on a key event |
void |
onMouseDown(int x,
int y)
Implementation of the
ITouschscreeen interface to react on a
touch event |
void |
onMouseMove(int x,
int y)
Implementation of the
ITouschscreeen interface to react on a
touch event |
void |
onMouseUp(int x,
int y)
Implementation of the
ITouschscreeen interface to react on a
touch event |
void |
onRightKey()
Implementation of the
IKeypad interface to react on a key event |
void |
onUpKey()
Implementation of the
IKeypad interface to react on a key event |
boolean |
updateControl()
Update the XY plot by forcing a redraw or checking if redraw is requested
by the plot itself
|
public void addF1Listener(Listener listener)
public void close()
public IXYPlot getXYPlot()
public boolean updateControl()
public void onEnterKey()
IKeypad
interface to react on a key eventpublic void onBsKey()
IKeypad
interface to react on a key eventpublic void onF1Key()
IKeypad
interface to react on a key eventpublic void onF2Key()
IKeypad
interface to react on a key eventpublic void onLeftKey()
IKeypad
interface to react on a key eventpublic void onRightKey()
IKeypad
interface to react on a key eventpublic void onDownKey()
IKeypad
interface to react on a key eventpublic void onUpKey()
IKeypad
interface to react on a key eventpublic void onKeyReleased()
IKeypad
interface to react on a key eventpublic void onMouseDown(int x, int y)
ITouschscreeen
interface to react on a
touch eventpublic void onMouseUp(int x, int y)
ITouschscreeen
interface to react on a
touch eventpublic void onMouseMove(int x, int y)
ITouschscreeen
interface to react on a
touch eventpublic long getUpdateDelay()
public double getUpdateFreq()