com.monkeycoder.monkeynes.gui
Class OptionsCpuGui

java.lang.Object
  |
  +--com.monkeycoder.monkeynes.gui.OptionsCpuGui

public class OptionsCpuGui
extends Object

This is a GUI dialog that allows user configuration of CPU options.

Originally part of the MonkeyNES project.

Author:
David Stephens

Constructor Summary
OptionsCpuGui(Frame inParentFrame)
          Creates and configures a new OptionsCpuGui.
 
Method Summary
 long getClockSpeed()
          Gets the clock speed set by the CPU speed slider.
 void show()
          Displays the OptionsCpuGui.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionsCpuGui

public OptionsCpuGui(Frame inParentFrame)
Creates and configures a new OptionsCpuGui. Note that the window is constructed but not displayed.

Parameters:
inParentFrame - The parent of this dialog.
Method Detail

getClockSpeed

public long getClockSpeed()
Gets the clock speed set by the CPU speed slider.

Returns:
The clock speed set by the user.

show

public void show()
Displays the OptionsCpuGui.