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

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)

Detailed Description

Definition at line 21 of file GraphsPane.java.

Constructor & Destructor Documentation

micropolisj.gui.GraphsPane.GraphsPane ( Micropolis  engine)

Member Function Documentation

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.

JToggleButton micropolisj.gui.GraphsPane.makeDataBtn ( GraphData  graph)
private

Definition at line 159 of file GraphsPane.java.

Referenced by micropolisj.gui.GraphsPane.GraphsPane().

void micropolisj.gui.GraphsPane.onDismissClicked ( )
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().

Here is the call graph for this function:


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