GUI.html 13 KB

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