993 lines
42 KiB
HTML
993 lines
42 KiB
HTML
<!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_141) on Tue May 08 15:40:49 BST 2018 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>AddItemWindow</title>
|
|
<meta name="date" content="2018-05-08">
|
|
<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="AddItemWindow";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":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="../rofaapp/package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/AddItemWindow.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><a href="../rofaapp/Furniture.html" title="class in rofaapp"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?rofaapp/AddItemWindow.html" target="_top">Frames</a></li>
|
|
<li><a href="AddItemWindow.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.javax.swing.JDialog">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">rofaapp</div>
|
|
<h2 title="Class AddItemWindow" class="title">Class AddItemWindow</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Component</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Container</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Window</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Dialog</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>javax.swing.JDialog</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>rofaapp.AddItemWindow</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd>java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">AddItemWindow</span>
|
|
extends javax.swing.JDialog
|
|
implements java.awt.event.ActionListener</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../serialized-form.html#rofaapp.AddItemWindow">Serialized Form</a></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.javax.swing.JDialog">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class javax.swing.JDialog</h3>
|
|
<code>javax.swing.JDialog.AccessibleJDialog</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Dialog">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Dialog</h3>
|
|
<code>java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Window">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Window</h3>
|
|
<code>java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Container">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
|
|
<code>java.awt.Container.AccessibleAWTContainer</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
|
|
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</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>(package private) javax.swing.JCheckBox</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#armrestsCheckBoxChair">armrestsCheckBoxChair</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JButton</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#buttonSwitchChair">buttonSwitchChair</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JButton</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#buttonSwitchDesk">buttonSwitchDesk</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JButton</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#buttonSwitchTable">buttonSwitchTable</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JButton</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#cancelButton">cancelButton</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JPanel</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#chairPanel">chairPanel</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JCheckBox</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#chromeCheckBoxTable">chromeCheckBoxTable</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#depthSpinnerDesk">depthSpinnerDesk</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JPanel</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#deskPanel">deskPanel</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#diameterSpinnerTable">diameterSpinnerTable</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#drawsSpinnerDesk">drawsSpinnerDesk</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#editIndex">editIndex</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#idSpinnerChair">idSpinnerChair</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#idSpinnerDesk">idSpinnerDesk</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#idSpinnerTable">idSpinnerTable</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#isEdit">isEdit</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#order">order</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#quantitySpinnerChair">quantitySpinnerChair</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#quantitySpinnerTable">quantitySpinnerTable</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JPanel</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#tablePanel">tablePanel</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JSpinner</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#widthSpinnerDesk">widthSpinnerDesk</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JComboBox</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#woodComboBoxChair">woodComboBoxChair</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JComboBox</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#woodComboBoxDesk">woodComboBoxDesk</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JComboBox</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#woodComboBoxTable">woodComboBoxTable</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="../rofaapp/TypeWood.html" title="class in rofaapp">TypeWood</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#woodTypes">woodTypes</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JButton</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#yesButton">yesButton</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>(package private) javax.swing.JPanel</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#yesnoPanel">yesnoPanel</a></span></code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.javax.swing.JDialog">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class javax.swing.JDialog</h3>
|
|
<code>accessibleContext, rootPane, rootPaneCheckingEnabled</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.java.awt.Dialog">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class java.awt.Dialog</h3>
|
|
<code>DEFAULT_MODALITY_TYPE</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class java.awt.Component</h3>
|
|
<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.javax.swing.WindowConstants">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface javax.swing.WindowConstants</h3>
|
|
<code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.java.awt.image.ImageObserver">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
|
|
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</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="../rofaapp/AddItemWindow.html#AddItemWindow-int-rofaapp.ItemOrder-rofaapp.TypeWood:A-">AddItemWindow</a></span>(int defaultPanel,
|
|
<a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a> o,
|
|
<a href="../rofaapp/TypeWood.html" title="class in rofaapp">TypeWood</a>[] tw)</code>
|
|
<div class="block">Constructor used when adding a new item.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#AddItemWindow-int-rofaapp.ItemOrder-rofaapp.TypeWood:A-int-rofaapp.Furniture-">AddItemWindow</a></span>(int defaultPanel,
|
|
<a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a> o,
|
|
<a href="../rofaapp/TypeWood.html" title="class in rofaapp">TypeWood</a>[] tw,
|
|
int index,
|
|
<a href="../rofaapp/Furniture.html" title="class in rofaapp">Furniture</a> f)</code>
|
|
<div class="block">Constructor used when editing an existing item.</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="../rofaapp/AddItemWindow.html#actionPerformed-java.awt.event.ActionEvent-">actionPerformed</a></span>(java.awt.event.ActionEvent e)</code>
|
|
<div class="block">Action listener for the buttons shown on the window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>private void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#changeSelectedPanel-int-">changeSelectedPanel</a></span>(int i)</code>
|
|
<div class="block">Changes the currently selected tab.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#getTabValue-rofaapp.Furniture-">getTabValue</a></span>(<a href="../rofaapp/Furniture.html" title="class in rofaapp">Furniture</a> f)</code>
|
|
<div class="block">Simple method for giving an instance of furnature and getting back the tab index of the object in the window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#getUpdatedOrder--">getUpdatedOrder</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>private void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#initSelectButtons--">initSelectButtons</a></span>()</code>
|
|
<div class="block">Initialises the three buttons displayed at the top of the frame (instantiates them, adds their text, creates the actionlistener and adds them to the panel).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>private void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#initSelectedPanels--">initSelectedPanels</a></span>()</code>
|
|
<div class="block">Creates all of the panels and buttons and elements needed for each of the panels for each of the furniture items.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>private void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#initWindowSettings--">initWindowSettings</a></span>()</code>
|
|
<div class="block">Initialises basic elements of the window (such as layout, the default close operation and the modality type).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>private void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#initYesNoButtons--">initYesNoButtons</a></span>()</code>
|
|
<div class="block">Initialises the 'Yes-No' buttons shown at the bottom of the form (creates them and adds them to the panel).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>private void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../rofaapp/AddItemWindow.html#loadEditSettings-rofaapp.Furniture-">loadEditSettings</a></span>(<a href="../rofaapp/Furniture.html" title="class in rofaapp">Furniture</a> f)</code>
|
|
<div class="block">Loads a given furniture item, and changes the window elements to the attributes of the given furniture item.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.javax.swing.JDialog">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class javax.swing.JDialog</h3>
|
|
<code>addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Dialog">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Dialog</h3>
|
|
<code>addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Window">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Window</h3>
|
|
<code>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Container">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Container</h3>
|
|
<code>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Component</h3>
|
|
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</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>clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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="order">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>order</h4>
|
|
<pre>private <a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a> order</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="woodTypes">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>woodTypes</h4>
|
|
<pre>private <a href="../rofaapp/TypeWood.html" title="class in rofaapp">TypeWood</a>[] woodTypes</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isEdit">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEdit</h4>
|
|
<pre>private boolean isEdit</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="editIndex">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>editIndex</h4>
|
|
<pre>private int editIndex</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="chairPanel">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>chairPanel</h4>
|
|
<pre>javax.swing.JPanel chairPanel</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="tablePanel">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>tablePanel</h4>
|
|
<pre>javax.swing.JPanel tablePanel</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="deskPanel">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>deskPanel</h4>
|
|
<pre>javax.swing.JPanel deskPanel</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="yesnoPanel">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yesnoPanel</h4>
|
|
<pre>javax.swing.JPanel yesnoPanel</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="buttonSwitchChair">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>buttonSwitchChair</h4>
|
|
<pre>javax.swing.JButton buttonSwitchChair</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="buttonSwitchTable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>buttonSwitchTable</h4>
|
|
<pre>javax.swing.JButton buttonSwitchTable</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="buttonSwitchDesk">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>buttonSwitchDesk</h4>
|
|
<pre>javax.swing.JButton buttonSwitchDesk</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="yesButton">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yesButton</h4>
|
|
<pre>javax.swing.JButton yesButton</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="cancelButton">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cancelButton</h4>
|
|
<pre>javax.swing.JButton cancelButton</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="idSpinnerChair">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>idSpinnerChair</h4>
|
|
<pre>javax.swing.JSpinner idSpinnerChair</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="quantitySpinnerChair">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>quantitySpinnerChair</h4>
|
|
<pre>javax.swing.JSpinner quantitySpinnerChair</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="idSpinnerDesk">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>idSpinnerDesk</h4>
|
|
<pre>javax.swing.JSpinner idSpinnerDesk</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="drawsSpinnerDesk">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drawsSpinnerDesk</h4>
|
|
<pre>javax.swing.JSpinner drawsSpinnerDesk</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="widthSpinnerDesk">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>widthSpinnerDesk</h4>
|
|
<pre>javax.swing.JSpinner widthSpinnerDesk</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="depthSpinnerDesk">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>depthSpinnerDesk</h4>
|
|
<pre>javax.swing.JSpinner depthSpinnerDesk</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="idSpinnerTable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>idSpinnerTable</h4>
|
|
<pre>javax.swing.JSpinner idSpinnerTable</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="quantitySpinnerTable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>quantitySpinnerTable</h4>
|
|
<pre>javax.swing.JSpinner quantitySpinnerTable</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="diameterSpinnerTable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>diameterSpinnerTable</h4>
|
|
<pre>javax.swing.JSpinner diameterSpinnerTable</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="woodComboBoxChair">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>woodComboBoxChair</h4>
|
|
<pre>javax.swing.JComboBox woodComboBoxChair</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="woodComboBoxDesk">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>woodComboBoxDesk</h4>
|
|
<pre>javax.swing.JComboBox woodComboBoxDesk</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="woodComboBoxTable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>woodComboBoxTable</h4>
|
|
<pre>javax.swing.JComboBox woodComboBoxTable</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="armrestsCheckBoxChair">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>armrestsCheckBoxChair</h4>
|
|
<pre>javax.swing.JCheckBox armrestsCheckBoxChair</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="chromeCheckBoxTable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>chromeCheckBoxTable</h4>
|
|
<pre>javax.swing.JCheckBox chromeCheckBoxTable</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="AddItemWindow-int-rofaapp.ItemOrder-rofaapp.TypeWood:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>AddItemWindow</h4>
|
|
<pre>public AddItemWindow(int defaultPanel,
|
|
<a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a> o,
|
|
<a href="../rofaapp/TypeWood.html" title="class in rofaapp">TypeWood</a>[] tw)</pre>
|
|
<div class="block">Constructor used when adding a new item.
|
|
<br>
|
|
Calls all initialisation functions for the window: <a href="../rofaapp/AddItemWindow.html#initWindowSettings--"><code>initWindowSettings()</code></a>, <a href="../rofaapp/AddItemWindow.html#initSelectButtons--"><code>initSelectButtons()</code></a>, <a href="../rofaapp/AddItemWindow.html#initSelectedPanels--"><code>initSelectedPanels()</code></a>, <a href="../rofaapp/AddItemWindow.html#initYesNoButtons--"><code>initYesNoButtons()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>defaultPanel</code> - Selects the panel that will be shown when the window is first shown (the default panel). Calls/is used in the function <a href="../rofaapp/AddItemWindow.html#changeSelectedPanel-int-"><code>changeSelectedPanel(int)</code></a>.</dd>
|
|
<dd><code>o</code> - The current item order that will be edited.</dd>
|
|
<dd><code>tw</code> - An array if all of the wood types.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="AddItemWindow-int-rofaapp.ItemOrder-rofaapp.TypeWood:A-int-rofaapp.Furniture-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>AddItemWindow</h4>
|
|
<pre>public AddItemWindow(int defaultPanel,
|
|
<a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a> o,
|
|
<a href="../rofaapp/TypeWood.html" title="class in rofaapp">TypeWood</a>[] tw,
|
|
int index,
|
|
<a href="../rofaapp/Furniture.html" title="class in rofaapp">Furniture</a> f)</pre>
|
|
<div class="block">Constructor used when editing an existing item.
|
|
Calls all initialisation functions for the window: <a href="../rofaapp/AddItemWindow.html#initWindowSettings--"><code>initWindowSettings()</code></a>, <a href="../rofaapp/AddItemWindow.html#initSelectButtons--"><code>initSelectButtons()</code></a>, <a href="../rofaapp/AddItemWindow.html#initSelectedPanels--"><code>initSelectedPanels()</code></a>, <a href="../rofaapp/AddItemWindow.html#initYesNoButtons--"><code>initYesNoButtons()</code></a>.
|
|
<br>
|
|
For the edit constructor, calls <a href="../rofaapp/AddItemWindow.html#loadEditSettings-rofaapp.Furniture-"><code>loadEditSettings(Furniture)</code></a> which shows the current item's attributes in the window.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>defaultPanel</code> - Selects the panel that will be shown when the window is first shown (the default panel). Calls/is used in the function <a href="../rofaapp/AddItemWindow.html#changeSelectedPanel-int-"><code>changeSelectedPanel(int)</code></a>.</dd>
|
|
<dd><code>o</code> - The current item order that will be edited.</dd>
|
|
<dd><code>tw</code> - An array if all of the wood types.</dd>
|
|
<dd><code>index</code> - The index of the currently edited item within the ItemOrder (0-8, if not, will throw an exception).</dd>
|
|
<dd><code>f</code> - The furniture object of the item that is being edited.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="initWindowSettings--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>initWindowSettings</h4>
|
|
<pre>private void initWindowSettings()</pre>
|
|
<div class="block">Initialises basic elements of the window (such as layout, the default close operation and the modality type).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="initSelectButtons--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>initSelectButtons</h4>
|
|
<pre>private void initSelectButtons()</pre>
|
|
<div class="block">Initialises the three buttons displayed at the top of the frame (instantiates them, adds their text, creates the actionlistener and adds them to the panel).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="initYesNoButtons--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>initYesNoButtons</h4>
|
|
<pre>private void initYesNoButtons()</pre>
|
|
<div class="block">Initialises the 'Yes-No' buttons shown at the bottom of the form (creates them and adds them to the panel).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="initSelectedPanels--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>initSelectedPanels</h4>
|
|
<pre>private void initSelectedPanels()</pre>
|
|
<div class="block">Creates all of the panels and buttons and elements needed for each of the panels for each of the furniture items. Creates all elements, adds the action listeners for them and adds them to the window. (WARNING: Very long function of repetitiveness).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="loadEditSettings-rofaapp.Furniture-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>loadEditSettings</h4>
|
|
<pre>private void loadEditSettings(<a href="../rofaapp/Furniture.html" title="class in rofaapp">Furniture</a> f)</pre>
|
|
<div class="block">Loads a given furniture item, and changes the window elements to the attributes of the given furniture item.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>f</code> - Given furniture item.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTabValue-rofaapp.Furniture-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTabValue</h4>
|
|
<pre>public static int getTabValue(<a href="../rofaapp/Furniture.html" title="class in rofaapp">Furniture</a> f)</pre>
|
|
<div class="block">Simple method for giving an instance of furnature and getting back the tab index of the object in the window.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>f</code> - The furniture item.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The tab index of the given item.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="changeSelectedPanel-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>changeSelectedPanel</h4>
|
|
<pre>private void changeSelectedPanel(int i)</pre>
|
|
<div class="block">Changes the currently selected tab.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>i</code> - The tab index to switch views to. (1-3. If not a valid index, will display an empty panel.)</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getUpdatedOrder--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getUpdatedOrder</h4>
|
|
<pre>public <a href="../rofaapp/ItemOrder.html" title="class in rofaapp">ItemOrder</a> getUpdatedOrder()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The current order within the window instance.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="actionPerformed-java.awt.event.ActionEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>actionPerformed</h4>
|
|
<pre>public void actionPerformed(java.awt.event.ActionEvent e)</pre>
|
|
<div class="block">Action listener for the buttons shown on the window.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>actionPerformed</code> in interface <code>java.awt.event.ActionListener</code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>e</code> - ActionEvent.</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="../rofaapp/package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/AddItemWindow.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><a href="../rofaapp/Furniture.html" title="class in rofaapp"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?rofaapp/AddItemWindow.html" target="_top">Frames</a></li>
|
|
<li><a href="AddItemWindow.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.javax.swing.JDialog">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>
|