ConsoleController.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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:17 CEST 2016 -->
  6. <title>ConsoleController</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="ConsoleController";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":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/ConsoleController.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/controller/CategoryController.html" title="class in ui.controller"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../ui/controller/Control.html" title="class in ui.controller"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../index.html?ui/controller/ConsoleController.html" target="_top">Frames</a></li>
  57. <li><a href="ConsoleController.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.controller</div>
  96. <h2 title="Class ConsoleController" class="title">Class ConsoleController</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.controller.ConsoleController</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <hr>
  111. <br>
  112. <pre>public class <span class="typeNameLabel">ConsoleController</span>
  113. extends java.lang.Object</pre>
  114. <div class="block">Controller for the Canvas.</div>
  115. <dl>
  116. <dt><span class="simpleTagLabel">Author:</span></dt>
  117. <dd>Gruppe14</dd>
  118. </dl>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="summary">
  123. <ul class="blockList">
  124. <li class="blockList">
  125. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  126. <ul class="blockList">
  127. <li class="blockList"><a name="constructor.summary">
  128. <!-- -->
  129. </a>
  130. <h3>Constructor Summary</h3>
  131. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  132. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  133. <tr>
  134. <th class="colOne" scope="col">Constructor and Description</th>
  135. </tr>
  136. <tr class="altColor">
  137. <td class="colOne"><code><span class="memberNameLink"><a href="../../ui/controller/ConsoleController.html#ConsoleController-ui.model.Model-">ConsoleController</a></span>(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;model)</code>
  138. <div class="block">Constructor.</div>
  139. </td>
  140. </tr>
  141. </table>
  142. </li>
  143. </ul>
  144. <!-- ========== METHOD SUMMARY =========== -->
  145. <ul class="blockList">
  146. <li class="blockList"><a name="method.summary">
  147. <!-- -->
  148. </a>
  149. <h3>Method Summary</h3>
  150. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  151. <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>
  152. <tr>
  153. <th class="colFirst" scope="col">Modifier and Type</th>
  154. <th class="colLast" scope="col">Method and Description</th>
  155. </tr>
  156. <tr id="i0" class="altColor">
  157. <td class="colFirst"><code>void</code></td>
  158. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ConsoleController.html#addTextToConsole-java.lang.String-">addTextToConsole</a></span>(java.lang.String&nbsp;text)</code>
  159. <div class="block">Print Text on the console in black and font size 12.</div>
  160. </td>
  161. </tr>
  162. <tr id="i1" class="rowColor">
  163. <td class="colFirst"><code>void</code></td>
  164. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ConsoleController.html#addTextToConsole-java.lang.String-java.awt.Color-int-boolean-boolean-boolean-">addTextToConsole</a></span>(java.lang.String&nbsp;text,
  165. java.awt.Color&nbsp;color,
  166. int&nbsp;p,
  167. boolean&nbsp;bold,
  168. boolean&nbsp;italic,
  169. boolean&nbsp;nl)</code>
  170. <div class="block">Print Text on the console.</div>
  171. </td>
  172. </tr>
  173. <tr id="i2" class="altColor">
  174. <td class="colFirst"><code>void</code></td>
  175. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ConsoleController.html#clearConsole--">clearConsole</a></span>()</code>
  176. <div class="block">Clears the console.</div>
  177. </td>
  178. </tr>
  179. </table>
  180. <ul class="blockList">
  181. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  182. <!-- -->
  183. </a>
  184. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  185. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  186. </ul>
  187. </li>
  188. </ul>
  189. </li>
  190. </ul>
  191. </div>
  192. <div class="details">
  193. <ul class="blockList">
  194. <li class="blockList">
  195. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  196. <ul class="blockList">
  197. <li class="blockList"><a name="constructor.detail">
  198. <!-- -->
  199. </a>
  200. <h3>Constructor Detail</h3>
  201. <a name="ConsoleController-ui.model.Model-">
  202. <!-- -->
  203. </a>
  204. <ul class="blockListLast">
  205. <li class="blockList">
  206. <h4>ConsoleController</h4>
  207. <pre>public&nbsp;ConsoleController(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;model)</pre>
  208. <div class="block">Constructor.</div>
  209. <dl>
  210. <dt><span class="paramLabel">Parameters:</span></dt>
  211. <dd><code>model</code> - the Model</dd>
  212. </dl>
  213. </li>
  214. </ul>
  215. </li>
  216. </ul>
  217. <!-- ============ METHOD DETAIL ========== -->
  218. <ul class="blockList">
  219. <li class="blockList"><a name="method.detail">
  220. <!-- -->
  221. </a>
  222. <h3>Method Detail</h3>
  223. <a name="addTextToConsole-java.lang.String-java.awt.Color-int-boolean-boolean-boolean-">
  224. <!-- -->
  225. </a>
  226. <ul class="blockList">
  227. <li class="blockList">
  228. <h4>addTextToConsole</h4>
  229. <pre>public&nbsp;void&nbsp;addTextToConsole(java.lang.String&nbsp;text,
  230. java.awt.Color&nbsp;color,
  231. int&nbsp;p,
  232. boolean&nbsp;bold,
  233. boolean&nbsp;italic,
  234. boolean&nbsp;nl)</pre>
  235. <div class="block">Print Text on the console.</div>
  236. <dl>
  237. <dt><span class="paramLabel">Parameters:</span></dt>
  238. <dd><code>text</code> - String the Text</dd>
  239. <dd><code>color</code> - the color of the Text</dd>
  240. <dd><code>p</code> - size of the Text</dd>
  241. <dd><code>bold</code> - bold or not</dd>
  242. <dd><code>italic</code> - italic or not</dd>
  243. <dd><code>nl</code> - new line or not</dd>
  244. </dl>
  245. </li>
  246. </ul>
  247. <a name="addTextToConsole-java.lang.String-">
  248. <!-- -->
  249. </a>
  250. <ul class="blockList">
  251. <li class="blockList">
  252. <h4>addTextToConsole</h4>
  253. <pre>public&nbsp;void&nbsp;addTextToConsole(java.lang.String&nbsp;text)</pre>
  254. <div class="block">Print Text on the console in black and font size 12.</div>
  255. <dl>
  256. <dt><span class="paramLabel">Parameters:</span></dt>
  257. <dd><code>text</code> - String the Text</dd>
  258. </dl>
  259. </li>
  260. </ul>
  261. <a name="clearConsole--">
  262. <!-- -->
  263. </a>
  264. <ul class="blockListLast">
  265. <li class="blockList">
  266. <h4>clearConsole</h4>
  267. <pre>public&nbsp;void&nbsp;clearConsole()</pre>
  268. <div class="block">Clears the console.</div>
  269. </li>
  270. </ul>
  271. </li>
  272. </ul>
  273. </li>
  274. </ul>
  275. </div>
  276. </div>
  277. <!-- ========= END OF CLASS DATA ========= -->
  278. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  279. <div class="bottomNav"><a name="navbar.bottom">
  280. <!-- -->
  281. </a>
  282. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  283. <a name="navbar.bottom.firstrow">
  284. <!-- -->
  285. </a>
  286. <ul class="navList" title="Navigation">
  287. <li><a href="../../overview-summary.html">Overview</a></li>
  288. <li><a href="package-summary.html">Package</a></li>
  289. <li class="navBarCell1Rev">Class</li>
  290. <li><a href="class-use/ConsoleController.html">Use</a></li>
  291. <li><a href="package-tree.html">Tree</a></li>
  292. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  293. <li><a href="../../index-files/index-1.html">Index</a></li>
  294. <li><a href="../../help-doc.html">Help</a></li>
  295. </ul>
  296. </div>
  297. <div class="subNav">
  298. <ul class="navList">
  299. <li><a href="../../ui/controller/CategoryController.html" title="class in ui.controller"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  300. <li><a href="../../ui/controller/Control.html" title="class in ui.controller"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  301. </ul>
  302. <ul class="navList">
  303. <li><a href="../../index.html?ui/controller/ConsoleController.html" target="_top">Frames</a></li>
  304. <li><a href="ConsoleController.html" target="_top">No&nbsp;Frames</a></li>
  305. </ul>
  306. <ul class="navList" id="allclasses_navbar_bottom">
  307. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  308. </ul>
  309. <div>
  310. <script type="text/javascript"><!--
  311. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  312. if(window==top) {
  313. allClassesLink.style.display = "block";
  314. }
  315. else {
  316. allClassesLink.style.display = "none";
  317. }
  318. //-->
  319. </script>
  320. </div>
  321. <div>
  322. <ul class="subNavList">
  323. <li>Summary:&nbsp;</li>
  324. <li>Nested&nbsp;|&nbsp;</li>
  325. <li>Field&nbsp;|&nbsp;</li>
  326. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  327. <li><a href="#method.summary">Method</a></li>
  328. </ul>
  329. <ul class="subNavList">
  330. <li>Detail:&nbsp;</li>
  331. <li>Field&nbsp;|&nbsp;</li>
  332. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  333. <li><a href="#method.detail">Method</a></li>
  334. </ul>
  335. </div>
  336. <a name="skip.navbar.bottom">
  337. <!-- -->
  338. </a></div>
  339. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  340. </body>
  341. </html>