All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----tropo.awt.TRBufferedCanvas
|
+----tropo.awt.TRDelegatedCanvas
If you know your size when you new this guy then you pass in a painter and the size, else you only have to pass in a listener.
In typical usage all you use is the ctr here.
public TRDelegatedCanvas(TRCanvasListener listener)
public TRDelegatedCanvas(TRCanvasPainter painter,
int w,
int h)
public void setMouser(TRMouseListener m)
public final void draw(Graphics g)
public boolean mouseDrag(Event e,
int x,
int y)
public boolean mouseDown(Event e,
int x,
int y)
public boolean mouseUp(Event e,
int x,
int y)
public boolean mouseEnter(Event e,
int x,
int y)
public boolean mouseExit(Event e,
int x,
int y)
public boolean mouseMove(Event e,
int x,
int y)
All Packages Class Hierarchy This Package Previous Next Index