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

118 lines
3.8 KiB
HTML
Raw Normal View History

2024-04-01 00:01:49 -04:00
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
<a name="_top_"></a>
<title>
Class PhasePanel
</title>
</head>
<body>
<h1>
Class PhasePanel
</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.Panel.html#_top_">java.awt.Panel</a>
|
+----PhasePanel
</pre>
<hr>
<dl>
<dt> class <b>PhasePanel</b>
<dt> extends <a href="java.awt.Panel.html#_top_">Panel</a>
</dl>
This actually contains all of the UI components that accept breeding
parameters. It currently accepts the following <i>lilgp</i> parameters:
<hr>
<a name="index"></a>
<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="#PhasePanel(int)"><b>PhasePanel</b></a>(int)
<dd> Add each of the UI components needed to accept input.
</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 input events and determine which set of UI components should be
visible based on the user's selections.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#flushParameters()"><b>flushParameters</b></a>()
<dd> Collect the contents of each UI component and store it in the
<tt>ParameterDB</tt>.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#loadParams()"><b>loadParams</b></a>()
<dd> This method is responsible for loading parameters on each of the phase panels
after the user opens a parameter file.
</dl>
<a name="constructors"></a>
<h2>
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="PhasePanel"></a>
<a name="PhasePanel(int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>PhasePanel</b>
<pre>
public PhasePanel(int num)
</pre>
<dl>
<dd> Add each of the UI components needed to accept input.
<dl>
<dt> <b>Parameters:</b>
<dd> num - the phase number
</dl>
</dl>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<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 input events and determine which set of UI components should be
visible based on the user's selections.
<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>
</dl>
</dl>
<a name="flushParameters()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="flushParameters"><b>flushParameters</b></a>
<pre>
public void flushParameters()
</pre>
<dl>
<dd> Collect the contents of each UI component and store it in the
<tt>ParameterDB</tt>.
<dl>
<dt> <b>See Also:</b>
<dd> <a href="ParameterDB.html#_top_">ParameterDB</a>
</dl>
</dl>
<a name="loadParams()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="loadParams"><b>loadParams</b></a>
<pre>
public void loadParams()
</pre>
<dl>
<dd> This method is responsible for loading parameters on each of the phase panels
after the user opens a parameter file.
</dl>
</body>
</html>