Methapolis
0.27
|
Classes | |
class | GraphArea |
enum | GraphData |
enum | TimePeriod |
Public Member Functions | |
GraphsPane (Micropolis engine) | |
void | setEngine (Micropolis newEngine) |
void | cityMessage (MicropolisMessage message, CityLocation loc) |
void | citySound (Sound sound, CityLocation loc) |
void | demandChanged () |
void | evaluationChanged () |
void | fundsChanged () |
void | optionsChanged () |
void | censusChanged () |
Private Member Functions | |
void | onDismissClicked () |
JToggleButton | makeDataBtn (GraphData graph) |
Definition at line 21 of file GraphsPane.java.
micropolisj.gui.GraphsPane.GraphsPane | ( | Micropolis | engine | ) |
Definition at line 54 of file GraphsPane.java.
References micropolisj.engine.Micropolis.addListener(), micropolisj.gui.GraphsPane.makeDataBtn(), and micropolisj.gui.GraphsPane.onDismissClicked().
void micropolisj.gui.GraphsPane.censusChanged | ( | ) |
Fired whenever the "census" is taken, and the various historical counters have been updated. (Once a month in game.)
Implements micropolisj.engine.Micropolis.Listener.
Definition at line 154 of file GraphsPane.java.
void micropolisj.gui.GraphsPane.cityMessage | ( | MicropolisMessage | message, |
CityLocation | loc | ||
) |
Implements micropolisj.engine.Micropolis.Listener.
Definition at line 146 of file GraphsPane.java.
void micropolisj.gui.GraphsPane.citySound | ( | Sound | sound, |
CityLocation | loc | ||
) |
Implements micropolisj.engine.Micropolis.Listener.
Definition at line 147 of file GraphsPane.java.
void micropolisj.gui.GraphsPane.demandChanged | ( | ) |
Fired whenever playerInfo.resValve, playerInfo.comValve, or playerInfo.indValve changes. (Twice a month in game.)
Implements micropolisj.engine.Micropolis.Listener.
Definition at line 148 of file GraphsPane.java.
void micropolisj.gui.GraphsPane.evaluationChanged | ( | ) |
Fired whenever the city playerInfo.evaluation is recalculated. (Once a year.)
Implements micropolisj.engine.Micropolis.Listener.
Definition at line 149 of file GraphsPane.java.
void micropolisj.gui.GraphsPane.fundsChanged | ( | ) |
Fired whenever the mayor's money changes.
Implements micropolisj.engine.Micropolis.Listener.
Definition at line 150 of file GraphsPane.java.
|
private |
Definition at line 159 of file GraphsPane.java.
Referenced by micropolisj.gui.GraphsPane.GraphsPane().
|
private |
Definition at line 140 of file GraphsPane.java.
Referenced by micropolisj.gui.GraphsPane.GraphsPane().
void micropolisj.gui.GraphsPane.optionsChanged | ( | ) |
Fired whenever autoBulldoze, autoBudget, noDisasters, or simSpeed change.
Implements micropolisj.engine.Micropolis.Listener.
Definition at line 151 of file GraphsPane.java.
void micropolisj.gui.GraphsPane.setEngine | ( | Micropolis | newEngine | ) |
Definition at line 128 of file GraphsPane.java.
References micropolisj.engine.Micropolis.addListener(), and micropolisj.engine.Micropolis.removeListener().
Referenced by micropolisj.gui.MainWindow.setEngine().