All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cricinfo.gadgets.FeatureRotater

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

public class FeatureRotater
extends Applet
implements Runnable
An applet that rotates through images relating to and allowing linking to specific URLs.
Parameters
Parameter NameType of ParameterWhat it does
FeatureCountdecimal integerHow many URL's are to be feature
delaydecimal integerHow many seconds each URL is to be displayed
bgcolourhexadecimal integerThe background colour to be used (generally the document colour)
ImageURLiStringThe absolute filepath of the image to be displayed for the ith URL. This is the path from the root on this webserver
LocaliStringFlag to tell wether pointing to a local document. If this exists FeatureURL is interpreted as being a path from the root on this webserver
FeatureURLiStringThe URL represent by the ith image. If Locali< does not exists, this is an absolute URL.
TextiStringThe text information to be displayed for the ith URL.

Note that the count i begins with the 0th feature up to the (FeatureCount -1)th feature. eg.

 <param name="ImageURL0" value="/logos/NATIONAL/RSA/TV_ANIMATION_43x50.GIF">
 <param name="FeatureURL0" value="/link_to_database/NATIONAL/RSA/FC_TEAMS/TVL/">
 <param name="Text0" value="Transvaal Cricket Board Site">
 


Constructor Index

 o FeatureRotater()

Method Index

 o addNotify()
 o init()
Applet method: Initialise the feature rotater.
 o mouseEnter(Event, int, int)
 o mouseExit(Event, int, int)
 o mouseUp(Event, int, int)
 o paint(Graphics)
 o preferredSize()
 o run()
 o start()
Applet method: Start the feature rotater.
 o stop()
Applet method: Stop the feature rotater.
 o update(Graphics)

Constructors

 o FeatureRotater
 public FeatureRotater()

Methods

 o init
 public void init()
Applet method: Initialise the feature rotater.

Overrides:
init in class Applet
 o addNotify
 public void addNotify()
Overrides:
addNotify in class Panel
 o start
 public synchronized void start()
Applet method: Start the feature rotater.

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

Overrides:
stop in class Applet
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o mouseUp
 public boolean mouseUp(Event e,
                        int x,
                        int y)
Overrides:
mouseUp in class Component
 o mouseEnter
 public boolean mouseEnter(Event e,
                           int x,
                           int y)
Overrides:
mouseEnter in class Component
 o mouseExit
 public boolean mouseExit(Event e,
                          int x,
                          int y)
Overrides:
mouseExit in class Component
 o update
 public void update(Graphics g)
Overrides:
update in class Component
 o preferredSize
 public Dimension preferredSize()
Overrides:
preferredSize in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index