Public Member Functions | |
TitObserver () | |
void | actionPerformed (ActionEvent event) |
void | windowActivated (WindowEvent event) |
void | windowClosed (WindowEvent event) |
void | windowClosing (WindowEvent event) |
void | windowDeactivated (WindowEvent event) |
void | windowDeiconified (WindowEvent event) |
void | windowIconified (WindowEvent event) |
void | windowOpened (WindowEvent event) |
Static Public Member Functions | |
static void | main (String[] args) |
Private Member Functions | |
void | exitProgram () |
void | showInternalFrame (JInternalFrame frame) |
void | showPreferences () |
void | newObservation () |
void | openObservation () |
void | openSummary () |
void | importObservation () |
void | showAboutDialog () |
void | showUserManual () |
Private Attributes | |
JMenuBar | menubar |
JDesktopPane | desktop |
JMenu | filemenu |
JMenuItem | newobservation |
JMenuItem | openobservation |
JMenuItem | opensummary |
JMenuItem | exit |
JMenu | helpmenu |
JMenuItem | usermanual |
JMenuItem | about |
JMenu | preferences |
JMenuItem | importobservation |
JMenuItem | configure |
Static Private Attributes | |
static final String[] | CLASSES_TO_LOAD |
tit.TitObserver.TitObserver | ( | ) |
Constructs a new TitObservator
.
void tit.TitObserver.exitProgram | ( | ) | [private] |
Exits the program.
void tit.TitObserver.showInternalFrame | ( | JInternalFrame | frame | ) | [private] |
Shows an internal frame.
frame | The internal frame. |
void tit.TitObserver.showPreferences | ( | ) | [private] |
Shows the preferences window.
void tit.TitObserver.newObservation | ( | ) | [private] |
Creates a new observation dialog.
void tit.TitObserver.openObservation | ( | ) | [private] |
Creates a open observation dialog.
void tit.TitObserver.openSummary | ( | ) | [private] |
Creates a open summary dialog.
void tit.TitObserver.importObservation | ( | ) | [private] |
Creates a import observation dialog.
void tit.TitObserver.showAboutDialog | ( | ) | [private] |
Creates a show about dialog.
void tit.TitObserver.showUserManual | ( | ) | [private] |
Creates a user manual dialog.
void tit.TitObserver.actionPerformed | ( | ActionEvent | event | ) |
Handles ActionEvent
s.
event | The associated ActionEvent . |
void tit.TitObserver.windowActivated | ( | WindowEvent | event | ) |
Invoked when the Window is set to be the active Window.
event | The associated WindowEvent . |
void tit.TitObserver.windowClosed | ( | WindowEvent | event | ) |
Invoked when a window has been closed as the result of calling dispose on the window.
event | The associated WindowEvent . |
void tit.TitObserver.windowClosing | ( | WindowEvent | event | ) |
Invoked when the user attempts to close the window from the window's system menu.
event | The associated WindowEvent . |
void tit.TitObserver.windowDeactivated | ( | WindowEvent | event | ) |
Invoked when a Window is no longer the active Window.
event | The associated WindowEvent . |
void tit.TitObserver.windowDeiconified | ( | WindowEvent | event | ) |
Invoked when a window is changed from a minimized to a normal state.
event | The associated WindowEvent . |
void tit.TitObserver.windowIconified | ( | WindowEvent | event | ) |
Invoked when a window is changed from a normal to a minimized state.
event | The associated WindowEvent . |
void tit.TitObserver.windowOpened | ( | WindowEvent | event | ) |
Invoked the first time a window is made visible.
event | The associated WindowEvent . |
static void tit.TitObserver.main | ( | String[] | args | ) | [static] |
Main-method.
args | Cli arguments. |
final String [] tit.TitObserver.CLASSES_TO_LOAD [static, private] |
The classes that should be loaded.
JMenuBar tit.TitObserver.menubar [private] |
The menu bar.
JDesktopPane tit.TitObserver.desktop [private] |
The desktop pane conataining the windows.
JMenu tit.TitObserver.filemenu [private] |
The 'File'-menu.
JMenuItem tit.TitObserver.newobservation [private] |
The 'New observation'-item.
JMenuItem tit.TitObserver.openobservation [private] |
The 'Open observation'-item.
JMenuItem tit.TitObserver.opensummary [private] |
The 'Open summary'-item.
JMenuItem tit.TitObserver.exit [private] |
The 'Exit'-item.
JMenu tit.TitObserver.helpmenu [private] |
The 'Help'-menu.
JMenuItem tit.TitObserver.usermanual [private] |
The 'User manual'-item.
JMenuItem tit.TitObserver.about [private] |
The 'About'-item.
JMenu tit.TitObserver.preferences [private] |
The 'Preferences'-menu.
JMenuItem tit.TitObserver.importobservation [private] |
The 'Import observation'-item.
JMenuItem tit.TitObserver.configure [private] |
The 'Configure'-item.