COSC-4P82-Final-Project/lib/lilgp/lilgpSetup1.0/javadocs/MainWindow.html

201 lines
6.9 KiB
HTML

<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
<a name="_top_"></a>
<title>
Class MainWindow
</title>
</head>
<body>
<h1>
Class MainWindow
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
|
+----<a href="java.awt.Component.html#_top_">java.awt.Component</a>
|
+----<a href="java.awt.Container.html#_top_">java.awt.Container</a>
|
+----<a href="java.awt.Window.html#_top_">java.awt.Window</a>
|
+----<a href="java.awt.Frame.html#_top_">java.awt.Frame</a>
|
+----MainWindow
</pre>
<hr>
<dl>
<dt> class <b>MainWindow</b>
<dt> extends <a href="java.awt.Frame.html#_top_">Frame</a>
</dl>
This class is responsible for creating all of the menus
and instantiating a <tt>ControlPanel</tt> and an <tt>IndexPanel</tt>.
<dl>
<dt> <b>See Also:</b>
<dd> <a href="ControlPanel.html#_top_">ControlPanel</a>, <a href="IndexPanel.html#_top_">IndexPanel</a>
</dl>
<hr>
<a name="index"></a>
<h2>
<img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#cp"><b>cp</b></a>
<dd>
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#ip"><b>ip</b></a>
<dd>
</dl>
<h2>
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#MainWindow()"><b>MainWindow</b></a>()
<dd> Constructs the menus and two sub-panels.
</dl>
<h2>
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#action(java.awt.Event, java.lang.Object)"><b>action</b></a>(Event, Object)
<dd> Trap menu events and call the appropriate method.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#handleEvent(java.awt.Event)"><b>handleEvent</b></a>(Event)
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#selectedAbout()"><b>selectedAbout</b></a>()
<dd> Show the user who wrote the software and who his advisor is
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#selectedExit()"><b>selectedExit</b></a>()
<dd> Open a dialog that asks the user if they really want to quit.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#selectedHelp()"><b>selectedHelp</b></a>()
<dd> Open the lilgpHelp subsystem.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#selectedOpen()"><b>selectedOpen</b></a>()
<dd> This method is called when the user selects <tt>File -> Open</tt>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#selectedSaveAs()"><b>selectedSaveAs</b></a>()
<dd> This method is called when the user selects <tt>File -> SaveAs</tt>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#show()"><b>show</b></a>()
<dd>
</dl>
<a name="variables"></a>
<h2>
<img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="cp"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>cp</b>
<pre>
public <a href="ControlPanel.html#_top_">ControlPanel</a> cp
</pre>
<a name="ip"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>ip</b>
<pre>
public <a href="IndexPanel.html#_top_">IndexPanel</a> ip
</pre>
<a name="constructors"></a>
<h2>
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="MainWindow"></a>
<a name="MainWindow()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>MainWindow</b>
<pre>
public MainWindow()
</pre>
<dl>
<dd> Constructs the menus and two sub-panels.
</dl>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="show()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="show"><b>show</b></a>
<pre>
public synchronized void show()
</pre>
<dl>
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Window.html#show()">show</a> in class <a href="java.awt.Window.html#_top_">Window</a>
</dl>
</dl>
<a name="handleEvent(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="handleEvent"><b>handleEvent</b></a>
<pre>
public boolean handleEvent(<a href="java.awt.Event.html#_top_">Event</a> event)
</pre>
<dl>
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Component.html#handleEvent(java.awt.Event)">handleEvent</a> in class <a href="java.awt.Component.html#_top_">Component</a>
</dl>
</dl>
<a name="action(java.awt.Event, java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="action"><b>action</b></a>
<pre>
public boolean action(<a href="java.awt.Event.html#_top_">Event</a> event,
<a href="java.lang.Object.html#_top_">Object</a> arg)
</pre>
<dl>
<dd> Trap menu events and call the appropriate method.
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Component.html#action(java.awt.Event, java.lang.Object)">action</a> in class <a href="java.awt.Component.html#_top_">Component</a>
<dt> <b>See Also:</b>
<dd> <a href="#selectedAbout">selectedAbout</a>, <a href="#selectedExit">selectedExit</a>, <a href="#selectedOpen">selectedOpen</a>, <a href="#selectedSaveAs">selectedSaveAs</a>
</dl>
</dl>
<a name="selectedOpen()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="selectedOpen"><b>selectedOpen</b></a>
<pre>
public void selectedOpen()
</pre>
<dl>
<dd> This method is called when the user selects <tt>File -> Open</tt>
</dl>
<a name="selectedSaveAs()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="selectedSaveAs"><b>selectedSaveAs</b></a>
<pre>
public void selectedSaveAs()
</pre>
<dl>
<dd> This method is called when the user selects <tt>File -> SaveAs</tt>
</dl>
<a name="selectedExit()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="selectedExit"><b>selectedExit</b></a>
<pre>
public void selectedExit()
</pre>
<dl>
<dd> Open a dialog that asks the user if they really want to quit.
</dl>
<a name="selectedAbout()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="selectedAbout"><b>selectedAbout</b></a>
<pre>
public void selectedAbout()
</pre>
<dl>
<dd> Show the user who wrote the software and who his advisor is
</dl>
<a name="selectedHelp()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="selectedHelp"><b>selectedHelp</b></a>
<pre>
public void selectedHelp()
</pre>
<dl>
<dd> Open the lilgpHelp subsystem.
</dl>
</body>
</html>