galapagos
Interface DrawingController
- All Known Implementing Classes:
- Turtle
interface DrawingController
Any class that wants to draw something on a DrawingCanvas
must implement this interface. The redraw method is called
the DrawingCanvase whenever the canvas needs to be repainted.
Use the setCanvas method to connect the DrawingCanvas object
to the object that implements this interface.
Date Modified: Feb 24, 2009 (Cosmetic changes)
- Author:
- Dr Caffeine
redraw
void redraw(java.awt.Graphics g)
setCanvas
void setCanvas(DrawingCanvas canvas)