4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.78 $ |
* @version $Revision: 1.79 $ |
* |
* Last modification: $Date: 2003/07/23 12:05:35 $ |
* $Id: GUI.java,v 1.78 2003/07/23 12:05:35 smcsporr Exp $ |
* Last modification: $Date: 2003/07/23 15:59:17 $ |
* $Id: GUI.java,v 1.79 2003/07/23 15:59:17 mdonner Exp $ |
*/ |
|
package src.gui; |
44,12 → 44,13 |
import src.control.DocumentManagerInterface; |
|
/** |
* The class <code>GUI</code> produce the main Window, the menubar,a split-sdreen |
* to divide the window in 3 peaces, and connect the MenuItems with the |
* <code> ActionListener</code> |
* A <code>GUI</code> object produces the main program window, the menubar, a split-screen |
* to divide the window in 3 pieces, and connect the MenuItems with the |
* <code>ActionListener</code> |
* |
* @author group 5 |
* |
* @version $Revision: 1.78 $ Last modification: $Date: 2003/07/23 12:05:35 $ |
* @version $Revision: 1.79 $ Last modification: $Date: 2003/07/23 15:59:17 $ |
*/ |
public class GUI |
extends JFrame implements GuiInterface,WindowListener { |
599,7 → 600,7 |
} |
|
/** |
* This method sets the links to the <code>ActionListener</code>s |
* This method sets the links to the <code>ActionListener</code>s |
* of the existing classes. |
* |
* author hjokusch |
714,9 → 715,10 |
} |
|
/** |
* The methode <code> getTabbedPane </code> gives a reference to the |
* TabbedPane of the GUI |
* <code>getTabbedPane</code> returns a reference to the tabbed pane used in the GUI. |
* |
* @return A reference to the tabbed pane object used in the program display. |
* |
* @see javax.swing.JTabbedPane |
* |
* @return a reference to the <code> JTabbedPane </code> of the gui |
782,11 → 784,19 |
} |
|
/** |
* windowClosing takes <code>WindowEvent</code>s and starts the |
* appropiate actions. |
* <code>windowClosing</code> takes a <code>WindowEvent</code> and starts the |
* appropriate actions. This method handles the event, that the user choosed the |
* program window's 'close' function (a function provided by the operation system). |
* A dialog will appear asking for confirmation that the user really wishes to |
* leave the program. If he/she agrees, all open documents currently displayed in |
* the program's tabbed pane will be closed and the program will quit and exit |
* to the OS. |
* |
* @param event: The event that needs handling. |
* @param event: The 'close' window event. |
* |
* @see java.awt.event.WindowEvent |
* @see java.awt.event.WindowListener |
* |
* Last revision: 17-Jul-2003 |
*/ |
public void windowClosing(WindowEvent event) { |