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
-
CounterApplet()
-
-
action(Event, Object)
- Called if an action occurs in the Component.
-
doCounter()
-
-
doRun()
- Start the async counter if not running, else stop it
-
getCounterServer(String)
-
-
handleEvent(Event)
- Handles the event.
-
init()
- Initializes the applet.
-
run()
-
CounterApplet
public CounterApplet()
init
public synchronized void init()
- Initializes the applet.
- Overrides:
- init in class Applet
action
public boolean action(Event ev,
Object obj)
- Called if an action occurs in the Component.
- Overrides:
- action in class Component
handleEvent
public boolean handleEvent(Event ev)
- Handles the event.
- Overrides:
- handleEvent in class Component
getCounterServer
public void getCounterServer(String where)
doCounter
public void doCounter()
doRun
public void doRun()
- Start the async counter if not running, else stop it
run
public void run()
All Packages Class Hierarchy This Package Previous Next Index