COSC_4P82_Assignment_1/lib/lilgp/lilgpSetup1.0/javadocs/InitializationPanel.html

128 lines
4.3 KiB
HTML
Raw Permalink Normal View History

2024-02-13 21:21:51 -05:00
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
<a name="_top_"></a>
<title>
Class InitializationPanel
</title>
</head>
<body>
<h1>
Class InitializationPanel
</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>
|
+----InitializationPanel
</pre>
<hr>
<dl>
<dt> class <b>InitializationPanel</b>
<dt> extends <a href="java.awt.Panel.html#_top_">Panel</a>
</dl>
This panel contains a <tt>TitlePanel</tt> and a <tt>GridBagPanel</tt>
that accepts input for the following <i>lilgp</i> parameters:
<br><tt>
<ul> <li>init.method <li>init.depth <li>init.random_attempts </ul></tt>
<p>
It does <b>not</b> currently support the input of:
<br><tt>
<ul><li>init.tree[#].method <li>init.tree[#].depth</ul></tt>
<dl>
<dt> <b>See Also:</b>
<dd> <a href="TitlePanel.html#_top_">TitlePanel</a>, <a href="GridBagPanel.html#_top_">GridBagPanel</a>
</dl>
<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="#InitializationPanel()"><b>InitializationPanel</b></a>()
<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 <tt>TextField</tt> events and send the focus to the
next field on the panel.
<dt> <img src="images/green-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/green-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#loadParams()"><b>loadParams</b></a>()
<dd> This method is responsible for loading parameters onto the <tt>InitializationPanel</tt>
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="InitializationPanel"></a>
<a name="InitializationPanel()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>InitializationPanel</b>
<pre>
public InitializationPanel()
</pre>
<dl>
<dd> Add each of the UI components needed to accept input.
<dl>
<dt> <b>See Also:</b>
<dd> <a href="GridBagPanel.html#addComponent">addComponent</a>
</dl>
</dl>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="flushParameters()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="flushParameters"><b>flushParameters</b></a>
<pre>
public static 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="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 <tt>TextField</tt> events and send the focus to the
next field on the panel.
<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="loadParams()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="loadParams"><b>loadParams</b></a>
<pre>
public static void loadParams()
</pre>
<dl>
<dd> This method is responsible for loading parameters onto the <tt>InitializationPanel</tt>
after the user opens a parameter file.
</dl>
</body>
</html>