diff options
Diffstat (limited to 'doc/org/unitConverter/converterGUI/UnitConverterGUI.Presenter.html')
-rw-r--r-- | doc/org/unitConverter/converterGUI/UnitConverterGUI.Presenter.html | 717 |
1 files changed, 717 insertions, 0 deletions
diff --git a/doc/org/unitConverter/converterGUI/UnitConverterGUI.Presenter.html b/doc/org/unitConverter/converterGUI/UnitConverterGUI.Presenter.html new file mode 100644 index 0000000..a33e4d8 --- /dev/null +++ b/doc/org/unitConverter/converterGUI/UnitConverterGUI.Presenter.html @@ -0,0 +1,717 @@ +<!DOCTYPE HTML> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (11.0.4) on Thu Oct 24 10:48:04 EDT 2019 --> +<title>UnitConverterGUI.Presenter</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<meta name="dc.created" content="2019-10-24"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script> +<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> +<!--[if IE]> +<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> +<![endif]--> +<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script> +<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script> +<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="UnitConverterGUI.Presenter"; + } + } + catch(err) { + } +//--> +var data = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":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"; +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script');</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<header role="banner"> +<nav role="navigation"> +<div class="fixedNav"> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a id="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a id="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../index.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/UnitConverterGUI.Presenter.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" id="allclasses_navbar_top"> +<li><a href="../../../allclasses.html">All Classes</a></li> +</ul> +<ul class="navListSearch"> +<li><label for="search">SEARCH:</label> +<input type="text" id="search" value="search" disabled="disabled"> +<input type="reset" id="reset" value="reset" disabled="disabled"> +</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> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </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 id="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +</div> +<div class="navPadding"> </div> +<script type="text/javascript"><!-- +$('.navPadding').css('padding-top', $('.fixedNav').css("height")); +//--> +</script> +</nav> +</header> +<!-- ======== START OF CLASS DATA ======== --> +<main role="main"> +<div class="header"> +<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.unitConverter.converterGUI</a></div> +<h2 title="Class UnitConverterGUI.Presenter" class="title">Class UnitConverterGUI.Presenter</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>org.unitConverter.converterGUI.UnitConverterGUI.Presenter</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="UnitConverterGUI.html" title="class in org.unitConverter.converterGUI">UnitConverterGUI</a></dd> +</dl> +<hr> +<pre>private static class <span class="typeNameLabel">UnitConverterGUI.Presenter</span> +extends java.lang.Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<section role="region"> +<ul class="blockList"> +<li class="blockList"><a id="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colSecond" scope="col">Field</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private <a href="../unit/UnitDatabase.html" title="class in org.unitConverter.unit">UnitDatabase</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#database">database</a></span></code></th> +<td class="colLast"> +<div class="block">The units known by the program.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private java.util.List<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dimensionNames">dimensionNames</a></span></code></th> +<td class="colLast"> +<div class="block">The names of all of the dimensions</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.util.Comparator<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prefixNameComparator">prefixNameComparator</a></span></code></th> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private java.util.List<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prefixNames">prefixNames</a></span></code></th> +<td class="colLast"> +<div class="block">The names of all of the prefixes</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#significantFigures">significantFigures</a></span></code></th> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private java.util.List<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unitNames">unitNames</a></span></code></th> +<td class="colLast"> +<div class="block">The names of all of the units</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private <a href="UnitConverterGUI.View.html" title="class in org.unitConverter.converterGUI">UnitConverterGUI.View</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#view">view</a></span></code></th> +<td class="colLast"> +<div class="block">The presenter's associated view.</div> +</td> +</tr> +</table> +</li> +</ul> +</section> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<section role="region"> +<ul class="blockList"> +<li class="blockList"><a id="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Constructor</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tr class="altColor"> +<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.unitConverter.converterGUI.UnitConverterGUI.View)">Presenter</a></span>​(<a href="UnitConverterGUI.View.html" title="class in org.unitConverter.converterGUI">UnitConverterGUI.View</a> view)</code></th> +<td class="colLast"> +<div class="block">Creates the presenter.</div> +</td> +</tr> +</table> +</li> +</ul> +</section> +<!-- ========== METHOD SUMMARY =========== --> +<section role="region"> +<ul class="blockList"> +<li class="blockList"><a id="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary"> +<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="colSecond" scope="col">Method</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>private static void</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addDefaults(org.unitConverter.unit.UnitDatabase)">addDefaults</a></span>​(<a href="../unit/UnitDatabase.html" title="class in org.unitConverter.unit">UnitDatabase</a> database)</code></th> +<td class="colLast"> +<div class="block">Adds default units and dimensions to a database.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertDimensionBased()">convertDimensionBased</a></span>()</code></th> +<td class="colLast"> +<div class="block">Converts in the dimension-based converter</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>void</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertExpressions()">convertExpressions</a></span>()</code></th> +<td class="colLast"> +<div class="block">Runs whenever the convert button is pressed.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>java.util.List<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dimensionNameList()">dimensionNameList</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>java.util.Comparator<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPrefixNameComparator()">getPrefixNameComparator</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>private java.lang.String</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRoundedString(double)">getRoundedString</a></span>​(double value)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>java.util.Set<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prefixNameSet()">prefixNameSet</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prefixSelected()">prefixSelected</a></span>()</code></th> +<td class="colLast"> +<div class="block">Runs whenever a prefix is selected in the viewer.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>void</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSignificantFigures(int)">setSignificantFigures</a></span>​(int significantFigures)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unitMatchesDimension(java.lang.String,java.lang.String)">unitMatchesDimension</a></span>​(java.lang.String unitName, + java.lang.String dimensionName)</code></th> +<td class="colLast"> +<div class="block">Returns true if and only if the unit represented by <code>unitName</code> has the dimension represented by + <code>dimensionName</code>.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>void</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unitNameSelected()">unitNameSelected</a></span>()</code></th> +<td class="colLast"> +<div class="block">Runs whenever a unit is selected in the viewer.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>java.util.Set<java.lang.String></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unitNameSet()">unitNameSet</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</section> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<section role="region"> +<ul class="blockList"> +<li class="blockList"><a id="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a id="view"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>view</h4> +<pre>private final <a href="UnitConverterGUI.View.html" title="class in org.unitConverter.converterGUI">UnitConverterGUI.View</a> view</pre> +<div class="block">The presenter's associated view.</div> +</li> +</ul> +<a id="database"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>database</h4> +<pre>private final <a href="../unit/UnitDatabase.html" title="class in org.unitConverter.unit">UnitDatabase</a> database</pre> +<div class="block">The units known by the program.</div> +</li> +</ul> +<a id="unitNames"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>unitNames</h4> +<pre>private final java.util.List<java.lang.String> unitNames</pre> +<div class="block">The names of all of the units</div> +</li> +</ul> +<a id="prefixNames"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>prefixNames</h4> +<pre>private final java.util.List<java.lang.String> prefixNames</pre> +<div class="block">The names of all of the prefixes</div> +</li> +</ul> +<a id="dimensionNames"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>dimensionNames</h4> +<pre>private final java.util.List<java.lang.String> dimensionNames</pre> +<div class="block">The names of all of the dimensions</div> +</li> +</ul> +<a id="prefixNameComparator"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>prefixNameComparator</h4> +<pre>private final java.util.Comparator<java.lang.String> prefixNameComparator</pre> +</li> +</ul> +<a id="significantFigures"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>significantFigures</h4> +<pre>private int significantFigures</pre> +</li> +</ul> +</li> +</ul> +</section> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<section role="region"> +<ul class="blockList"> +<li class="blockList"><a id="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a id="<init>(org.unitConverter.converterGUI.UnitConverterGUI.View)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Presenter</h4> +<pre>Presenter​(<a href="UnitConverterGUI.View.html" title="class in org.unitConverter.converterGUI">UnitConverterGUI.View</a> view)</pre> +<div class="block">Creates the presenter.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>view</code> - presenter's associated view</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-12-27, v0.1.0</dd> +</dl> +</li> +</ul> +</li> +</ul> +</section> +<!-- ============ METHOD DETAIL ========== --> +<section role="region"> +<ul class="blockList"> +<li class="blockList"><a id="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a id="addDefaults(org.unitConverter.unit.UnitDatabase)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addDefaults</h4> +<pre class="methodSignature">private static void addDefaults​(<a href="../unit/UnitDatabase.html" title="class in org.unitConverter.unit">UnitDatabase</a> database)</pre> +<div class="block">Adds default units and dimensions to a database.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>database</code> - database to add to</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-14, v0.2.0</dd> +</dl> +</li> +</ul> +<a id="convertDimensionBased()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>convertDimensionBased</h4> +<pre class="methodSignature">public final void convertDimensionBased()</pre> +<div class="block">Converts in the dimension-based converter</div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-13, v0.2.0</dd> +</dl> +</li> +</ul> +<a id="convertExpressions()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>convertExpressions</h4> +<pre class="methodSignature">public final void convertExpressions()</pre> +<div class="block">Runs whenever the convert button is pressed. + + <p> + Reads and parses a unit expression from the from and to boxes, then converts <code>from</code> to <code>to</code>. Any + errors are shown in JOptionPanes. + </p></div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-01-26, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="dimensionNameList()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>dimensionNameList</h4> +<pre class="methodSignature">public final java.util.List<java.lang.String> dimensionNameList()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a list of all of the unit dimensions</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-13, v0.2.0</dd> +</dl> +</li> +</ul> +<a id="getPrefixNameComparator()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPrefixNameComparator</h4> +<pre class="methodSignature">public final java.util.Comparator<java.lang.String> getPrefixNameComparator()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a comparator to compare prefix names</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-14, v0.2.0</dd> +</dl> +</li> +</ul> +<a id="getRoundedString(double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRoundedString</h4> +<pre class="methodSignature">private final java.lang.String getRoundedString​(double value)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - value to round</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>string of that value rounded to <code>significantDigits</code> significant digits.</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-14, v0.2.0</dd> +</dl> +</li> +</ul> +<a id="prefixNameSet()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>prefixNameSet</h4> +<pre class="methodSignature">public final java.util.Set<java.lang.String> prefixNameSet()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a set of all prefix names in the database</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-14, v0.2.0</dd> +</dl> +</li> +</ul> +<a id="prefixSelected()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>prefixSelected</h4> +<pre class="methodSignature">public final void prefixSelected()</pre> +<div class="block">Runs whenever a prefix is selected in the viewer. + <p> + Shows its information in the text box to the right. + </p></div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-01-15, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setSignificantFigures(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSignificantFigures</h4> +<pre class="methodSignature">public final void setSignificantFigures​(int significantFigures)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>significantFigures</code> - new value of significantFigures</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-01-15, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="unitMatchesDimension(java.lang.String,java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>unitMatchesDimension</h4> +<pre class="methodSignature">public final boolean unitMatchesDimension​(java.lang.String unitName, + java.lang.String dimensionName)</pre> +<div class="block">Returns true if and only if the unit represented by <code>unitName</code> has the dimension represented by + <code>dimensionName</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>unitName</code> - name of unit to test</dd> +<dd><code>dimensionName</code> - name of dimension to test</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>whether unit has dimenision</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-13, v0.2.0</dd> +</dl> +</li> +</ul> +<a id="unitNameSelected()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>unitNameSelected</h4> +<pre class="methodSignature">public final void unitNameSelected()</pre> +<div class="block">Runs whenever a unit is selected in the viewer. + <p> + Shows its information in the text box to the right. + </p></div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-01-15, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="unitNameSet()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>unitNameSet</h4> +<pre class="methodSignature">public final java.util.Set<java.lang.String> unitNameSet()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a set of all of the unit names</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2019-04-14, v0.2.0</dd> +</dl> +</li> +</ul> +</li> +</ul> +</section> +</li> +</ul> +</div> +</div> +</main> +<!-- ========= END OF CLASS DATA ========= --> +<footer role="contentinfo"> +<nav role="navigation"> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a id="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a id="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../index.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/UnitConverterGUI.Presenter.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" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses.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> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </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 id="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +</nav> +</footer> +</body> +</html> |