de.ba_ravensburg.gdv.controller
Class Controller
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Controller
public Controller()
- Constructs a new controller which then creates the model and the view.
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.