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.
-
Flasher()
- Setup the light.
-
action(Event, Object)
- The events for the window.
-
main(String[])
- Test the light.
-
off()
- Turn the light off.
-
on()
- Turn the light on.
-
releaseLock()
- The system will release the lock.
Flasher
public Flasher()
- Setup the light.
main
public static void main(String args[])
- Test the light.
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
releaseLock
public void releaseLock()
- The system will release the lock.
on
public void on()
- Turn the light on.
off
public void off()
- Turn the light off.
All Packages Class Hierarchy This Package Previous Next Index