diff options
Diffstat (limited to 'doc/jcgp/gui/GUI.html')
-rw-r--r-- | doc/jcgp/gui/GUI.html | 860 |
1 files changed, 0 insertions, 860 deletions
diff --git a/doc/jcgp/gui/GUI.html b/doc/jcgp/gui/GUI.html deleted file mode 100644 index c8274c9..0000000 --- a/doc/jcgp/gui/GUI.html +++ /dev/null @@ -1,860 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!-- NewPage --> -<html lang="en"> -<head> -<!-- Generated by javadoc (1.8.0_05) on Thu May 22 06:02:32 BST 2014 --> -<title>GUI</title> -<meta name="date" content="2014-05-22"> -<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> -<script type="text/javascript" src="../../script.js"></script> -</head> -<body> -<script type="text/javascript"><!-- - try { - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="GUI"; - } - } - catch(err) { - } -//--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; -</script> -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar.top"> -<!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.top.firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../overview-summary.html">Overview</a></li> -<li><a href="package-summary.html">Package</a></li> -<li class="navBarCell1Rev">Class</li> -<li><a href="class-use/GUI.html">Use</a></li> -<li><a href="package-tree.html">Tree</a></li> -<li><a href="../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../index-files/index-1.html">Index</a></li> -<li><a href="../../help-doc.html">Help</a></li> -</ul> -</div> -<div class="subNav"> -<ul class="navList"> -<li>Prev Class</li> -<li>Next Class</li> -</ul> -<ul class="navList"> -<li><a href="../../index.html?jcgp/gui/GUI.html" target="_top">Frames</a></li> -<li><a href="GUI.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_top"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<div> -<ul class="subNavList"> -<li>Summary: </li> -<li><a href="#nested.classes.inherited.from.class.javafx.application.Application">Nested</a> | </li> -<li><a href="#field.summary">Field</a> | </li> -<li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#method.summary">Method</a></li> -</ul> -<ul class="subNavList"> -<li>Detail: </li> -<li><a href="#field.detail">Field</a> | </li> -<li><a href="#constructor.detail">Constr</a> | </li> -<li><a href="#method.detail">Method</a></li> -</ul> -</div> -<a name="skip.navbar.top"> -<!-- --> -</a></div> -<!-- ========= END OF TOP NAVBAR ========= --> -<!-- ======== START OF CLASS DATA ======== --> -<div class="header"> -<div class="subTitle">jcgp.gui</div> -<h2 title="Class GUI" class="title">Class GUI</h2> -</div> -<div class="contentContainer"> -<ul class="inheritance"> -<li>java.lang.Object</li> -<li> -<ul class="inheritance"> -<li>javafx.application.Application</li> -<li> -<ul class="inheritance"> -<li>jcgp.gui.GUI</li> -</ul> -</li> -</ul> -</li> -</ul> -<div class="description"> -<ul class="blockList"> -<li class="blockList"> -<hr> -<br> -<pre>public class <span class="typeNameLabel">GUI</span> -extends javafx.application.Application</pre> -<div class="block">Main class for the graphical user interface (GUI). - <br><br> - This class declares the main method used when running the GUI. - In addition, all main GUI panes are declared and instantiated here. - <br><br> - The user interface is divided into 3 main components: the node grid - (<a href="../../jcgp/gui/population/PopulationPane.html" title="class in jcgp.gui.population"><code>PopulationPane</code></a>), the control pane (<a href="../../jcgp/gui/settings/SettingsPane.html" title="class in jcgp.gui.settings"><code>SettingsPane</code></a>) and - the console (<a href="../../jcgp/gui/console/ConsolePane.html" title="class in jcgp.gui.console"><code>ConsolePane</code></a>). Click on any of the links in - brackets to see more information about each interface component. - <br><br> - This class also contains the instance of JCGP responsible for - running the experiments in GUI mode. JCGP's execution must be delegated - to a separate thread so that the GUI remains unblocked. This is done using - a JavaFX <code>Service</code> which calls <code>nextGeneration()</code> in a loop - until it is interrupted by the main JavaFX thread. - <br> - This service also handles flushing the console in a thread safe way. This - is done by synchronizing the <code>nextGeneration()</code> and <code>flush()</code> - method calls on a lock object.</div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>Eduardo Pedroni</dd> -</dl> -</li> -</ul> -</div> -<div class="summary"> -<ul class="blockList"> -<li class="blockList"> -<!-- ======== NESTED CLASS SUMMARY ======== --> -<ul class="blockList"> -<li class="blockList"><a name="nested.class.summary"> -<!-- --> -</a> -<h3>Nested Class Summary</h3> -<ul class="blockList"> -<li class="blockList"><a name="nested.classes.inherited.from.class.javafx.application.Application"> -<!-- --> -</a> -<h3>Nested classes/interfaces inherited from class javafx.application.Application</h3> -<code>javafx.application.Application.Parameters</code></li> -</ul> -</li> -</ul> -<!-- =========== FIELD SUMMARY =========== --> -<ul class="blockList"> -<li class="blockList"><a name="field.summary"> -<!-- --> -</a> -<h3>Field Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> -<caption><span>Fields</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Field and Description</th> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static java.lang.String</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#BAD_SELECTION_COLOUR">BAD_SELECTION_COLOUR</a></span></code> -<div class="block">A string containing the hexadecimal colour used for representing a bad selection.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static double</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#CONSOLE_MIN_HEIGHT">CONSOLE_MIN_HEIGHT</a></span></code> -<div class="block">The minimum width of the console pane, to prevent it - from being resized beyond visibility.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static java.lang.String</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#GOOD_SELECTION_COLOUR">GOOD_SELECTION_COLOUR</a></span></code> -<div class="block">A string containing the hexadecimal colour used for representing a good selection.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static java.lang.String</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#HARD_HIGHLIGHT_COLOUR">HARD_HIGHLIGHT_COLOUR</a></span></code> -<div class="block">A string containing the hexadecimal colour used for representing a hard highlight.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static java.lang.String</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#MEDIUM_HIGHLIGHT_COLOUR">MEDIUM_HIGHLIGHT_COLOUR</a></span></code> -<div class="block">A string containing the hexadecimal colour used for a medium highlight.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static java.lang.String</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#NEUTRAL_COLOUR">NEUTRAL_COLOUR</a></span></code> -<div class="block">A string containing the hexadecimal colour used for representing neutrality.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static java.lang.String</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#NEUTRAL_SELECTION_COLOUR">NEUTRAL_SELECTION_COLOUR</a></span></code> -<div class="block">A string containing the hexadecimal colour used for representing a neutral selection.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static double</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#RESIZE_MARGIN">RESIZE_MARGIN</a></span></code> -<div class="block">The width or height of the area that can be clicked on - to drag-resize a pane.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static double</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#SETTINGS_MIN_WIDTH">SETTINGS_MIN_WIDTH</a></span></code> -<div class="block">The minimum width of the settings pane, to prevent it - from being resized beyond visibility.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static java.lang.String</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#SOFT_HIGHLIGHT_COLOUR">SOFT_HIGHLIGHT_COLOUR</a></span></code> -<div class="block">A string containing the hexadecimal colour used for a soft highlight.</div> -</td> -</tr> -</table> -<ul class="blockList"> -<li class="blockList"><a name="fields.inherited.from.class.javafx.application.Application"> -<!-- --> -</a> -<h3>Fields inherited from class javafx.application.Application</h3> -<code>STYLESHEET_CASPIAN, STYLESHEET_MODENA</code></li> -</ul> -</li> -</ul> -<!-- ======== CONSTRUCTOR SUMMARY ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor.summary"> -<!-- --> -</a> -<h3>Constructor Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> -<caption><span>Constructors</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colOne" scope="col">Constructor and Description</th> -</tr> -<tr class="altColor"> -<td class="colOne"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#GUI--">GUI</a></span>()</code> -<div class="block">Makes a new instance of GUI.</div> -</td> -</tr> -</table> -</li> -</ul> -<!-- ========== METHOD SUMMARY =========== --> -<ul class="blockList"> -<li class="blockList"><a name="method.summary"> -<!-- --> -</a> -<h3>Method Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Method and Description</th> -</tr> -<tr id="i0" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#bringFunctionSelector-javafx.scene.input.MouseEvent-jcgp.gui.population.GUINode-">bringFunctionSelector</a></span>(javafx.scene.input.MouseEvent event, - <a href="../../jcgp/gui/population/GUINode.html" title="class in jcgp.gui.population">GUINode</a> node)</code> -<div class="block">Relocate the function selector to the right position - relative to the specified node and set it visible.</div> -</td> -</tr> -<tr id="i1" class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#evaluateTestCase-jcgp.backend.modules.problem.TestCaseProblem.TestCase-">evaluateTestCase</a></span>(<a href="../../jcgp/backend/modules/problem/TestCaseProblem.TestCase.html" title="class in jcgp.backend.modules.problem">TestCaseProblem.TestCase</a><java.lang.Object> testCase)</code> -<div class="block">Starts the evaluation process with the given test case.</div> -</td> -</tr> -<tr id="i2" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#flushConsole--">flushConsole</a></span>()</code> -<div class="block">Writes all buffered content out to the GUI console.</div> -</td> -</tr> -<tr id="i3" class="rowColor"> -<td class="colFirst"><code>int</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#getChromosomeIndex--">getChromosomeIndex</a></span>()</code> </td> -</tr> -<tr id="i4" class="altColor"> -<td class="colFirst"><code><a href="../../jcgp/JCGP.html" title="class in jcgp">JCGP</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#getExperiment--">getExperiment</a></span>()</code> </td> -</tr> -<tr id="i5" class="rowColor"> -<td class="colFirst"><code>javafx.stage.Stage</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#getStage--">getStage</a></span>()</code> </td> -</tr> -<tr id="i6" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#hideGeneValues--">hideGeneValues</a></span>()</code> -<div class="block">Hide all evaluated values.</div> -</td> -</tr> -<tr id="i7" class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#isWorking--">isWorking</a></span>()</code> </td> -</tr> -<tr id="i8" class="altColor"> -<td class="colFirst"><code>static void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#main-java.lang.String:A-">main</a></span>(java.lang.String[] args)</code> -<div class="block">Start JCGP with the user interface.</div> -</td> -</tr> -<tr id="i9" class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#reDraw--">reDraw</a></span>()</code> -<div class="block">Does a complete GUI refresh.</div> -</td> -</tr> -<tr id="i10" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#reset--">reset</a></span>()</code> -<div class="block">Reset button callback.</div> -</td> -</tr> -<tr id="i11" class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#runPause--">runPause</a></span>()</code> -<div class="block">Run/pause method.</div> -</td> -</tr> -<tr id="i12" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#setEvaluating-boolean-">setEvaluating</a></span>(boolean value)</code> -<div class="block">Set the system into evaluation mode.</div> -</td> -</tr> -<tr id="i13" class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#start-javafx.stage.Stage-">start</a></span>(javafx.stage.Stage primaryStage)</code> </td> -</tr> -<tr id="i14" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#step--">step</a></span>()</code> -<div class="block">Perform a single generation using <code>nextGeneration()</code>.</div> -</td> -</tr> -<tr id="i15" class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../jcgp/gui/GUI.html#updateFunctionSelector--">updateFunctionSelector</a></span>()</code> -<div class="block">Refresh the function selector, used when functions are enabled or disabled.</div> -</td> -</tr> -</table> -<ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.javafx.application.Application"> -<!-- --> -</a> -<h3>Methods inherited from class javafx.application.Application</h3> -<code>getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop</code></li> -</ul> -<ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> -<!-- --> -</a> -<h3>Methods inherited from class java.lang.Object</h3> -<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -<div class="details"> -<ul class="blockList"> -<li class="blockList"> -<!-- ============ FIELD DETAIL =========== --> -<ul class="blockList"> -<li class="blockList"><a name="field.detail"> -<!-- --> -</a> -<h3>Field Detail</h3> -<a name="NEUTRAL_COLOUR"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>NEUTRAL_COLOUR</h4> -<pre>public static final java.lang.String NEUTRAL_COLOUR</pre> -<div class="block">A string containing the hexadecimal colour used for representing neutrality.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.NEUTRAL_COLOUR">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="HARD_HIGHLIGHT_COLOUR"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>HARD_HIGHLIGHT_COLOUR</h4> -<pre>public static final java.lang.String HARD_HIGHLIGHT_COLOUR</pre> -<div class="block">A string containing the hexadecimal colour used for representing a hard highlight. - A "hard" select, for instance, happens when an output path is locked on the chromosome - pane.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.HARD_HIGHLIGHT_COLOUR">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="MEDIUM_HIGHLIGHT_COLOUR"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>MEDIUM_HIGHLIGHT_COLOUR</h4> -<pre>public static final java.lang.String MEDIUM_HIGHLIGHT_COLOUR</pre> -<div class="block">A string containing the hexadecimal colour used for a medium highlight. - One example of such a selection is the colour applied to a node - when it is hovered over.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.MEDIUM_HIGHLIGHT_COLOUR">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="SOFT_HIGHLIGHT_COLOUR"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>SOFT_HIGHLIGHT_COLOUR</h4> -<pre>public static final java.lang.String SOFT_HIGHLIGHT_COLOUR</pre> -<div class="block">A string containing the hexadecimal colour used for a soft highlight. - When hovering over a node, its connections are soft-selected.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.SOFT_HIGHLIGHT_COLOUR">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="GOOD_SELECTION_COLOUR"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>GOOD_SELECTION_COLOUR</h4> -<pre>public static final java.lang.String GOOD_SELECTION_COLOUR</pre> -<div class="block">A string containing the hexadecimal colour used for representing a good selection. - Ideally a shade of green, used for instance when a manual connection is valid.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.GOOD_SELECTION_COLOUR">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="NEUTRAL_SELECTION_COLOUR"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>NEUTRAL_SELECTION_COLOUR</h4> -<pre>public static final java.lang.String NEUTRAL_SELECTION_COLOUR</pre> -<div class="block">A string containing the hexadecimal colour used for representing a neutral selection. - Ideally a shade of yellow, used for instance when a manual connection is already the - current connection.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.NEUTRAL_SELECTION_COLOUR">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="BAD_SELECTION_COLOUR"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>BAD_SELECTION_COLOUR</h4> -<pre>public static final java.lang.String BAD_SELECTION_COLOUR</pre> -<div class="block">A string containing the hexadecimal colour used for representing a bad selection. - Ideally a shade of red, use for instance when a manual connection is not valid.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.BAD_SELECTION_COLOUR">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="RESIZE_MARGIN"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>RESIZE_MARGIN</h4> -<pre>public static final double RESIZE_MARGIN</pre> -<div class="block">The width or height of the area that can be clicked on - to drag-resize a pane.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.RESIZE_MARGIN">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="SETTINGS_MIN_WIDTH"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>SETTINGS_MIN_WIDTH</h4> -<pre>public static final double SETTINGS_MIN_WIDTH</pre> -<div class="block">The minimum width of the settings pane, to prevent it - from being resized beyond visibility.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.SETTINGS_MIN_WIDTH">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="CONSOLE_MIN_HEIGHT"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>CONSOLE_MIN_HEIGHT</h4> -<pre>public static final double CONSOLE_MIN_HEIGHT</pre> -<div class="block">The minimum width of the console pane, to prevent it - from being resized beyond visibility.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../constant-values.html#jcgp.gui.GUI.CONSOLE_MIN_HEIGHT">Constant Field Values</a></dd> -</dl> -</li> -</ul> -</li> -</ul> -<!-- ========= CONSTRUCTOR DETAIL ======== --> -<ul class="blockList"> -<li class="blockList"><a name="constructor.detail"> -<!-- --> -</a> -<h3>Constructor Detail</h3> -<a name="GUI--"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>GUI</h4> -<pre>public GUI()</pre> -<div class="block">Makes a new instance of GUI. This initialises the JCGP experiment and - instantiates the function selector. It also creates the console flush task - and the service responsible for running the JCGP experiment.</div> -</li> -</ul> -</li> -</ul> -<!-- ============ METHOD DETAIL ========== --> -<ul class="blockList"> -<li class="blockList"><a name="method.detail"> -<!-- --> -</a> -<h3>Method Detail</h3> -<a name="main-java.lang.String:A-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>main</h4> -<pre>public static void main(java.lang.String[] args)</pre> -<div class="block">Start JCGP with the user interface.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>args</code> - no arguments are used.</dd> -</dl> -</li> -</ul> -<a name="start-javafx.stage.Stage-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>start</h4> -<pre>public void start(javafx.stage.Stage primaryStage) - throws java.lang.Exception</pre> -<dl> -<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> -<dd><code>start</code> in class <code>javafx.application.Application</code></dd> -<dt><span class="throwsLabel">Throws:</span></dt> -<dd><code>java.lang.Exception</code></dd> -</dl> -</li> -</ul> -<a name="runPause--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>runPause</h4> -<pre>public void runPause()</pre> -<div class="block">Run/pause method. - Run the experiment if it is paused, or pause it if it is running. - <br> - This method is the callback used by the run/pause button. It - controls the jcgp service.</div> -</li> -</ul> -<a name="step--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>step</h4> -<pre>public void step()</pre> -<div class="block">Perform a single generation using <code>nextGeneration()</code>. - <br> - On top of that, this method performs all of the housekeeping - that is normally done before and after running, such as - refreshing the chromosome panes.</div> -</li> -</ul> -<a name="reset--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>reset</h4> -<pre>public void reset()</pre> -<div class="block">Reset button callback. If the parameters are valid, - this resets the entire experiment by calling <code>reset()</code> - on jcgp.</div> -</li> -</ul> -<a name="reDraw--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>reDraw</h4> -<pre>public void reDraw()</pre> -<div class="block">Does a complete GUI refresh. - This is potentially lengthy, so use with care.</div> -</li> -</ul> -<a name="updateFunctionSelector--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>updateFunctionSelector</h4> -<pre>public void updateFunctionSelector()</pre> -<div class="block">Refresh the function selector, used when functions are enabled or disabled.</div> -</li> -</ul> -<a name="isWorking--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isWorking</h4> -<pre>public boolean isWorking()</pre> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>true if jcgp is evolving.</dd> -</dl> -</li> -</ul> -<a name="bringFunctionSelector-javafx.scene.input.MouseEvent-jcgp.gui.population.GUINode-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>bringFunctionSelector</h4> -<pre>public void bringFunctionSelector(javafx.scene.input.MouseEvent event, - <a href="../../jcgp/gui/population/GUINode.html" title="class in jcgp.gui.population">GUINode</a> node)</pre> -<div class="block">Relocate the function selector to the right position - relative to the specified node and set it visible.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>event</code> - the mouse event containing cursor coordinates.</dd> -<dd><code>node</code> - the node whose function should be changed.</dd> -</dl> -</li> -</ul> -<a name="getExperiment--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getExperiment</h4> -<pre>public <a href="../../jcgp/JCGP.html" title="class in jcgp">JCGP</a> getExperiment()</pre> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>a reference to the <code>JCGP</code> experiment.</dd> -</dl> -</li> -</ul> -<a name="evaluateTestCase-jcgp.backend.modules.problem.TestCaseProblem.TestCase-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>evaluateTestCase</h4> -<pre>public void evaluateTestCase(<a href="../../jcgp/backend/modules/problem/TestCaseProblem.TestCase.html" title="class in jcgp.backend.modules.problem">TestCaseProblem.TestCase</a><java.lang.Object> testCase)</pre> -<div class="block">Starts the evaluation process with the given test case. - It does so by calling <code>evaluateTestCase()</code> on - the population pane.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>testCase</code> - the test case to evaluate.</dd> -</dl> -</li> -</ul> -<a name="hideGeneValues--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>hideGeneValues</h4> -<pre>public void hideGeneValues()</pre> -<div class="block">Hide all evaluated values. This should be called when - evaluations are no longer being performed.</div> -</li> -</ul> -<a name="setEvaluating-boolean-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setEvaluating</h4> -<pre>public void setEvaluating(boolean value)</pre> -<div class="block">Set the system into evaluation mode. - When in evaluation mode, the population pane - refreshes the node values whenever connection - changes happen.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>value</code> - true if evaluations are happening, false otherwise.</dd> -</dl> -</li> -</ul> -<a name="getStage--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getStage</h4> -<pre>public javafx.stage.Stage getStage()</pre> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>a reference to the GUI stage.</dd> -</dl> -</li> -</ul> -<a name="flushConsole--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>flushConsole</h4> -<pre>public void flushConsole()</pre> -<div class="block">Writes all buffered content out to the GUI console.</div> -</li> -</ul> -<a name="getChromosomeIndex--"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>getChromosomeIndex</h4> -<pre>public int getChromosomeIndex()</pre> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>the index of the chromosome currently being looked at.</dd> -</dl> -</li> -</ul> -</li> -</ul> -</li> -</ul> -</div> -</div> -<!-- ========= END OF CLASS DATA ========= --> -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar.bottom"> -<!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.bottom.firstrow"> -<!-- --> -</a> -<ul class="navList" title="Navigation"> -<li><a href="../../overview-summary.html">Overview</a></li> -<li><a href="package-summary.html">Package</a></li> -<li class="navBarCell1Rev">Class</li> -<li><a href="class-use/GUI.html">Use</a></li> -<li><a href="package-tree.html">Tree</a></li> -<li><a href="../../deprecated-list.html">Deprecated</a></li> -<li><a href="../../index-files/index-1.html">Index</a></li> -<li><a href="../../help-doc.html">Help</a></li> -</ul> -</div> -<div class="subNav"> -<ul class="navList"> -<li>Prev Class</li> -<li>Next Class</li> -</ul> -<ul class="navList"> -<li><a href="../../index.html?jcgp/gui/GUI.html" target="_top">Frames</a></li> -<li><a href="GUI.html" target="_top">No Frames</a></li> -</ul> -<ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../allclasses-noframe.html">All Classes</a></li> -</ul> -<div> -<script type="text/javascript"><!-- - allClassesLink = document.getElementById("allclasses_navbar_bottom"); - if(window==top) { - allClassesLink.style.display = "block"; - } - else { - allClassesLink.style.display = "none"; - } - //--> -</script> -</div> -<div> -<ul class="subNavList"> -<li>Summary: </li> -<li><a href="#nested.classes.inherited.from.class.javafx.application.Application">Nested</a> | </li> -<li><a href="#field.summary">Field</a> | </li> -<li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#method.summary">Method</a></li> -</ul> -<ul class="subNavList"> -<li>Detail: </li> -<li><a href="#field.detail">Field</a> | </li> -<li><a href="#constructor.detail">Constr</a> | </li> -<li><a href="#method.detail">Method</a></li> -</ul> -</div> -<a name="skip.navbar.bottom"> -<!-- --> -</a></div> -<!-- ======== END OF BOTTOM NAVBAR ======= --> -</body> -</html> |