|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.WindowAdapter
WahlController
public class WahlController
Controller-Grundstruktur, installiert und deinstalliert Controller, als Ereignisverarbeiter.
Field Summary | |
---|---|
private WahlModel |
model
Mathematisches Modell, enthaelt Funktionalitaet des Problems. |
private WahlView |
view
Zum Controller gehoeriger View. |
Constructor Summary | |
---|---|
WahlController(WahlModel m,
WahlView v)
Konstruktor, initialisiert Model und View. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
ActionListener, Ereignisauswertung fuer Button Stimmabgabe. |
void |
release()
Freigabe der Controllers, setzt Model und View zurück. |
void |
windowClosing(java.awt.event.WindowEvent we)
WindowAdapter, Schliessen des Fensters. |
Methods inherited from class java.awt.event.WindowAdapter |
---|
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private WahlModel model
private WahlView view
Constructor Detail |
---|
public WahlController(WahlModel m, WahlView v)
m
- Mathematisches Modellv
- zum Controller gehoeriger ViewMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
public void windowClosing(java.awt.event.WindowEvent we)
windowClosing
in interface java.awt.event.WindowListener
windowClosing
in class java.awt.event.WindowAdapter
public void release()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |