All Packages Class Hierarchy This Package Previous Next Index
Class pinball.Options
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----pinball.Options
- public class Options
- extends Frame
- implements Serializable
Get the options used in the game.
-
analyze
- A thread in the system.
-
ballsToPlay
- The amount of balls to play.
-
bufferSize
- Amount of buffers in the system.
-
done
- Indicate the options have been set.
-
fileDialog
- Name of the log file for playback.
-
findFlippers
- How many times to find the flippers in the system.
-
frameRate
- Image display rate.
-
logFileButton
- Going to use a log file.
-
myParent
- The object that called the options menu.
-
OK
- Done with the options.
-
pixelRate
- Amount of pixels to move while scanning the image.
-
post
- A thread in the system.
-
resetTime
- How long can a flipper stay up.
-
strategy
- A thread in the system.
-
Options(JavaQcam)
- Make the options window.
-
action(Event, Object)
- The events for the window.
-
read(DataInputStream)
- Read the options from disk.
-
readObject(ObjectInputStream)
-
Read the information from the disk.
-
save(DataOutputStream)
- Save the options to disk.
-
startup()
- Create the window.
-
writeObject(ObjectOutputStream)
-
Save the information to disk.
OK
private Button OK
- Done with the options.
logFileButton
private Button logFileButton
- Going to use a log file.
done
private transient boolean done
- Indicate the options have been set.
post
private Checkbox post
- A thread in the system.
analyze
private Checkbox analyze
- A thread in the system.
strategy
private Checkbox strategy
- A thread in the system.
pixelRate
private TextField pixelRate
- Amount of pixels to move while scanning the image.
frameRate
private TextField frameRate
- Image display rate.
bufferSize
private TextField bufferSize
- Amount of buffers in the system.
findFlippers
private TextField findFlippers
- How many times to find the flippers in the system.
resetTime
private TextField resetTime
- How long can a flipper stay up.
ballsToPlay
private TextField ballsToPlay
- The amount of balls to play. Then the system exits.
fileDialog
private FileDialog fileDialog
- Name of the log file for playback.
myParent
private JavaQcam myParent
- The object that called the options menu.
Options
public Options(JavaQcam myParent)
- Make the options window.
startup
private void startup()
- Create the window.
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
writeObject
private void writeObject(ObjectOutputStream s) throws IOException
- Save the information to disk.
- Parameters:
- s - object to write to.
- Overrides:
- writeObject in class Frame
readObject
private void readObject(ObjectInputStream s) throws IOException
- Read the information from the disk.
- Parameters:
- s - object to read from.
- Overrides:
- readObject in class Frame
save
public void save(DataOutputStream out)
- Save the options to disk.
- Parameters:
- out - the file to save to.
read
public void read(DataInputStream in)
- Read the options from disk.
- Parameters:
- in - the file to read from.
All Packages Class Hierarchy This Package Previous Next Index