106 lines
3.7 KiB
HTML
106 lines
3.7 KiB
HTML
<!--NewPage-->
|
|
<html>
|
|
<head>
|
|
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
|
|
<a name="_top_"></a>
|
|
<title>
|
|
Class ControlPanel
|
|
</title>
|
|
</head>
|
|
<body>
|
|
<h1>
|
|
Class ControlPanel
|
|
</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>
|
|
|
|
|
+----ControlPanel
|
|
</pre>
|
|
<hr>
|
|
<dl>
|
|
<dt> class <b>ControlPanel</b>
|
|
<dt> extends <a href="java.awt.Panel.html#_top_">Panel</a>
|
|
</dl>
|
|
Create a panel that contains a button for each of the parameter
|
|
panels. Clicking on the buttons will cause the <tt>CardLayout</tt> manager
|
|
in the <tt>IndexPanel</tt> to flip to the appropriate panel.
|
|
<dl>
|
|
<dt> <b>See Also:</b>
|
|
<dd> <a href="IndexPanel.html#_top_">IndexPanel</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="#ControlPanel()"><b>ControlPanel</b></a>()
|
|
<dd> Create a new <tt>GridLayout</tt> manager and add the buttons.
|
|
</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 button clicks in the <tt>ControlPanel</tt> and flip to the
|
|
appropriate card in the <tt>IndexPanel</tt>.
|
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
|
<a href="#flushAllPanels()"><b>flushAllPanels</b></a>()
|
|
<dd> Call the <tt>flushParameters()</tt> method in each of the
|
|
parameter classes.
|
|
</dl>
|
|
<a name="constructors"></a>
|
|
<h2>
|
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
|
</h2>
|
|
<a name="ControlPanel"></a>
|
|
<a name="ControlPanel()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
|
<b>ControlPanel</b>
|
|
<pre>
|
|
public ControlPanel()
|
|
</pre>
|
|
<dl>
|
|
<dd> Create a new <tt>GridLayout</tt> manager and add the buttons.
|
|
</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> evt,
|
|
<a href="java.lang.Object.html#_top_">Object</a> arg)
|
|
</pre>
|
|
<dl>
|
|
<dd> Trap button clicks in the <tt>ControlPanel</tt> and flip to the
|
|
appropriate card in the <tt>IndexPanel</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>
|
|
</dl>
|
|
</dl>
|
|
<a name="flushAllPanels()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
|
<a name="flushAllPanels"><b>flushAllPanels</b></a>
|
|
<pre>
|
|
public void flushAllPanels()
|
|
</pre>
|
|
<dl>
|
|
<dd> Call the <tt>flushParameters()</tt> method in each of the
|
|
parameter classes.
|
|
<dl>
|
|
<dt> <b>See Also:</b>
|
|
<dd> <a href="GeneralPanel.html#flushParameters">flushParameters</a>, <a href="OutputPanel.html#flushParameters">flushParameters</a>, <a href="SizeLimitsPanel.html#flushParameters">flushParameters</a>, <a href="InitializationPanel.html#flushParameters">flushParameters</a>, <a href="BreedingPanel.html#flushParameters">flushParameters</a>, <a href="SubPopsPanel.html#flushParameters">flushParameters</a>
|
|
</dl>
|
|
</dl>
|
|
</body>
|
|
</html>
|