121 lines
4.3 KiB
HTML
121 lines
4.3 KiB
HTML
<!--NewPage-->
|
|
<html>
|
|
<head>
|
|
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
|
|
<a name="_top_"></a>
|
|
<title>
|
|
Class BreedFrame
|
|
</title>
|
|
</head>
|
|
<body>
|
|
<h1>
|
|
Class BreedFrame
|
|
</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>
|
|
|
|
|
+----BreedFrame
|
|
</pre>
|
|
<hr>
|
|
<dl>
|
|
<dt> class <b>BreedFrame</b>
|
|
<dt> extends <a href="java.awt.Frame.html#_top_">Frame</a>
|
|
</dl>
|
|
This frame contains a <tt>TitlePanel</tt> and a <tt>GridBagPanel</tt>.
|
|
The <tt>GridBagPanel</tt> contains an array of type <tt>PhasePanel</tt>
|
|
which actually house all of the UI components for breeding parameter
|
|
input.
|
|
<dl>
|
|
<dt> <b>See Also:</b>
|
|
<dd> <a href="TitlePanel.html#_top_">TitlePanel</a>, <a href="GridBagPanel.html#_top_">GridBagPanel</a>, <a href="PhasePanel.html#_top_">PhasePanel</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="#BreedFrame(int)"><b>BreedFrame</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 <tt>Button</tt> events.
|
|
<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 cycling through each of the phase panels
|
|
and invoking their <tt>loadParams()</tt> method.
|
|
</dl>
|
|
<a name="constructors"></a>
|
|
<h2>
|
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
|
</h2>
|
|
<a name="BreedFrame"></a>
|
|
<a name="BreedFrame(int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
|
<b>BreedFrame</b>
|
|
<pre>
|
|
public BreedFrame(int num)
|
|
</pre>
|
|
<dl>
|
|
<dd> Add each of the UI components needed to accept input.
|
|
<dl>
|
|
<dt> <b>Parameters:</b>
|
|
<dd> num - the number of breed phases entered by the user
|
|
<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="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>Button</tt> events. If the <tt>Accept</tt> button is pressed,
|
|
then <tt>hide()</tt> the <tt>BreedFrame</tt> and re-enable the <tt>Go</tt>
|
|
button on the <tt>BreedingPanel</tt>. If the <tt>Cancel</tt> button is
|
|
pressed, then <tt>dispose()</tt> the frame and re-enable the <tt>Go</tt>
|
|
button. The <tt>Go</tt> button is disabled to prevent the user from
|
|
clicking on it several times and therefore instantiating several
|
|
<tt>BreedFrames</tt>.
|
|
<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="BreedingPanel.html#_top_">BreedingPanel</a>, <a href="BreedingPanel.html#enableButtons">enableButtons</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 cycling through each of the phase panels
|
|
and invoking their <tt>loadParams()</tt> method.
|
|
<dl>
|
|
<dt> <b>See Also:</b>
|
|
<dd> <a href="PhasePanel.html#loadParams">loadParams</a>
|
|
</dl>
|
|
</dl>
|
|
</body>
|
|
</html>
|