|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.awt.event.WindowAdapter
BanditSpielController
public class BanditSpielController
Controller zum BanditSpielView.
| Field Summary | |
|---|---|
private BanditSpielModel |
model
Mathematisches Model, enthaelt Funktionalitaet der Zahlenspiegelung. |
private BanditSpielView |
view
Zum Controller gehoeriger View. |
| Constructor Summary | |
|---|---|
BanditSpielController(BanditSpielModel model,
BanditSpielView view)
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. |
void |
release()
Freigabe der Controllers, setzt Model und View zurück. |
private void |
setDialog(java.lang.String text)
Eingabefehlernmitteilung, Ausgabe der Spielregeln. |
void |
windowClosing(java.awt.event.WindowEvent we)
WindowAdapter, Schliessen des Models. |
| 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 BanditSpielModel model
private BanditSpielView view
| Constructor Detail |
|---|
public BanditSpielController(BanditSpielModel model,
BanditSpielView view)
view - zum Controller gehoeriger View| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListenerpublic void keyPressed(java.awt.event.KeyEvent ke)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent ke)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent ke)
keyTyped in interface java.awt.event.KeyListenerpublic void windowClosing(java.awt.event.WindowEvent we)
windowClosing in interface java.awt.event.WindowListenerwindowClosing in class java.awt.event.WindowAdapterpublic void release()
private void setDialog(java.lang.String text)
text - Meldung
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||