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

Method Index

 o mouseDown(Event, int, int)
Generate a callback to the ClientThread given in contructor, and set a new screen in it.
 o paint(Graphics)
Draw the icon pic.
 o update(Graphics)
No flickering.

Methods

 o 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
 o update
  public void update(Graphics g)
No flickering.
Overrides:
update in class Component
 o paint
  public void paint(Graphics g)
Draw the icon pic.
Overrides:
paint in class Canvas