Class Icon
Class Icon
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----Icon
- public class Icon
- extends Canvas
A canvas that contains a background picture which is
stretched to fill the entire canvas.
- Version:
- 1.0
- Author:
- Torbjörn Nilsson
-
mouseDown(Event, int, int)
- Generate a callback to the ClientThread given in contructor, and set a new screen in it.
-
paint(Graphics)
- Draw the icon pic.
-
update(Graphics)
- No flickering.
mouseDown
public boolean mouseDown(Event e,
int x,
int y)
- Generate a callback to the ClientThread given in contructor, and set a new screen in it.
- Overrides:
- mouseDown in class Component
update
public void update(Graphics g)
- No flickering.
- Overrides:
- update in class Component
paint
public void paint(Graphics g)
- Draw the icon pic.
- Overrides:
- paint in class Canvas