|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.WindowAdapter
org.sump.analyzer.MainWindow
public final class MainWindow
Main frame and starter for Logic Analyzer Client.
This class only provides a simple end-user frontend and no functionality to be used by other code.
| Constructor Summary | |
|---|---|
MainWindow()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Handles all user interaction. |
(package private) void |
createGUI()
Creates the GUI. |
void |
exit()
Tells the main thread to exit. |
void |
loadData(java.io.File file)
Load the given file as data. |
void |
loadProject(java.io.File file)
Load the given file as project. |
void |
run()
Starts GUI creation and displays it. |
void |
statusChanged(java.lang.String s)
Handles status change requests. |
void |
windowClosing(java.awt.event.WindowEvent event)
Handles window close requests. |
| Methods inherited from class java.awt.event.WindowAdapter |
|---|
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.awt.event.WindowListener |
|---|
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Constructor Detail |
|---|
public MainWindow()
| Method Detail |
|---|
void createGUI()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerpublic void statusChanged(java.lang.String s)
statusChanged in interface StatusChangeListeners - new status bar textpublic void windowClosing(java.awt.event.WindowEvent event)
windowClosing in interface java.awt.event.WindowListenerwindowClosing in class java.awt.event.WindowAdapter
public void loadData(java.io.File file)
throws java.io.IOException
file - file to be loaded as data
java.io.IOException - when an IO error occurs
public void loadProject(java.io.File file)
throws java.io.IOException
file - file to be loaded as projects
java.io.IOException - when an IO error occurspublic void run()
run in interface java.lang.Runnablepublic void exit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||