|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.WindowAdapter
com.ericsson.tic.vi.GUI
public class GUI
The top level object which defines the GUI.
| Field Summary | |
|---|---|
private JCheckBoxMenuItem |
cbMenuItem
Menu item. |
ConsolePanel |
console
A gui component representing the console. |
private JMenu |
fileMenu
Menu. |
JFrame |
frame
A JFrame which acts as the main window. |
private JMenu |
helpMenu
Menu. |
CardPanel |
list
A gui component representing the data list. |
private boolean |
mainWindow
If true, this one is the main Window which hosts the main console. |
private JMenuBar |
menuBar
Main Menu Bar. |
private JMenuItem |
menuItem
Menu Item. |
private Container |
pane
The content pane. |
GUI |
parent
The parent window of this window. |
private JMenu |
settingsMenu
Menu. |
private JSplitPane |
split1
Used for layout of the main window. |
private JSplitPane |
split2
Used for layout of the main window. |
private JSplitPane |
split3
Used for layout of the main window. |
private ToolbarPanel |
toolbar
A gui component representing the toolbar. |
private SplitViewPanel |
view
A gui component representing the main view. |
private int |
wid
A window ID. |
| Constructor Summary | |
|---|---|
GUI()
Creates the main GUI window. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Called when an ActionEvent is triggered. |
void |
windowClosing(WindowEvent e)
Called by the window closing event. |
void |
windowStateChanged(WindowEvent e)
Called by the window state changed event. |
| Methods inherited from class java.awt.event.WindowAdapter |
|---|
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public GUI parent
public JFrame frame
private Container pane
private JMenuBar menuBar
private JMenu fileMenu
private JMenu settingsMenu
private JMenu helpMenu
private JMenuItem menuItem
private JCheckBoxMenuItem cbMenuItem
private JSplitPane split1
private JSplitPane split2
private JSplitPane split3
public ConsolePanel console
private ToolbarPanel toolbar
public CardPanel list
private SplitViewPanel view
private int wid
private boolean mainWindow
| Constructor Detail |
|---|
public GUI()
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - The ActionEvent which triggered the event.public void windowStateChanged(WindowEvent e)
windowStateChanged in interface WindowStateListenerwindowStateChanged in class WindowAdaptere - the WindowEventpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerwindowClosing in class WindowAdaptere - the WindowEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||