|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.WindowAdapter
MessController
public class MessController
Controller-Grundstruktur, installiert und deinstalliert Controller, als Ereignisverarbeiter.
Field Summary | |
---|---|
private MessModel |
model
Mathematisches Modell, enthaelt Funktionalitaet des Problems. |
private MessView |
view
Zum Controller gehoeriger View. |
Constructor Summary | |
---|---|
MessController(MessModel m,
MessView v)
Konstruktor, initialisiert Model und View. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
ActionListener, Ereignisauswertung fuer Buttons. |
void |
keyPressed(java.awt.event.KeyEvent ke)
KeyListener, Ereignisauswertung Taste wurde gedrueckt, Methode tut nichts. |
void |
keyReleased(java.awt.event.KeyEvent ke)
KeyListener, Ereignisauswertung Taste wurde losgelassen. |
void |
keyTyped(java.awt.event.KeyEvent ke)
KeyListener, Ereignisauswertung Taste wurde gedrueckt und losgelassen, Methode tut nichts. |
void |
release()
Freigabe der Controllers, setzt Model und View zurück. |
private void |
setFehlerDialog(java.lang.String text)
Abfangen von Eingabefehlern. |
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 MessModel model
private MessView view
Constructor Detail |
---|
public MessController(MessModel m, MessView 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 keyPressed(java.awt.event.KeyEvent ke)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent ke)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent ke)
keyTyped
in interface java.awt.event.KeyListener
private void setFehlerDialog(java.lang.String text)
text
- Fehlermeldungpublic 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 |