All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cricinfo.gadgets.Clock

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----cricinfo.gadgets.Clock

public class Clock
extends Applet
implements Runnable
A Simple clock applet

Parameters
Parameter NameType of ParameterWhat it does
fontA Font NameSets the type of font used
bgcolourhexidecimal intSets the colour of the applet
facecolourhexidecimal intSets the colour of text
fontsizedecimal intSets the size of the font
time"GMT" or "local"Wether the clock displays local or Greenwich Mean Time


Constructor Index

 o Clock()

Method Index

 o init()
Applet method: Initialise the applet
 o run()
 o start()
Applet method: Start the applet.
 o stop()
Applet method: Stop the applet.

Constructors

 o Clock
 public Clock()

Methods

 o init
 public void init()
Applet method: Initialise the applet

Overrides:
init in class Applet
 o start
 public synchronized void start()
Applet method: Start the applet.

Overrides:
start in class Applet
 o stop
 public synchronized void stop()
Applet method: Stop the applet.

Overrides:
stop in class Applet
 o run
 public synchronized void run()

All Packages  Class Hierarchy  This Package  Previous  Next  Index