Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
micropolisj.gui.CheatWindow Class Reference
Inheritance diagram for micropolisj.gui.CheatWindow:
Collaboration diagram for micropolisj.gui.CheatWindow:

Public Member Functions

 CheatWindow (Micropolis engine, Map< MicropolisTool, JToggleButton > toolBtns)
boolean dispatchKeyEvent (KeyEvent e)

Private Attributes

Micropolis engine
KeyboardFocusManager manager
JTextField textField
Map< MicropolisTool,
JToggleButton > 
toolBtns

Static Private Attributes

static final String MORE_MONEY_CHEAT = "gimme"
static final int AMOUNT_GIVEN = 5000
static final String MORE_RESEARCH_CHEAT = "research"
static final int AMOUNT_RESEARCH = 1000
static String lastInput

Detailed Description

Definition at line 18 of file CheatWindow.java.

Constructor & Destructor Documentation

Member Function Documentation

Member Data Documentation

final int micropolisj.gui.CheatWindow.AMOUNT_GIVEN = 5000
staticprivate

Definition at line 21 of file CheatWindow.java.

Referenced by micropolisj.gui.CheatWindow.dispatchKeyEvent().

final int micropolisj.gui.CheatWindow.AMOUNT_RESEARCH = 1000
staticprivate

Definition at line 24 of file CheatWindow.java.

Referenced by micropolisj.gui.CheatWindow.dispatchKeyEvent().

Micropolis micropolisj.gui.CheatWindow.engine
private
String micropolisj.gui.CheatWindow.lastInput
staticprivate
KeyboardFocusManager micropolisj.gui.CheatWindow.manager
private
final String micropolisj.gui.CheatWindow.MORE_MONEY_CHEAT = "gimme"
staticprivate

Definition at line 20 of file CheatWindow.java.

Referenced by micropolisj.gui.CheatWindow.dispatchKeyEvent().

final String micropolisj.gui.CheatWindow.MORE_RESEARCH_CHEAT = "research"
staticprivate

Definition at line 23 of file CheatWindow.java.

Referenced by micropolisj.gui.CheatWindow.dispatchKeyEvent().

JTextField micropolisj.gui.CheatWindow.textField
private
Map<MicropolisTool, JToggleButton> micropolisj.gui.CheatWindow.toolBtns
private

The documentation for this class was generated from the following file: