de.ba_ravensburg.gdv.controller
Class Controller

java.lang.Object
  extended by de.ba_ravensburg.gdv.controller.Controller
All Implemented Interfaces:
ActionListener, WindowListener, EventListener, ChangeListener

public class Controller
extends Object
implements ActionListener, WindowListener, ChangeListener

The Controller creates view and model and contains all functionality that can be called through the user interface.

Author:
Max Schloss, Ansgar Wiechers

Constructor Summary
Controller()
          Constructs a new controller which then creates the model and the view.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
static void main(String[] args)
          Program entry point.
 void stateChanged(ChangeEvent e)
           
 void windowActivated(WindowEvent e)
           
 void windowClosed(WindowEvent e)
           
 void windowClosing(WindowEvent e)
           
 void windowDeactivated(WindowEvent e)
           
 void windowDeiconified(WindowEvent e)
           
 void windowIconified(WindowEvent e)
           
 void windowOpened(WindowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller

public Controller()
Constructs a new controller which then creates the model and the view.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

main

public static void main(String[] args)
Program entry point. The sole purpose of this function is to create a new controller when the program is started.

Parameters:
args - arguments the program was started with.

stateChanged

public void stateChanged(ChangeEvent e)
Specified by:
stateChanged in interface ChangeListener

windowActivated

public void windowActivated(WindowEvent e)
Specified by:
windowActivated in interface WindowListener

windowClosed

public void windowClosed(WindowEvent e)
Specified by:
windowClosed in interface WindowListener

windowClosing

public void windowClosing(WindowEvent e)
Specified by:
windowClosing in interface WindowListener

windowDeactivated

public void windowDeactivated(WindowEvent e)
Specified by:
windowDeactivated in interface WindowListener

windowDeiconified

public void windowDeiconified(WindowEvent e)
Specified by:
windowDeiconified in interface WindowListener

windowIconified

public void windowIconified(WindowEvent e)
Specified by:
windowIconified in interface WindowListener

windowOpened

public void windowOpened(WindowEvent e)
Specified by:
windowOpened in interface WindowListener


Copyright © 2004 Max Schloss and Ansgar Wiechers. All Rights Reserved.