GlobalController.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  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>GlobalController</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="GlobalController";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":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/GlobalController.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/Control.html" title="class in ui.controller"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../ui/controller/LoadController.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/GlobalController.html" target="_top">Frames</a></li>
  57. <li><a href="GlobalController.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 GlobalController" class="title">Class GlobalController</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.GlobalController</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">GlobalController</span>
  113. extends java.lang.Object</pre>
  114. <div class="block">Controller for the Global Variables.</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/GlobalController.html#GlobalController-ui.model.Model-">GlobalController</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>int</code></td>
  158. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#getNumbersOfSaves--">getNumbersOfSaves</a></span>()</code>
  159. <div class="block">Returns numberOfSaves.</div>
  160. </td>
  161. </tr>
  162. <tr id="i1" class="rowColor">
  163. <td class="colFirst"><code>int</code></td>
  164. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#getScale--">getScale</a></span>()</code>
  165. <div class="block">Returns SCALE.</div>
  166. </td>
  167. </tr>
  168. <tr id="i2" class="altColor">
  169. <td class="colFirst"><code>int</code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#getScaleDiv2--">getScaleDiv2</a></span>()</code>
  171. <div class="block">Returns SCALE Divided by 2.</div>
  172. </td>
  173. </tr>
  174. <tr id="i3" class="rowColor">
  175. <td class="colFirst"><code>void</code></td>
  176. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#setCurIteration-int-">setCurIteration</a></span>(int&nbsp;curit)</code>
  177. <div class="block">sets the current Iteration.</div>
  178. </td>
  179. </tr>
  180. <tr id="i4" class="altColor">
  181. <td class="colFirst"><code>void</code></td>
  182. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#setIsSimulation-boolean-">setIsSimulation</a></span>(boolean&nbsp;b)</code>
  183. <div class="block">Set isSimulation.</div>
  184. </td>
  185. </tr>
  186. <tr id="i5" class="rowColor">
  187. <td class="colFirst"><code>void</code></td>
  188. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#setNumberOfSaves-int-">setNumberOfSaves</a></span>(int&nbsp;numberofSaves)</code>
  189. <div class="block">sets the max number of autosaves.</div>
  190. </td>
  191. </tr>
  192. <tr id="i6" class="altColor">
  193. <td class="colFirst"><code>void</code></td>
  194. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#setScale-int-">setScale</a></span>(int&nbsp;s)</code>
  195. <div class="block">Changes the value of SCALE and SCALEDIV2.</div>
  196. </td>
  197. </tr>
  198. <tr id="i7" class="rowColor">
  199. <td class="colFirst"><code>void</code></td>
  200. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/GlobalController.html#setTimerSpeed-int-">setTimerSpeed</a></span>(int&nbsp;t)</code>
  201. <div class="block">Set the timerSpeed.</div>
  202. </td>
  203. </tr>
  204. </table>
  205. <ul class="blockList">
  206. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  207. <!-- -->
  208. </a>
  209. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  210. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  211. </ul>
  212. </li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </div>
  217. <div class="details">
  218. <ul class="blockList">
  219. <li class="blockList">
  220. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  221. <ul class="blockList">
  222. <li class="blockList"><a name="constructor.detail">
  223. <!-- -->
  224. </a>
  225. <h3>Constructor Detail</h3>
  226. <a name="GlobalController-ui.model.Model-">
  227. <!-- -->
  228. </a>
  229. <ul class="blockListLast">
  230. <li class="blockList">
  231. <h4>GlobalController</h4>
  232. <pre>public&nbsp;GlobalController(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;model)</pre>
  233. <div class="block">Constructor.</div>
  234. <dl>
  235. <dt><span class="paramLabel">Parameters:</span></dt>
  236. <dd><code>model</code> - the Model</dd>
  237. </dl>
  238. </li>
  239. </ul>
  240. </li>
  241. </ul>
  242. <!-- ============ METHOD DETAIL ========== -->
  243. <ul class="blockList">
  244. <li class="blockList"><a name="method.detail">
  245. <!-- -->
  246. </a>
  247. <h3>Method Detail</h3>
  248. <a name="getScale--">
  249. <!-- -->
  250. </a>
  251. <ul class="blockList">
  252. <li class="blockList">
  253. <h4>getScale</h4>
  254. <pre>public&nbsp;int&nbsp;getScale()</pre>
  255. <div class="block">Returns SCALE.</div>
  256. <dl>
  257. <dt><span class="returnLabel">Returns:</span></dt>
  258. <dd>SCALE</dd>
  259. </dl>
  260. </li>
  261. </ul>
  262. <a name="getScaleDiv2--">
  263. <!-- -->
  264. </a>
  265. <ul class="blockList">
  266. <li class="blockList">
  267. <h4>getScaleDiv2</h4>
  268. <pre>public&nbsp;int&nbsp;getScaleDiv2()</pre>
  269. <div class="block">Returns SCALE Divided by 2.</div>
  270. <dl>
  271. <dt><span class="returnLabel">Returns:</span></dt>
  272. <dd>SCALE Divided by 2</dd>
  273. </dl>
  274. </li>
  275. </ul>
  276. <a name="setScale-int-">
  277. <!-- -->
  278. </a>
  279. <ul class="blockList">
  280. <li class="blockList">
  281. <h4>setScale</h4>
  282. <pre>public&nbsp;void&nbsp;setScale(int&nbsp;s)</pre>
  283. <div class="block">Changes the value of SCALE and SCALEDIV2.</div>
  284. <dl>
  285. <dt><span class="paramLabel">Parameters:</span></dt>
  286. <dd><code>s</code> - Scale</dd>
  287. </dl>
  288. </li>
  289. </ul>
  290. <a name="setCurIteration-int-">
  291. <!-- -->
  292. </a>
  293. <ul class="blockList">
  294. <li class="blockList">
  295. <h4>setCurIteration</h4>
  296. <pre>public&nbsp;void&nbsp;setCurIteration(int&nbsp;curit)</pre>
  297. <div class="block">sets the current Iteration.</div>
  298. <dl>
  299. <dt><span class="paramLabel">Parameters:</span></dt>
  300. <dd><code>curit</code> - the current Iteration</dd>
  301. </dl>
  302. </li>
  303. </ul>
  304. <a name="getNumbersOfSaves--">
  305. <!-- -->
  306. </a>
  307. <ul class="blockList">
  308. <li class="blockList">
  309. <h4>getNumbersOfSaves</h4>
  310. <pre>public&nbsp;int&nbsp;getNumbersOfSaves()</pre>
  311. <div class="block">Returns numberOfSaves.</div>
  312. <dl>
  313. <dt><span class="returnLabel">Returns:</span></dt>
  314. <dd>numberOfSaves</dd>
  315. </dl>
  316. </li>
  317. </ul>
  318. <a name="setNumberOfSaves-int-">
  319. <!-- -->
  320. </a>
  321. <ul class="blockList">
  322. <li class="blockList">
  323. <h4>setNumberOfSaves</h4>
  324. <pre>public&nbsp;void&nbsp;setNumberOfSaves(int&nbsp;numberofSaves)</pre>
  325. <div class="block">sets the max number of autosaves.</div>
  326. <dl>
  327. <dt><span class="paramLabel">Parameters:</span></dt>
  328. <dd><code>numberofSaves</code> - the max number of autosaves</dd>
  329. </dl>
  330. </li>
  331. </ul>
  332. <a name="setTimerSpeed-int-">
  333. <!-- -->
  334. </a>
  335. <ul class="blockList">
  336. <li class="blockList">
  337. <h4>setTimerSpeed</h4>
  338. <pre>public&nbsp;void&nbsp;setTimerSpeed(int&nbsp;t)</pre>
  339. <div class="block">Set the timerSpeed.</div>
  340. <dl>
  341. <dt><span class="paramLabel">Parameters:</span></dt>
  342. <dd><code>t</code> - Interval in ms</dd>
  343. </dl>
  344. </li>
  345. </ul>
  346. <a name="setIsSimulation-boolean-">
  347. <!-- -->
  348. </a>
  349. <ul class="blockListLast">
  350. <li class="blockList">
  351. <h4>setIsSimulation</h4>
  352. <pre>public&nbsp;void&nbsp;setIsSimulation(boolean&nbsp;b)</pre>
  353. <div class="block">Set isSimulation.</div>
  354. <dl>
  355. <dt><span class="paramLabel">Parameters:</span></dt>
  356. <dd><code>b</code> - boolean for for isSimulation</dd>
  357. </dl>
  358. </li>
  359. </ul>
  360. </li>
  361. </ul>
  362. </li>
  363. </ul>
  364. </div>
  365. </div>
  366. <!-- ========= END OF CLASS DATA ========= -->
  367. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  368. <div class="bottomNav"><a name="navbar.bottom">
  369. <!-- -->
  370. </a>
  371. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  372. <a name="navbar.bottom.firstrow">
  373. <!-- -->
  374. </a>
  375. <ul class="navList" title="Navigation">
  376. <li><a href="../../overview-summary.html">Overview</a></li>
  377. <li><a href="package-summary.html">Package</a></li>
  378. <li class="navBarCell1Rev">Class</li>
  379. <li><a href="class-use/GlobalController.html">Use</a></li>
  380. <li><a href="package-tree.html">Tree</a></li>
  381. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  382. <li><a href="../../index-files/index-1.html">Index</a></li>
  383. <li><a href="../../help-doc.html">Help</a></li>
  384. </ul>
  385. </div>
  386. <div class="subNav">
  387. <ul class="navList">
  388. <li><a href="../../ui/controller/Control.html" title="class in ui.controller"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  389. <li><a href="../../ui/controller/LoadController.html" title="class in ui.controller"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  390. </ul>
  391. <ul class="navList">
  392. <li><a href="../../index.html?ui/controller/GlobalController.html" target="_top">Frames</a></li>
  393. <li><a href="GlobalController.html" target="_top">No&nbsp;Frames</a></li>
  394. </ul>
  395. <ul class="navList" id="allclasses_navbar_bottom">
  396. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  397. </ul>
  398. <div>
  399. <script type="text/javascript"><!--
  400. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  401. if(window==top) {
  402. allClassesLink.style.display = "block";
  403. }
  404. else {
  405. allClassesLink.style.display = "none";
  406. }
  407. //-->
  408. </script>
  409. </div>
  410. <div>
  411. <ul class="subNavList">
  412. <li>Summary:&nbsp;</li>
  413. <li>Nested&nbsp;|&nbsp;</li>
  414. <li>Field&nbsp;|&nbsp;</li>
  415. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  416. <li><a href="#method.summary">Method</a></li>
  417. </ul>
  418. <ul class="subNavList">
  419. <li>Detail:&nbsp;</li>
  420. <li>Field&nbsp;|&nbsp;</li>
  421. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  422. <li><a href="#method.detail">Method</a></li>
  423. </ul>
  424. </div>
  425. <a name="skip.navbar.bottom">
  426. <!-- -->
  427. </a></div>
  428. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  429. </body>
  430. </html>