GUI.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_91) on Fri Sep 30 20:18:56 CEST 2016 -->
  6. <title>GUI</title>
  7. <meta name="date" content="2016-09-30">
  8. <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="GUI";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../ui/view/package-summary.html">Package</a></li>
  41. <li class="navBarCell1Rev">Class</li>
  42. <li><a href="class-use/GUI.html">Use</a></li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  45. <li><a href="../../index-files/index-1.html">Index</a></li>
  46. <li><a href="../../help-doc.html">Help</a></li>
  47. </ul>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li>Prev&nbsp;Class</li>
  52. <li>Next&nbsp;Class</li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../index.html?ui/view/GUI.html" target="_top">Frames</a></li>
  56. <li><a href="GUI.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li>Field&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li>Field&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">ui.view</div>
  95. <h2 title="Class GUI" class="title">Class GUI&lt;E&gt;</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li>java.lang.Object</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li>ui.view.GUI&lt;E&gt;</li>
  103. </ul>
  104. </li>
  105. </ul>
  106. <div class="description">
  107. <ul class="blockList">
  108. <li class="blockList">
  109. <dl>
  110. <dt><span class="paramLabel">Type Parameters:</span></dt>
  111. <dd><code>E</code> - Generic</dd>
  112. </dl>
  113. <dl>
  114. <dt>All Implemented Interfaces:</dt>
  115. <dd>interfaces.CategoryListener</dd>
  116. </dl>
  117. <hr>
  118. <br>
  119. <pre>public class <span class="typeNameLabel">GUI&lt;E&gt;</span>
  120. extends java.lang.Object
  121. implements interfaces.CategoryListener</pre>
  122. <div class="block">Graphical User Interface.</div>
  123. <dl>
  124. <dt><span class="simpleTagLabel">Author:</span></dt>
  125. <dd>Gruppe14</dd>
  126. </dl>
  127. </li>
  128. </ul>
  129. </div>
  130. <div class="summary">
  131. <ul class="blockList">
  132. <li class="blockList">
  133. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  134. <ul class="blockList">
  135. <li class="blockList"><a name="constructor.summary">
  136. <!-- -->
  137. </a>
  138. <h3>Constructor Summary</h3>
  139. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  140. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  141. <tr>
  142. <th class="colOne" scope="col">Constructor and Description</th>
  143. </tr>
  144. <tr class="altColor">
  145. <td class="colOne"><code><span class="memberNameLink"><a href="../../ui/view/GUI.html#GUI-ui.controller.Control-">GUI</a></span>(ui.controller.Control&nbsp;control)</code>
  146. <div class="block">Create the application.</div>
  147. </td>
  148. </tr>
  149. </table>
  150. </li>
  151. </ul>
  152. <!-- ========== METHOD SUMMARY =========== -->
  153. <ul class="blockList">
  154. <li class="blockList"><a name="method.summary">
  155. <!-- -->
  156. </a>
  157. <h3>Method Summary</h3>
  158. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  159. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  160. <tr>
  161. <th class="colFirst" scope="col">Modifier and Type</th>
  162. <th class="colLast" scope="col">Method and Description</th>
  163. </tr>
  164. <tr id="i0" class="altColor">
  165. <td class="colFirst"><code>void</code></td>
  166. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/GUI.html#addObjectAction-java.lang.String-javax.swing.tree.DefaultMutableTreeNode-">addObjectAction</a></span>(java.lang.String&nbsp;objType,
  167. javax.swing.tree.DefaultMutableTreeNode&nbsp;selectedNode)</code>
  168. <div class="block">adds a specific object type to selected Category also handles input
  169. windows and illegal inputs.</div>
  170. </td>
  171. </tr>
  172. <tr id="i1" class="rowColor">
  173. <td class="colFirst"><code>javax.swing.JFrame</code></td>
  174. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/GUI.html#getFrmCyberPhysical--">getFrmCyberPhysical</a></span>()</code>
  175. <div class="block">Get the Frame.</div>
  176. </td>
  177. </tr>
  178. <tr id="i2" class="altColor">
  179. <td class="colFirst"><code>void</code></td>
  180. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/GUI.html#onChange-java.util.ArrayList-">onChange</a></span>(java.util.ArrayList&lt;classes.Category&gt;&nbsp;categories)</code>
  181. <div class="block">When changes are made to the Categories.</div>
  182. </td>
  183. </tr>
  184. <tr id="i3" class="rowColor">
  185. <td class="colFirst"><code>void</code></td>
  186. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/GUI.html#updateCategories-java.util.ArrayList-">updateCategories</a></span>(java.util.ArrayList&lt;classes.Category&gt;&nbsp;categories)</code>
  187. <div class="block">reloads the Categories from Model.</div>
  188. </td>
  189. </tr>
  190. </table>
  191. <ul class="blockList">
  192. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  193. <!-- -->
  194. </a>
  195. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  196. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  197. </ul>
  198. </li>
  199. </ul>
  200. </li>
  201. </ul>
  202. </div>
  203. <div class="details">
  204. <ul class="blockList">
  205. <li class="blockList">
  206. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  207. <ul class="blockList">
  208. <li class="blockList"><a name="constructor.detail">
  209. <!-- -->
  210. </a>
  211. <h3>Constructor Detail</h3>
  212. <a name="GUI-ui.controller.Control-">
  213. <!-- -->
  214. </a>
  215. <ul class="blockListLast">
  216. <li class="blockList">
  217. <h4>GUI</h4>
  218. <pre>public&nbsp;GUI(ui.controller.Control&nbsp;control)</pre>
  219. <div class="block">Create the application.</div>
  220. <dl>
  221. <dt><span class="paramLabel">Parameters:</span></dt>
  222. <dd><code>control</code> - the Controller</dd>
  223. </dl>
  224. </li>
  225. </ul>
  226. </li>
  227. </ul>
  228. <!-- ============ METHOD DETAIL ========== -->
  229. <ul class="blockList">
  230. <li class="blockList"><a name="method.detail">
  231. <!-- -->
  232. </a>
  233. <h3>Method Detail</h3>
  234. <a name="addObjectAction-java.lang.String-javax.swing.tree.DefaultMutableTreeNode-">
  235. <!-- -->
  236. </a>
  237. <ul class="blockList">
  238. <li class="blockList">
  239. <h4>addObjectAction</h4>
  240. <pre>public&nbsp;void&nbsp;addObjectAction(java.lang.String&nbsp;objType,
  241. javax.swing.tree.DefaultMutableTreeNode&nbsp;selectedNode)</pre>
  242. <div class="block">adds a specific object type to selected Category also handles input
  243. windows and illegal inputs.</div>
  244. <dl>
  245. <dt><span class="paramLabel">Parameters:</span></dt>
  246. <dd><code>objType</code> - type of the Object</dd>
  247. <dd><code>selectedNode</code> - The selected Node</dd>
  248. </dl>
  249. </li>
  250. </ul>
  251. <a name="updateCategories-java.util.ArrayList-">
  252. <!-- -->
  253. </a>
  254. <ul class="blockList">
  255. <li class="blockList">
  256. <h4>updateCategories</h4>
  257. <pre>public&nbsp;void&nbsp;updateCategories(java.util.ArrayList&lt;classes.Category&gt;&nbsp;categories)</pre>
  258. <div class="block">reloads the Categories from Model.</div>
  259. <dl>
  260. <dt><span class="paramLabel">Parameters:</span></dt>
  261. <dd><code>categories</code> - the current categories</dd>
  262. </dl>
  263. </li>
  264. </ul>
  265. <a name="onChange-java.util.ArrayList-">
  266. <!-- -->
  267. </a>
  268. <ul class="blockList">
  269. <li class="blockList">
  270. <h4>onChange</h4>
  271. <pre>public&nbsp;void&nbsp;onChange(java.util.ArrayList&lt;classes.Category&gt;&nbsp;categories)</pre>
  272. <div class="block">When changes are made to the Categories.</div>
  273. <dl>
  274. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  275. <dd><code>onChange</code>&nbsp;in interface&nbsp;<code>interfaces.CategoryListener</code></dd>
  276. <dt><span class="paramLabel">Parameters:</span></dt>
  277. <dd><code>categories</code> - the Categories</dd>
  278. </dl>
  279. </li>
  280. </ul>
  281. <a name="getFrmCyberPhysical--">
  282. <!-- -->
  283. </a>
  284. <ul class="blockListLast">
  285. <li class="blockList">
  286. <h4>getFrmCyberPhysical</h4>
  287. <pre>public&nbsp;javax.swing.JFrame&nbsp;getFrmCyberPhysical()</pre>
  288. <div class="block">Get the Frame.</div>
  289. <dl>
  290. <dt><span class="returnLabel">Returns:</span></dt>
  291. <dd>the Frame</dd>
  292. </dl>
  293. </li>
  294. </ul>
  295. </li>
  296. </ul>
  297. </li>
  298. </ul>
  299. </div>
  300. </div>
  301. <!-- ========= END OF CLASS DATA ========= -->
  302. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  303. <div class="bottomNav"><a name="navbar.bottom">
  304. <!-- -->
  305. </a>
  306. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  307. <a name="navbar.bottom.firstrow">
  308. <!-- -->
  309. </a>
  310. <ul class="navList" title="Navigation">
  311. <li><a href="../../ui/view/package-summary.html">Package</a></li>
  312. <li class="navBarCell1Rev">Class</li>
  313. <li><a href="class-use/GUI.html">Use</a></li>
  314. <li><a href="package-tree.html">Tree</a></li>
  315. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  316. <li><a href="../../index-files/index-1.html">Index</a></li>
  317. <li><a href="../../help-doc.html">Help</a></li>
  318. </ul>
  319. </div>
  320. <div class="subNav">
  321. <ul class="navList">
  322. <li>Prev&nbsp;Class</li>
  323. <li>Next&nbsp;Class</li>
  324. </ul>
  325. <ul class="navList">
  326. <li><a href="../../index.html?ui/view/GUI.html" target="_top">Frames</a></li>
  327. <li><a href="GUI.html" target="_top">No&nbsp;Frames</a></li>
  328. </ul>
  329. <ul class="navList" id="allclasses_navbar_bottom">
  330. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  331. </ul>
  332. <div>
  333. <script type="text/javascript"><!--
  334. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  335. if(window==top) {
  336. allClassesLink.style.display = "block";
  337. }
  338. else {
  339. allClassesLink.style.display = "none";
  340. }
  341. //-->
  342. </script>
  343. </div>
  344. <div>
  345. <ul class="subNavList">
  346. <li>Summary:&nbsp;</li>
  347. <li>Nested&nbsp;|&nbsp;</li>
  348. <li>Field&nbsp;|&nbsp;</li>
  349. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  350. <li><a href="#method.summary">Method</a></li>
  351. </ul>
  352. <ul class="subNavList">
  353. <li>Detail:&nbsp;</li>
  354. <li>Field&nbsp;|&nbsp;</li>
  355. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  356. <li><a href="#method.detail">Method</a></li>
  357. </ul>
  358. </div>
  359. <a name="skip.navbar.bottom">
  360. <!-- -->
  361. </a></div>
  362. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  363. </body>
  364. </html>