|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.event.WindowAdapter ZaehlerController
public class ZaehlerController
Controller zum ZaehlerView.
Field Summary | |
---|---|
private ZaehlerModel |
model
Mathematisches Modell, enthaelt Funktionalitaet des Zaehlers. |
private ZaehlerView |
view
Zum Controller gehoeriger View. |
Constructor Summary | |
---|---|
ZaehlerController(ZaehlerModel model,
ZaehlerView view)
Konstruktor, initialisiert Model und View. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
ActionListener, Ereignisverarbeitung Betaetigen eines Button. |
void |
release()
Freigabe des Controllers, setzt Model und View zurück. |
void |
windowClosing(java.awt.event.WindowEvent we)
WindowAdapter, Ereignisverarbeitung Schliessen des Fensters, Programm wird beendet. |
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 ZaehlerModel model
private ZaehlerView view
Constructor Detail |
---|
public ZaehlerController(ZaehlerModel model, ZaehlerView view)
model
- Mathematisches Modellview
- zum Controller gehoeriger ViewMethod Detail |
---|
public void release()
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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |