diff options
Diffstat (limited to 'doc/org/unitConverter/converterGUI/GridBagBuilder.html')
-rw-r--r-- | doc/org/unitConverter/converterGUI/GridBagBuilder.html | 1140 |
1 files changed, 1140 insertions, 0 deletions
diff --git a/doc/org/unitConverter/converterGUI/GridBagBuilder.html b/doc/org/unitConverter/converterGUI/GridBagBuilder.html new file mode 100644 index 0000000..c8e80d2 --- /dev/null +++ b/doc/org/unitConverter/converterGUI/GridBagBuilder.html @@ -0,0 +1,1140 @@ +<!DOCTYPE HTML> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (11.0.4) on Thu Oct 24 10:48:04 EDT 2019 --> +<title>GridBagBuilder</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="GridBagBuilder"; + } + } + catch(err) { + } +//--> +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10}; +var tabs = {65535:["t0","All 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/GridBagBuilder.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 GridBagBuilder" class="title">Class GridBagBuilder</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>org.unitConverter.converterGUI.GridBagBuilder</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<pre>final class <span class="typeNameLabel">GridBagBuilder</span> +extends java.lang.Object</pre> +<div class="block">A builder for Java's <code>GridBagConstraints</code> class.</div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +<dt><span class="simpleTagLabel">Author:</span></dt> +<dd>Adrien Hopkins</dd> +</dl> +</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 int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#anchor">anchor</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>anchor</code> property.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fill">fill</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>fill</code> property.</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="#gridheight">gridheight</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridheight</code> property.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gridwidth">gridwidth</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridwidth</code> property.</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="#gridx">gridx</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridx</code> property.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gridy">gridy</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridy</code> property.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private java.awt.Insets</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#insets">insets</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>insets</code> property.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ipadx">ipadx</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>ipadx</code> property.</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="#ipady">ipady</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>ipady</code> property.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private double</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#weightx">weightx</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>weightx</code> property.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private double</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#weighty">weighty</a></span></code></th> +<td class="colLast"> +<div class="block">The built <code>GridBagConstraints</code>'s <code>weighty</code> property.</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">Modifier</th> +<th class="colSecond" scope="col">Constructor</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code> </code></td> +<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int)">GridBagBuilder</a></span>​(int gridx, + int gridy)</code></th> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code> </code></td> +<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int,int)">GridBagBuilder</a></span>​(int gridx, + int gridy, + int gridwidth, + int gridheight)</code></th> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private </code></td> +<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int,int,double,double,int,int,java.awt.Insets,int,int)">GridBagBuilder</a></span>​(int gridx, + int gridy, + int gridwidth, + int gridheight, + double weightx, + double weighty, + int anchor, + int fill, + java.awt.Insets insets, + int ipadx, + int ipady)</code></th> +<td class="colLast"> </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="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>java.awt.GridBagConstraints</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnchor()">getAnchor</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFill()">getFill</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGridheight()">getGridheight</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGridwidth()">getGridwidth</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGridx()">getGridx</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGridy()">getGridy</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>java.awt.Insets</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInsets()">getInsets</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIpadx()">getIpadx</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>int</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIpady()">getIpady</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>double</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWeightx()">getWeightx</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>double</code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWeighty()">getWeighty</a></span>()</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code><a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAnchor(int)">setAnchor</a></span>​(int anchor)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code><a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFill(int)">setFill</a></span>​(int fill)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code><a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInsets(java.awt.Insets)">setInsets</a></span>​(java.awt.Insets insets)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code><a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIpadx(int)">setIpadx</a></span>​(int ipadx)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code><a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIpady(int)">setIpady</a></span>​(int ipady)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code><a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWeightx(double)">setWeightx</a></span>​(double weightx)</code></th> +<td class="colLast"> </td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code><a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a></code></td> +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWeighty(double)">setWeighty</a></span>​(double weighty)</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="gridx"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>gridx</h4> +<pre>private final int gridx</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridx</code> property. + <p> + Specifies the cell containing the leading edge of the component's display area, where the first cell in a row has + <code>gridx=0</code>. The leading edge of a component's display area is its left edge for a horizontal, + left-to-right container and its right edge for a horizontal, right-to-left container. The value + <code>RELATIVE</code> specifies that the component be placed immediately following the component that was added + to the container just before this component was added. + <p> + The default value is <code>RELATIVE</code>. <code>gridx</code> should be a non-negative value.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.gridy</code>, +<code>ComponentOrientation</code></dd> +</dl> +</li> +</ul> +<a id="gridy"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>gridy</h4> +<pre>private final int gridy</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridy</code> property. + <p> + Specifies the cell at the top of the component's display area, where the topmost cell has <code>gridy=0</code>. + The value <code>RELATIVE</code> specifies that the component be placed just below the component that was added to + the container just before this component was added. + <p> + The default value is <code>RELATIVE</code>. <code>gridy</code> should be a non-negative value.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.gridx</code></dd> +</dl> +</li> +</ul> +<a id="gridwidth"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>gridwidth</h4> +<pre>private final int gridwidth</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridwidth</code> property. + <p> + Specifies the number of cells in a row for the component's display area. + <p> + Use <code>REMAINDER</code> to specify that the component's display area will be from <code>gridx</code> to the + last cell in the row. Use <code>RELATIVE</code> to specify that the component's display area will be from + <code>gridx</code> to the next to the last one in its row. + <p> + <code>gridwidth</code> should be non-negative and the default value is 1.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.gridheight</code></dd> +</dl> +</li> +</ul> +<a id="gridheight"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>gridheight</h4> +<pre>private final int gridheight</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>gridheight</code> property. + <p> + Specifies the number of cells in a column for the component's display area. + <p> + Use <code>REMAINDER</code> to specify that the component's display area will be from <code>gridy</code> to the + last cell in the column. Use <code>RELATIVE</code> to specify that the component's display area will be from + <code>gridy</code> to the next to the last one in its column. + <p> + <code>gridheight</code> should be a non-negative value and the default value is 1.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.gridwidth</code></dd> +</dl> +</li> +</ul> +<a id="weightx"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>weightx</h4> +<pre>private double weightx</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>weightx</code> property. + <p> + Specifies how to distribute extra horizontal space. + <p> + The grid bag layout manager calculates the weight of a column to be the maximum <code>weightx</code> of all the + components in a column. If the resulting layout is smaller horizontally than the area it needs to fill, the extra + space is distributed to each column in proportion to its weight. A column that has a weight of zero receives no + extra space. + <p> + If all the weights are zero, all the extra space appears between the grids of the cell and the left and right + edges. + <p> + The default value of this field is <code>0</code>. <code>weightx</code> should be a non-negative value.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.weighty</code></dd> +</dl> +</li> +</ul> +<a id="weighty"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>weighty</h4> +<pre>private double weighty</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>weighty</code> property. + <p> + Specifies how to distribute extra vertical space. + <p> + The grid bag layout manager calculates the weight of a row to be the maximum <code>weighty</code> of all the + components in a row. If the resulting layout is smaller vertically than the area it needs to fill, the extra + space is distributed to each row in proportion to its weight. A row that has a weight of zero receives no extra + space. + <p> + If all the weights are zero, all the extra space appears between the grids of the cell and the top and bottom + edges. + <p> + The default value of this field is <code>0</code>. <code>weighty</code> should be a non-negative value.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.weightx</code></dd> +</dl> +</li> +</ul> +<a id="anchor"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>anchor</h4> +<pre>private int anchor</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>anchor</code> property. + <p> + This field is used when the component is smaller than its display area. It determines where, within the display + area, to place the component. + <p> + There are three kinds of possible values: orientation relative, baseline relative and absolute. Orientation + relative values are interpreted relative to the container's component orientation property, baseline relative + values are interpreted relative to the baseline and absolute values are not. The absolute values are: + <code>CENTER</code>, <code>NORTH</code>, <code>NORTHEAST</code>, <code>EAST</code>, <code>SOUTHEAST</code>, + <code>SOUTH</code>, <code>SOUTHWEST</code>, <code>WEST</code>, and <code>NORTHWEST</code>. The orientation + relative values are: <code>PAGE_START</code>, <code>PAGE_END</code>, <code>LINE_START</code>, + <code>LINE_END</code>, <code>FIRST_LINE_START</code>, <code>FIRST_LINE_END</code>, <code>LAST_LINE_START</code> + and <code>LAST_LINE_END</code>. The baseline relative values are: <code>BASELINE</code>, + <code>BASELINE_LEADING</code>, <code>BASELINE_TRAILING</code>, <code>ABOVE_BASELINE</code>, + <code>ABOVE_BASELINE_LEADING</code>, <code>ABOVE_BASELINE_TRAILING</code>, <code>BELOW_BASELINE</code>, + <code>BELOW_BASELINE_LEADING</code>, and <code>BELOW_BASELINE_TRAILING</code>. The default value is + <code>CENTER</code>.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>ComponentOrientation</code></dd> +</dl> +</li> +</ul> +<a id="fill"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fill</h4> +<pre>private int fill</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>fill</code> property. + <p> + This field is used when the component's display area is larger than the component's requested size. It determines + whether to resize the component, and if so, how. + <p> + The following values are valid for <code>fill</code>: + + <ul> + <li><code>NONE</code>: Do not resize the component. + <li><code>HORIZONTAL</code>: Make the component wide enough to fill its display area horizontally, but do not + change its height. + <li><code>VERTICAL</code>: Make the component tall enough to fill its display area vertically, but do not change + its width. + <li><code>BOTH</code>: Make the component fill its display area entirely. + </ul> + <p> + The default value is <code>NONE</code>.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code></dd> +</dl> +</li> +</ul> +<a id="insets"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>insets</h4> +<pre>private java.awt.Insets insets</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>insets</code> property. + <p> + This field specifies the external padding of the component, the minimum amount of space between the component and + the edges of its display area. + <p> + The default value is <code>new Insets(0, 0, 0, 0)</code>.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code></dd> +</dl> +</li> +</ul> +<a id="ipadx"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ipadx</h4> +<pre>private int ipadx</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>ipadx</code> property. + <p> + This field specifies the internal padding of the component, how much space to add to the minimum width of the + component. The width of the component is at least its minimum width plus <code>ipadx</code> pixels. + <p> + The default value is <code>0</code>.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.ipady</code></dd> +</dl> +</li> +</ul> +<a id="ipady"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ipady</h4> +<pre>private int ipady</pre> +<div class="block">The built <code>GridBagConstraints</code>'s <code>ipady</code> property. + <p> + This field specifies the internal padding, that is, how much space to add to the minimum height of the component. + The height of the component is at least its minimum height plus <code>ipady</code> pixels. + <p> + The default value is 0.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><code>Object.clone()</code>, +<code>GridBagConstraints.ipadx</code></dd> +</dl> +</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>(int,int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>GridBagBuilder</h4> +<pre>public GridBagBuilder​(int gridx, + int gridy)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>gridx</code> - x position</dd> +<dd><code>gridy</code> - y position</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="<init>(int,int,int,int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>GridBagBuilder</h4> +<pre>public GridBagBuilder​(int gridx, + int gridy, + int gridwidth, + int gridheight)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>gridx</code> - x position</dd> +<dd><code>gridy</code> - y position</dd> +<dd><code>gridwidth</code> - number of cells occupied horizontally</dd> +<dd><code>gridheight</code> - number of cells occupied vertically</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="<init>(int,int,int,int,double,double,int,int,java.awt.Insets,int,int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>GridBagBuilder</h4> +<pre>private GridBagBuilder​(int gridx, + int gridy, + int gridwidth, + int gridheight, + double weightx, + double weighty, + int anchor, + int fill, + java.awt.Insets insets, + int ipadx, + int ipady)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>gridx</code> - x position</dd> +<dd><code>gridy</code> - y position</dd> +<dd><code>gridwidth</code> - number of cells occupied horizontally</dd> +<dd><code>gridheight</code> - number of cells occupied vertically</dd> +<dd><code>weightx</code> - </dd> +<dd><code>weighty</code> - </dd> +<dd><code>anchor</code> - </dd> +<dd><code>fill</code> - </dd> +<dd><code>insets</code> - </dd> +<dd><code>ipadx</code> - </dd> +<dd><code>ipady</code> - </dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, 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="build()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>build</h4> +<pre class="methodSignature">public java.awt.GridBagConstraints build()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><code>GridBagConstraints</code> created by this builder</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getAnchor()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAnchor</h4> +<pre class="methodSignature">public int getAnchor()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>anchor</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getFill()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFill</h4> +<pre class="methodSignature">public int getFill()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>fill</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getGridheight()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getGridheight</h4> +<pre class="methodSignature">public int getGridheight()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>gridheight</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getGridwidth()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getGridwidth</h4> +<pre class="methodSignature">public int getGridwidth()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>gridwidth</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getGridx()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getGridx</h4> +<pre class="methodSignature">public int getGridx()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>gridx</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getGridy()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getGridy</h4> +<pre class="methodSignature">public int getGridy()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>gridy</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getInsets()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInsets</h4> +<pre class="methodSignature">public java.awt.Insets getInsets()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>insets</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getIpadx()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getIpadx</h4> +<pre class="methodSignature">public int getIpadx()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>ipadx</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getIpady()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getIpady</h4> +<pre class="methodSignature">public int getIpady()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>ipady</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getWeightx()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getWeightx</h4> +<pre class="methodSignature">public double getWeightx()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>weightx</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="getWeighty()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getWeighty</h4> +<pre class="methodSignature">public double getWeighty()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>weighty</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setAnchor(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setAnchor</h4> +<pre class="methodSignature">public <a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a> setAnchor​(int anchor)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>anchor</code> - anchor to set</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setFill(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFill</h4> +<pre class="methodSignature">public <a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a> setFill​(int fill)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>fill</code> - fill to set</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setInsets(java.awt.Insets)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInsets</h4> +<pre class="methodSignature">public <a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a> setInsets​(java.awt.Insets insets)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>insets</code> - insets to set</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setIpadx(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setIpadx</h4> +<pre class="methodSignature">public <a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a> setIpadx​(int ipadx)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>ipadx</code> - ipadx to set</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setIpady(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setIpady</h4> +<pre class="methodSignature">public <a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a> setIpady​(int ipady)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>ipady</code> - ipady to set</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setWeightx(double)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setWeightx</h4> +<pre class="methodSignature">public <a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a> setWeightx​(double weightx)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>weightx</code> - weightx to set</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.0</dd> +</dl> +</li> +</ul> +<a id="setWeighty(double)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>setWeighty</h4> +<pre class="methodSignature">public <a href="GridBagBuilder.html" title="class in org.unitConverter.converterGUI">GridBagBuilder</a> setWeighty​(double weighty)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>weighty</code> - weighty to set</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2018-11-30, v0.1.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/GridBagBuilder.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> |