Class java.rmi.examples.counter.CounterApplet
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.rmi.examples.counter.CounterApplet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----java.rmi.examples.counter.CounterApplet

public class CounterApplet
extends Applet
implements Runnable

Constructor Index

 o CounterApplet()

Method Index

 o action(Event, Object)
Called if an action occurs in the Component.
 o doCounter()
 o doRun()
Start the async counter if not running, else stop it
 o getCounterServer(String)
 o handleEvent(Event)
Handles the event.
 o init()
Initializes the applet.
 o run()

Constructors

 o CounterApplet
  public CounterApplet()

Methods

 o init
  public synchronized void init()
Initializes the applet.
Overrides:
init in class Applet
 o action
  public boolean action(Event ev,
                        Object obj)
Called if an action occurs in the Component.
Overrides:
action in class Component
 o handleEvent
  public boolean handleEvent(Event ev)
Handles the event.
Overrides:
handleEvent in class Component
 o getCounterServer
  public void getCounterServer(String where)
 o doCounter
  public void doCounter()
 o doRun
  public void doRun()
Start the async counter if not running, else stop it
 o run
  public void run()

All Packages  Class Hierarchy  This Package  Previous  Next  Index