All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.part.Flasher

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----pinball.part.Flasher

public class Flasher
extends Frame
Used to flash a light connected to the computer.


Constructor Index

 o Flasher()
Setup the light.

Method Index

 o action(Event, Object)
The events for the window.
 o main(String[])
Test the light.
 o off()
Turn the light off.
 o on()
Turn the light on.
 o releaseLock()
The system will release the lock.

Constructors

 o Flasher
 public Flasher()
Setup the light.

Methods

 o main
 public static void main(String args[])
Test the light.

 o action
 public boolean action(Event e,
                       Object arg)
The events for the window. When OK is pressed, continue with the program.

Overrides:
action in class Component
 o releaseLock
 public void releaseLock()
The system will release the lock.

 o on
 public void on()
Turn the light on.

 o off
 public void off()
Turn the light off.


All Packages  Class Hierarchy  This Package  Previous  Next  Index