Model.html 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151
  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:13 CEST 2016 -->
  6. <title>Model</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="Model";
  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,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":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/Model.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>Prev&nbsp;Class</li>
  53. <li>Next&nbsp;Class</li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../index.html?ui/model/Model.html" target="_top">Frames</a></li>
  57. <li><a href="Model.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.model</div>
  96. <h2 title="Class Model" class="title">Class Model</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.model.Model</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">Model</span>
  113. extends java.lang.Object</pre>
  114. <div class="block">The Class Model is the class where everything is saved. All changes made to
  115. the Data is managed via a controller.</div>
  116. <dl>
  117. <dt><span class="simpleTagLabel">Author:</span></dt>
  118. <dd>Gruppe14</dd>
  119. </dl>
  120. </li>
  121. </ul>
  122. </div>
  123. <div class="summary">
  124. <ul class="blockList">
  125. <li class="blockList">
  126. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  127. <ul class="blockList">
  128. <li class="blockList"><a name="constructor.summary">
  129. <!-- -->
  130. </a>
  131. <h3>Constructor Summary</h3>
  132. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  133. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  134. <tr>
  135. <th class="colOne" scope="col">Constructor and Description</th>
  136. </tr>
  137. <tr class="altColor">
  138. <td class="colOne"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#Model--">Model</a></span>()</code>
  139. <div class="block">Constructor for the model.</div>
  140. </td>
  141. </tr>
  142. </table>
  143. </li>
  144. </ul>
  145. <!-- ========== METHOD SUMMARY =========== -->
  146. <ul class="blockList">
  147. <li class="blockList"><a name="method.summary">
  148. <!-- -->
  149. </a>
  150. <h3>Method Summary</h3>
  151. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  152. <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>
  153. <tr>
  154. <th class="colFirst" scope="col">Modifier and Type</th>
  155. <th class="colLast" scope="col">Method and Description</th>
  156. </tr>
  157. <tr id="i0" class="altColor">
  158. <td class="colFirst"><code>void</code></td>
  159. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#addEdgeOnCanvas-classes.CpsEdge-">addEdgeOnCanvas</a></span>(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;edge)</code>
  160. <div class="block">Adds an Edge to The Canvas.</div>
  161. </td>
  162. </tr>
  163. <tr id="i1" class="rowColor">
  164. <td class="colFirst"><code>int</code></td>
  165. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getAutoSaveNr--">getAutoSaveNr</a></span>()</code>
  166. <div class="block">Returns the auto save Number.</div>
  167. </td>
  168. </tr>
  169. <tr id="i2" class="altColor">
  170. <td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../classes/Category.html" title="class in classes">Category</a>&gt;</code></td>
  171. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getCategories--">getCategories</a></span>()</code>
  172. <div class="block">Returns all Categories.</div>
  173. </td>
  174. </tr>
  175. <tr id="i3" class="rowColor">
  176. <td class="colFirst"><code>java.util.List&lt;<a href="../../interfaces/CategoryListener.html" title="interface in interfaces">CategoryListener</a>&gt;</code></td>
  177. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getCategoryListeners--">getCategoryListeners</a></span>()</code>
  178. <div class="block">Returns the CategorieListener.</div>
  179. </td>
  180. </tr>
  181. <tr id="i4" class="altColor">
  182. <td class="colFirst"><code>java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;</code></td>
  183. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getCgIdx--">getCgIdx</a></span>()</code>
  184. <div class="block">Returns the Categorie Index.</div>
  185. </td>
  186. </tr>
  187. <tr id="i5" class="rowColor">
  188. <td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;</code></td>
  189. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getClipboradObjects--">getClipboradObjects</a></span>()</code>
  190. <div class="block">Returns all Objects in the Clipboard.</div>
  191. </td>
  192. </tr>
  193. <tr id="i6" class="altColor">
  194. <td class="colFirst"><code><a href="../../ui/view/Console.html" title="class in ui.view">Console</a></code></td>
  195. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getConsole--">getConsole</a></span>()</code>
  196. <div class="block">Returns the Console.</div>
  197. </td>
  198. </tr>
  199. <tr id="i7" class="rowColor">
  200. <td class="colFirst"><code>int</code></td>
  201. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getCurIteration--">getCurIteration</a></span>()</code>
  202. <div class="block">Returns cURiTERATION.</div>
  203. </td>
  204. </tr>
  205. <tr id="i8" class="altColor">
  206. <td class="colFirst"><code>java.util.HashMap&lt;java.lang.Integer,java.lang.Integer&gt;</code></td>
  207. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getCvsObjIdx--">getCvsObjIdx</a></span>()</code>
  208. <div class="block">Returns the CanvasObject Index.</div>
  209. </td>
  210. </tr>
  211. <tr id="i9" class="rowColor">
  212. <td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&gt;</code></td>
  213. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getEdgesOnCanvas--">getEdgesOnCanvas</a></span>()</code>
  214. <div class="block">Get all Edges on the Canvas.</div>
  215. </td>
  216. </tr>
  217. <tr id="i10" class="altColor">
  218. <td class="colFirst"><code>boolean</code></td>
  219. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getIsSimulation--">getIsSimulation</a></span>()</code>
  220. <div class="block">Returns the Simulation state (true = simulation, false = modeling).</div>
  221. </td>
  222. </tr>
  223. <tr id="i11" class="rowColor">
  224. <td class="colFirst"><code>int</code></td>
  225. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getIterations--">getIterations</a></span>()</code>
  226. <div class="block">Returns ITERATIONS.</div>
  227. </td>
  228. </tr>
  229. <tr id="i12" class="altColor">
  230. <td class="colFirst"><code>int</code></td>
  231. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getNumberOfSaves--">getNumberOfSaves</a></span>()</code>
  232. <div class="block">Returns the Number of Saves.</div>
  233. </td>
  234. </tr>
  235. <tr id="i13" class="rowColor">
  236. <td class="colFirst"><code>java.util.List&lt;<a href="../../interfaces/ObjectListener.html" title="interface in interfaces">ObjectListener</a>&gt;</code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getObjectListeners--">getObjectListeners</a></span>()</code>
  238. <div class="block">Returns the ObjectListener.</div>
  239. </td>
  240. </tr>
  241. <tr id="i14" class="altColor">
  242. <td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;</code></td>
  243. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getObjectsOnCanvas--">getObjectsOnCanvas</a></span>()</code>
  244. <div class="block">Returns all Objects on the Canvas.</div>
  245. </td>
  246. </tr>
  247. <tr id="i15" class="rowColor">
  248. <td class="colFirst"><code>int</code></td>
  249. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getScale--">getScale</a></span>()</code>
  250. <div class="block">Returns the sCale (Scale for the Images).</div>
  251. </td>
  252. </tr>
  253. <tr id="i16" class="altColor">
  254. <td class="colFirst"><code>int</code></td>
  255. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getScaleDiv2--">getScaleDiv2</a></span>()</code>
  256. <div class="block">Returns sCALEdIV2 (The Scale divided by 2).</div>
  257. </td>
  258. </tr>
  259. <tr id="i17" class="rowColor">
  260. <td class="colFirst"><code><a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a></code></td>
  261. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getSelectedCpsObject--">getSelectedCpsObject</a></span>()</code>
  262. <div class="block">Returns the Selected Cps Object.</div>
  263. </td>
  264. </tr>
  265. <tr id="i18" class="altColor">
  266. <td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;</code></td>
  267. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getSelectedCpsObjects--">getSelectedCpsObjects</a></span>()</code>
  268. <div class="block">Returns all selected Objects on the Canvas.</div>
  269. </td>
  270. </tr>
  271. <tr id="i19" class="rowColor">
  272. <td class="colFirst"><code><a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a></code></td>
  273. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getSelectedEdge--">getSelectedEdge</a></span>()</code>
  274. <div class="block">Returns the selected Edge.</div>
  275. </td>
  276. </tr>
  277. <tr id="i20" class="altColor">
  278. <td class="colFirst"><code><a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a></code></td>
  279. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getSelectedHolonElement--">getSelectedHolonElement</a></span>()</code>
  280. <div class="block">Returns the Selected Holon Element.</div>
  281. </td>
  282. </tr>
  283. <tr id="i21" class="rowColor">
  284. <td class="colFirst"><code>int</code></td>
  285. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getSelectedObjectID--">getSelectedObjectID</a></span>()</code>
  286. <div class="block">Returns the ID of the selected Object 0 = no Object is selected.</div>
  287. </td>
  288. </tr>
  289. <tr id="i22" class="altColor">
  290. <td class="colFirst"><code>int</code></td>
  291. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#getTimerSpeed--">getTimerSpeed</a></span>()</code>
  292. <div class="block">get the Interval in ms between each Iteration.</div>
  293. </td>
  294. </tr>
  295. <tr id="i23" class="rowColor">
  296. <td class="colFirst"><code>void</code></td>
  297. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#removeEdgesOnCanvas-classes.CpsEdge-">removeEdgesOnCanvas</a></span>(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;edge)</code>
  298. <div class="block">Remove an edge from the Canvas.</div>
  299. </td>
  300. </tr>
  301. <tr id="i24" class="altColor">
  302. <td class="colFirst"><code>void</code></td>
  303. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setAutoSaveNr-int-">setAutoSaveNr</a></span>(int&nbsp;autoSaveNr)</code>
  304. <div class="block">Sets the auto save Number.</div>
  305. </td>
  306. </tr>
  307. <tr id="i25" class="rowColor">
  308. <td class="colFirst"><code>void</code></td>
  309. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setCategories-java.util.ArrayList-">setCategories</a></span>(java.util.ArrayList&lt;<a href="../../classes/Category.html" title="class in classes">Category</a>&gt;&nbsp;categories)</code>
  310. <div class="block">Sets all Categories.</div>
  311. </td>
  312. </tr>
  313. <tr id="i26" class="altColor">
  314. <td class="colFirst"><code>void</code></td>
  315. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setCategoryListeners-java.util.LinkedList-">setCategoryListeners</a></span>(java.util.LinkedList&lt;<a href="../../interfaces/CategoryListener.html" title="interface in interfaces">CategoryListener</a>&gt;&nbsp;linkedList)</code>
  316. <div class="block">Sets the CategorieListener.</div>
  317. </td>
  318. </tr>
  319. <tr id="i27" class="rowColor">
  320. <td class="colFirst"><code>void</code></td>
  321. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setCgIdx-java.util.HashMap-">setCgIdx</a></span>(java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;&nbsp;cgIdx)</code>
  322. <div class="block">Sets the Categorie Index.</div>
  323. </td>
  324. </tr>
  325. <tr id="i28" class="altColor">
  326. <td class="colFirst"><code>void</code></td>
  327. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setClipboradObjects-java.util.ArrayList-">setClipboradObjects</a></span>(java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;c)</code>
  328. <div class="block">Sets the ClipboardObjects.</div>
  329. </td>
  330. </tr>
  331. <tr id="i29" class="rowColor">
  332. <td class="colFirst"><code>void</code></td>
  333. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setConsole-ui.view.Console-">setConsole</a></span>(<a href="../../ui/view/Console.html" title="class in ui.view">Console</a>&nbsp;console)</code>
  334. <div class="block">Sets the console.</div>
  335. </td>
  336. </tr>
  337. <tr id="i30" class="altColor">
  338. <td class="colFirst"><code>void</code></td>
  339. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setCurIteration-int-">setCurIteration</a></span>(int&nbsp;curIT)</code>
  340. <div class="block">sets the current Iteration.</div>
  341. </td>
  342. </tr>
  343. <tr id="i31" class="rowColor">
  344. <td class="colFirst"><code>void</code></td>
  345. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setCvsObjIdx-java.util.HashMap-">setCvsObjIdx</a></span>(java.util.HashMap&lt;java.lang.Integer,java.lang.Integer&gt;&nbsp;cvsObjIdx)</code>
  346. <div class="block">Sets the CanvasObject Index.</div>
  347. </td>
  348. </tr>
  349. <tr id="i32" class="altColor">
  350. <td class="colFirst"><code>void</code></td>
  351. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setEdgesOnCanvas-java.util.ArrayList-">setEdgesOnCanvas</a></span>(java.util.ArrayList&lt;<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&gt;&nbsp;arrayList)</code>
  352. <div class="block">Sets the edges on the Canvas.</div>
  353. </td>
  354. </tr>
  355. <tr id="i33" class="rowColor">
  356. <td class="colFirst"><code>void</code></td>
  357. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setIsSimulation-boolean-">setIsSimulation</a></span>(boolean&nbsp;isSimulation)</code>
  358. <div class="block">Sets the Simulation state (true = simulation, false = modeling).</div>
  359. </td>
  360. </tr>
  361. <tr id="i34" class="altColor">
  362. <td class="colFirst"><code>void</code></td>
  363. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setNumberOfSaves-int-">setNumberOfSaves</a></span>(int&nbsp;numberOfSaves)</code>
  364. <div class="block">Set the Number of Saves.</div>
  365. </td>
  366. </tr>
  367. <tr id="i35" class="rowColor">
  368. <td class="colFirst"><code>void</code></td>
  369. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setObjectListeners-java.util.LinkedList-">setObjectListeners</a></span>(java.util.LinkedList&lt;<a href="../../interfaces/ObjectListener.html" title="interface in interfaces">ObjectListener</a>&gt;&nbsp;linkedList)</code>
  370. <div class="block">Sets the ObjectListener.</div>
  371. </td>
  372. </tr>
  373. <tr id="i36" class="altColor">
  374. <td class="colFirst"><code>void</code></td>
  375. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setObjectsOnCanvas-java.util.ArrayList-">setObjectsOnCanvas</a></span>(java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;objectsOnCanvas)</code>
  376. <div class="block">Sets all Objects on the Canvas.</div>
  377. </td>
  378. </tr>
  379. <tr id="i37" class="rowColor">
  380. <td class="colFirst"><code>void</code></td>
  381. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setScale-int-">setScale</a></span>(int&nbsp;scale)</code>
  382. <div class="block">Sets the Image Scale.</div>
  383. </td>
  384. </tr>
  385. <tr id="i38" class="altColor">
  386. <td class="colFirst"><code>void</code></td>
  387. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setSelectedCpsObject-classes.AbstractCpsObject-">setSelectedCpsObject</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;selectedCpsObject)</code>
  388. <div class="block">Set the Selected Objecs.</div>
  389. </td>
  390. </tr>
  391. <tr id="i39" class="rowColor">
  392. <td class="colFirst"><code>void</code></td>
  393. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setSelectedEdge-classes.CpsEdge-">setSelectedEdge</a></span>(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;edge)</code>
  394. <div class="block">Set the selected Edge.</div>
  395. </td>
  396. </tr>
  397. <tr id="i40" class="altColor">
  398. <td class="colFirst"><code>void</code></td>
  399. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setSelectedHolonElement-classes.HolonElement-">setSelectedHolonElement</a></span>(<a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;selectedHolonElement)</code>
  400. <div class="block">Sets the Selecte HolonElement.</div>
  401. </td>
  402. </tr>
  403. <tr id="i41" class="rowColor">
  404. <td class="colFirst"><code>void</code></td>
  405. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setSelectedObjectID-int-">setSelectedObjectID</a></span>(int&nbsp;id)</code>
  406. <div class="block">Set the ID of the selected Object 0 = no Object is selected.</div>
  407. </td>
  408. </tr>
  409. <tr id="i42" class="altColor">
  410. <td class="colFirst"><code>void</code></td>
  411. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#setTimerSpeed-int-">setTimerSpeed</a></span>(int&nbsp;t)</code>
  412. <div class="block">Sets the Interval in ms between each Iteration.</div>
  413. </td>
  414. </tr>
  415. <tr id="i43" class="rowColor">
  416. <td class="colFirst"><code>java.lang.String</code></td>
  417. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/model/Model.html#toStringCat--">toStringCat</a></span>()</code>
  418. <div class="block">Transform the Arraylist of categories into a string of all objectName
  419. with a separation (',') between each name.</div>
  420. </td>
  421. </tr>
  422. </table>
  423. <ul class="blockList">
  424. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  425. <!-- -->
  426. </a>
  427. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  428. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  429. </ul>
  430. </li>
  431. </ul>
  432. </li>
  433. </ul>
  434. </div>
  435. <div class="details">
  436. <ul class="blockList">
  437. <li class="blockList">
  438. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  439. <ul class="blockList">
  440. <li class="blockList"><a name="constructor.detail">
  441. <!-- -->
  442. </a>
  443. <h3>Constructor Detail</h3>
  444. <a name="Model--">
  445. <!-- -->
  446. </a>
  447. <ul class="blockListLast">
  448. <li class="blockList">
  449. <h4>Model</h4>
  450. <pre>public&nbsp;Model()</pre>
  451. <div class="block">Constructor for the model. It initializes the categories and
  452. objectsOnCanvas by default values. Listeners are also initialized by
  453. default values.</div>
  454. </li>
  455. </ul>
  456. </li>
  457. </ul>
  458. <!-- ============ METHOD DETAIL ========== -->
  459. <ul class="blockList">
  460. <li class="blockList"><a name="method.detail">
  461. <!-- -->
  462. </a>
  463. <h3>Method Detail</h3>
  464. <a name="getCategories--">
  465. <!-- -->
  466. </a>
  467. <ul class="blockList">
  468. <li class="blockList">
  469. <h4>getCategories</h4>
  470. <pre>public&nbsp;java.util.ArrayList&lt;<a href="../../classes/Category.html" title="class in classes">Category</a>&gt;&nbsp;getCategories()</pre>
  471. <div class="block">Returns all Categories.</div>
  472. <dl>
  473. <dt><span class="returnLabel">Returns:</span></dt>
  474. <dd>the categories</dd>
  475. </dl>
  476. </li>
  477. </ul>
  478. <a name="setCategories-java.util.ArrayList-">
  479. <!-- -->
  480. </a>
  481. <ul class="blockList">
  482. <li class="blockList">
  483. <h4>setCategories</h4>
  484. <pre>public&nbsp;void&nbsp;setCategories(java.util.ArrayList&lt;<a href="../../classes/Category.html" title="class in classes">Category</a>&gt;&nbsp;categories)</pre>
  485. <div class="block">Sets all Categories.</div>
  486. <dl>
  487. <dt><span class="paramLabel">Parameters:</span></dt>
  488. <dd><code>categories</code> - the categories to set</dd>
  489. </dl>
  490. </li>
  491. </ul>
  492. <a name="toStringCat--">
  493. <!-- -->
  494. </a>
  495. <ul class="blockList">
  496. <li class="blockList">
  497. <h4>toStringCat</h4>
  498. <pre>public&nbsp;java.lang.String&nbsp;toStringCat()</pre>
  499. <div class="block">Transform the Arraylist of categories into a string of all objectName
  500. with a separation (',') between each name.</div>
  501. <dl>
  502. <dt><span class="returnLabel">Returns:</span></dt>
  503. <dd>String of all names separeted by ','</dd>
  504. </dl>
  505. </li>
  506. </ul>
  507. <a name="getObjectsOnCanvas--">
  508. <!-- -->
  509. </a>
  510. <ul class="blockList">
  511. <li class="blockList">
  512. <h4>getObjectsOnCanvas</h4>
  513. <pre>public&nbsp;java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;getObjectsOnCanvas()</pre>
  514. <div class="block">Returns all Objects on the Canvas.</div>
  515. <dl>
  516. <dt><span class="returnLabel">Returns:</span></dt>
  517. <dd>the objectsOnCanvas</dd>
  518. </dl>
  519. </li>
  520. </ul>
  521. <a name="setObjectsOnCanvas-java.util.ArrayList-">
  522. <!-- -->
  523. </a>
  524. <ul class="blockList">
  525. <li class="blockList">
  526. <h4>setObjectsOnCanvas</h4>
  527. <pre>public&nbsp;void&nbsp;setObjectsOnCanvas(java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;objectsOnCanvas)</pre>
  528. <div class="block">Sets all Objects on the Canvas.</div>
  529. <dl>
  530. <dt><span class="paramLabel">Parameters:</span></dt>
  531. <dd><code>objectsOnCanvas</code> - the objectsOnCanvas to set</dd>
  532. </dl>
  533. </li>
  534. </ul>
  535. <a name="getEdgesOnCanvas--">
  536. <!-- -->
  537. </a>
  538. <ul class="blockList">
  539. <li class="blockList">
  540. <h4>getEdgesOnCanvas</h4>
  541. <pre>public&nbsp;java.util.ArrayList&lt;<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&gt;&nbsp;getEdgesOnCanvas()</pre>
  542. <div class="block">Get all Edges on the Canvas.</div>
  543. <dl>
  544. <dt><span class="returnLabel">Returns:</span></dt>
  545. <dd>the objectsOnCanvas</dd>
  546. </dl>
  547. </li>
  548. </ul>
  549. <a name="addEdgeOnCanvas-classes.CpsEdge-">
  550. <!-- -->
  551. </a>
  552. <ul class="blockList">
  553. <li class="blockList">
  554. <h4>addEdgeOnCanvas</h4>
  555. <pre>public&nbsp;void&nbsp;addEdgeOnCanvas(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;edge)</pre>
  556. <div class="block">Adds an Edge to The Canvas.</div>
  557. <dl>
  558. <dt><span class="paramLabel">Parameters:</span></dt>
  559. <dd><code>edge</code> - the edgesOnCanvas to add</dd>
  560. </dl>
  561. </li>
  562. </ul>
  563. <a name="removeEdgesOnCanvas-classes.CpsEdge-">
  564. <!-- -->
  565. </a>
  566. <ul class="blockList">
  567. <li class="blockList">
  568. <h4>removeEdgesOnCanvas</h4>
  569. <pre>public&nbsp;void&nbsp;removeEdgesOnCanvas(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;edge)</pre>
  570. <div class="block">Remove an edge from the Canvas.</div>
  571. <dl>
  572. <dt><span class="paramLabel">Parameters:</span></dt>
  573. <dd><code>edge</code> - the edge to remove</dd>
  574. </dl>
  575. </li>
  576. </ul>
  577. <a name="setEdgesOnCanvas-java.util.ArrayList-">
  578. <!-- -->
  579. </a>
  580. <ul class="blockList">
  581. <li class="blockList">
  582. <h4>setEdgesOnCanvas</h4>
  583. <pre>public&nbsp;void&nbsp;setEdgesOnCanvas(java.util.ArrayList&lt;<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&gt;&nbsp;arrayList)</pre>
  584. <div class="block">Sets the edges on the Canvas.</div>
  585. <dl>
  586. <dt><span class="paramLabel">Parameters:</span></dt>
  587. <dd><code>arrayList</code> - the edgesOnCanvas to set</dd>
  588. </dl>
  589. </li>
  590. </ul>
  591. <a name="getObjectListeners--">
  592. <!-- -->
  593. </a>
  594. <ul class="blockList">
  595. <li class="blockList">
  596. <h4>getObjectListeners</h4>
  597. <pre>public&nbsp;java.util.List&lt;<a href="../../interfaces/ObjectListener.html" title="interface in interfaces">ObjectListener</a>&gt;&nbsp;getObjectListeners()</pre>
  598. <div class="block">Returns the ObjectListener.</div>
  599. <dl>
  600. <dt><span class="returnLabel">Returns:</span></dt>
  601. <dd>the objectListeners</dd>
  602. </dl>
  603. </li>
  604. </ul>
  605. <a name="setObjectListeners-java.util.LinkedList-">
  606. <!-- -->
  607. </a>
  608. <ul class="blockList">
  609. <li class="blockList">
  610. <h4>setObjectListeners</h4>
  611. <pre>public&nbsp;void&nbsp;setObjectListeners(java.util.LinkedList&lt;<a href="../../interfaces/ObjectListener.html" title="interface in interfaces">ObjectListener</a>&gt;&nbsp;linkedList)</pre>
  612. <div class="block">Sets the ObjectListener.</div>
  613. <dl>
  614. <dt><span class="paramLabel">Parameters:</span></dt>
  615. <dd><code>linkedList</code> - the objectListeners to set</dd>
  616. </dl>
  617. </li>
  618. </ul>
  619. <a name="getCategoryListeners--">
  620. <!-- -->
  621. </a>
  622. <ul class="blockList">
  623. <li class="blockList">
  624. <h4>getCategoryListeners</h4>
  625. <pre>public&nbsp;java.util.List&lt;<a href="../../interfaces/CategoryListener.html" title="interface in interfaces">CategoryListener</a>&gt;&nbsp;getCategoryListeners()</pre>
  626. <div class="block">Returns the CategorieListener.</div>
  627. <dl>
  628. <dt><span class="returnLabel">Returns:</span></dt>
  629. <dd>the categoryListeners</dd>
  630. </dl>
  631. </li>
  632. </ul>
  633. <a name="setCategoryListeners-java.util.LinkedList-">
  634. <!-- -->
  635. </a>
  636. <ul class="blockList">
  637. <li class="blockList">
  638. <h4>setCategoryListeners</h4>
  639. <pre>public&nbsp;void&nbsp;setCategoryListeners(java.util.LinkedList&lt;<a href="../../interfaces/CategoryListener.html" title="interface in interfaces">CategoryListener</a>&gt;&nbsp;linkedList)</pre>
  640. <div class="block">Sets the CategorieListener.</div>
  641. <dl>
  642. <dt><span class="paramLabel">Parameters:</span></dt>
  643. <dd><code>linkedList</code> - the categoryListeners to set</dd>
  644. </dl>
  645. </li>
  646. </ul>
  647. <a name="setSelectedObjectID-int-">
  648. <!-- -->
  649. </a>
  650. <ul class="blockList">
  651. <li class="blockList">
  652. <h4>setSelectedObjectID</h4>
  653. <pre>public&nbsp;void&nbsp;setSelectedObjectID(int&nbsp;id)</pre>
  654. <div class="block">Set the ID of the selected Object 0 = no Object is selected.</div>
  655. <dl>
  656. <dt><span class="paramLabel">Parameters:</span></dt>
  657. <dd><code>id</code> - the ID</dd>
  658. </dl>
  659. </li>
  660. </ul>
  661. <a name="getSelectedObjectID--">
  662. <!-- -->
  663. </a>
  664. <ul class="blockList">
  665. <li class="blockList">
  666. <h4>getSelectedObjectID</h4>
  667. <pre>public&nbsp;int&nbsp;getSelectedObjectID()</pre>
  668. <div class="block">Returns the ID of the selected Object 0 = no Object is selected.</div>
  669. <dl>
  670. <dt><span class="returnLabel">Returns:</span></dt>
  671. <dd>ID</dd>
  672. </dl>
  673. </li>
  674. </ul>
  675. <a name="getSelectedCpsObject--">
  676. <!-- -->
  677. </a>
  678. <ul class="blockList">
  679. <li class="blockList">
  680. <h4>getSelectedCpsObject</h4>
  681. <pre>public&nbsp;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;getSelectedCpsObject()</pre>
  682. <div class="block">Returns the Selected Cps Object.</div>
  683. <dl>
  684. <dt><span class="returnLabel">Returns:</span></dt>
  685. <dd>selected Cps Object</dd>
  686. </dl>
  687. </li>
  688. </ul>
  689. <a name="setSelectedCpsObject-classes.AbstractCpsObject-">
  690. <!-- -->
  691. </a>
  692. <ul class="blockList">
  693. <li class="blockList">
  694. <h4>setSelectedCpsObject</h4>
  695. <pre>public&nbsp;void&nbsp;setSelectedCpsObject(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;selectedCpsObject)</pre>
  696. <div class="block">Set the Selected Objecs.</div>
  697. <dl>
  698. <dt><span class="paramLabel">Parameters:</span></dt>
  699. <dd><code>selectedCpsObject</code> - Objects that are selected</dd>
  700. </dl>
  701. </li>
  702. </ul>
  703. <a name="getSelectedCpsObjects--">
  704. <!-- -->
  705. </a>
  706. <ul class="blockList">
  707. <li class="blockList">
  708. <h4>getSelectedCpsObjects</h4>
  709. <pre>public&nbsp;java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;getSelectedCpsObjects()</pre>
  710. <div class="block">Returns all selected Objects on the Canvas.</div>
  711. <dl>
  712. <dt><span class="returnLabel">Returns:</span></dt>
  713. <dd>The selected Objects</dd>
  714. </dl>
  715. </li>
  716. </ul>
  717. <a name="getSelectedHolonElement--">
  718. <!-- -->
  719. </a>
  720. <ul class="blockList">
  721. <li class="blockList">
  722. <h4>getSelectedHolonElement</h4>
  723. <pre>public&nbsp;<a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;getSelectedHolonElement()</pre>
  724. <div class="block">Returns the Selected Holon Element.</div>
  725. <dl>
  726. <dt><span class="returnLabel">Returns:</span></dt>
  727. <dd>selected Holon Element</dd>
  728. </dl>
  729. </li>
  730. </ul>
  731. <a name="setSelectedHolonElement-classes.HolonElement-">
  732. <!-- -->
  733. </a>
  734. <ul class="blockList">
  735. <li class="blockList">
  736. <h4>setSelectedHolonElement</h4>
  737. <pre>public&nbsp;void&nbsp;setSelectedHolonElement(<a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;selectedHolonElement)</pre>
  738. <div class="block">Sets the Selecte HolonElement.</div>
  739. <dl>
  740. <dt><span class="paramLabel">Parameters:</span></dt>
  741. <dd><code>selectedHolonElement</code> - that is Selected</dd>
  742. </dl>
  743. </li>
  744. </ul>
  745. <a name="getScale--">
  746. <!-- -->
  747. </a>
  748. <ul class="blockList">
  749. <li class="blockList">
  750. <h4>getScale</h4>
  751. <pre>public&nbsp;int&nbsp;getScale()</pre>
  752. <div class="block">Returns the sCale (Scale for the Images).</div>
  753. <dl>
  754. <dt><span class="returnLabel">Returns:</span></dt>
  755. <dd>sCALE</dd>
  756. </dl>
  757. </li>
  758. </ul>
  759. <a name="getScaleDiv2--">
  760. <!-- -->
  761. </a>
  762. <ul class="blockList">
  763. <li class="blockList">
  764. <h4>getScaleDiv2</h4>
  765. <pre>public&nbsp;int&nbsp;getScaleDiv2()</pre>
  766. <div class="block">Returns sCALEdIV2 (The Scale divided by 2).</div>
  767. <dl>
  768. <dt><span class="returnLabel">Returns:</span></dt>
  769. <dd>sCALEdIV2</dd>
  770. </dl>
  771. </li>
  772. </ul>
  773. <a name="setScale-int-">
  774. <!-- -->
  775. </a>
  776. <ul class="blockList">
  777. <li class="blockList">
  778. <h4>setScale</h4>
  779. <pre>public&nbsp;void&nbsp;setScale(int&nbsp;scale)</pre>
  780. <div class="block">Sets the Image Scale.</div>
  781. <dl>
  782. <dt><span class="paramLabel">Parameters:</span></dt>
  783. <dd><code>scale</code> - for the image</dd>
  784. </dl>
  785. </li>
  786. </ul>
  787. <a name="getIterations--">
  788. <!-- -->
  789. </a>
  790. <ul class="blockList">
  791. <li class="blockList">
  792. <h4>getIterations</h4>
  793. <pre>public&nbsp;int&nbsp;getIterations()</pre>
  794. <div class="block">Returns ITERATIONS.</div>
  795. <dl>
  796. <dt><span class="returnLabel">Returns:</span></dt>
  797. <dd>ITERATIONS</dd>
  798. </dl>
  799. </li>
  800. </ul>
  801. <a name="setCurIteration-int-">
  802. <!-- -->
  803. </a>
  804. <ul class="blockList">
  805. <li class="blockList">
  806. <h4>setCurIteration</h4>
  807. <pre>public&nbsp;void&nbsp;setCurIteration(int&nbsp;curIT)</pre>
  808. <div class="block">sets the current Iteration.</div>
  809. <dl>
  810. <dt><span class="paramLabel">Parameters:</span></dt>
  811. <dd><code>curIT</code> - the current Iteration</dd>
  812. </dl>
  813. </li>
  814. </ul>
  815. <a name="getCurIteration--">
  816. <!-- -->
  817. </a>
  818. <ul class="blockList">
  819. <li class="blockList">
  820. <h4>getCurIteration</h4>
  821. <pre>public&nbsp;int&nbsp;getCurIteration()</pre>
  822. <div class="block">Returns cURiTERATION.</div>
  823. <dl>
  824. <dt><span class="returnLabel">Returns:</span></dt>
  825. <dd>cURiTERATION</dd>
  826. </dl>
  827. </li>
  828. </ul>
  829. <a name="setSelectedEdge-classes.CpsEdge-">
  830. <!-- -->
  831. </a>
  832. <ul class="blockList">
  833. <li class="blockList">
  834. <h4>setSelectedEdge</h4>
  835. <pre>public&nbsp;void&nbsp;setSelectedEdge(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;edge)</pre>
  836. <div class="block">Set the selected Edge.</div>
  837. <dl>
  838. <dt><span class="paramLabel">Parameters:</span></dt>
  839. <dd><code>edge</code> - that is selected</dd>
  840. </dl>
  841. </li>
  842. </ul>
  843. <a name="getSelectedEdge--">
  844. <!-- -->
  845. </a>
  846. <ul class="blockList">
  847. <li class="blockList">
  848. <h4>getSelectedEdge</h4>
  849. <pre>public&nbsp;<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;getSelectedEdge()</pre>
  850. <div class="block">Returns the selected Edge.</div>
  851. <dl>
  852. <dt><span class="returnLabel">Returns:</span></dt>
  853. <dd>selectedEdge</dd>
  854. </dl>
  855. </li>
  856. </ul>
  857. <a name="getCgIdx--">
  858. <!-- -->
  859. </a>
  860. <ul class="blockList">
  861. <li class="blockList">
  862. <h4>getCgIdx</h4>
  863. <pre>public&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;&nbsp;getCgIdx()</pre>
  864. <div class="block">Returns the Categorie Index.</div>
  865. <dl>
  866. <dt><span class="returnLabel">Returns:</span></dt>
  867. <dd>the cgIdx</dd>
  868. </dl>
  869. </li>
  870. </ul>
  871. <a name="setCgIdx-java.util.HashMap-">
  872. <!-- -->
  873. </a>
  874. <ul class="blockList">
  875. <li class="blockList">
  876. <h4>setCgIdx</h4>
  877. <pre>public&nbsp;void&nbsp;setCgIdx(java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;&nbsp;cgIdx)</pre>
  878. <div class="block">Sets the Categorie Index.</div>
  879. <dl>
  880. <dt><span class="paramLabel">Parameters:</span></dt>
  881. <dd><code>cgIdx</code> - the cgIdx to set</dd>
  882. </dl>
  883. </li>
  884. </ul>
  885. <a name="getCvsObjIdx--">
  886. <!-- -->
  887. </a>
  888. <ul class="blockList">
  889. <li class="blockList">
  890. <h4>getCvsObjIdx</h4>
  891. <pre>public&nbsp;java.util.HashMap&lt;java.lang.Integer,java.lang.Integer&gt;&nbsp;getCvsObjIdx()</pre>
  892. <div class="block">Returns the CanvasObject Index.</div>
  893. <dl>
  894. <dt><span class="returnLabel">Returns:</span></dt>
  895. <dd>the cvsObjIdx</dd>
  896. </dl>
  897. </li>
  898. </ul>
  899. <a name="setCvsObjIdx-java.util.HashMap-">
  900. <!-- -->
  901. </a>
  902. <ul class="blockList">
  903. <li class="blockList">
  904. <h4>setCvsObjIdx</h4>
  905. <pre>public&nbsp;void&nbsp;setCvsObjIdx(java.util.HashMap&lt;java.lang.Integer,java.lang.Integer&gt;&nbsp;cvsObjIdx)</pre>
  906. <div class="block">Sets the CanvasObject Index.</div>
  907. <dl>
  908. <dt><span class="paramLabel">Parameters:</span></dt>
  909. <dd><code>cvsObjIdx</code> - the cvsObjIdx to set</dd>
  910. </dl>
  911. </li>
  912. </ul>
  913. <a name="setAutoSaveNr-int-">
  914. <!-- -->
  915. </a>
  916. <ul class="blockList">
  917. <li class="blockList">
  918. <h4>setAutoSaveNr</h4>
  919. <pre>public&nbsp;void&nbsp;setAutoSaveNr(int&nbsp;autoSaveNr)</pre>
  920. <div class="block">Sets the auto save Number.</div>
  921. <dl>
  922. <dt><span class="paramLabel">Parameters:</span></dt>
  923. <dd><code>autoSaveNr</code> - the auto save number</dd>
  924. </dl>
  925. </li>
  926. </ul>
  927. <a name="getAutoSaveNr--">
  928. <!-- -->
  929. </a>
  930. <ul class="blockList">
  931. <li class="blockList">
  932. <h4>getAutoSaveNr</h4>
  933. <pre>public&nbsp;int&nbsp;getAutoSaveNr()</pre>
  934. <div class="block">Returns the auto save Number.</div>
  935. <dl>
  936. <dt><span class="returnLabel">Returns:</span></dt>
  937. <dd>the auto save Number</dd>
  938. </dl>
  939. </li>
  940. </ul>
  941. <a name="getNumberOfSaves--">
  942. <!-- -->
  943. </a>
  944. <ul class="blockList">
  945. <li class="blockList">
  946. <h4>getNumberOfSaves</h4>
  947. <pre>public&nbsp;int&nbsp;getNumberOfSaves()</pre>
  948. <div class="block">Returns the Number of Saves.</div>
  949. <dl>
  950. <dt><span class="returnLabel">Returns:</span></dt>
  951. <dd>the numberOfSaves</dd>
  952. </dl>
  953. </li>
  954. </ul>
  955. <a name="setNumberOfSaves-int-">
  956. <!-- -->
  957. </a>
  958. <ul class="blockList">
  959. <li class="blockList">
  960. <h4>setNumberOfSaves</h4>
  961. <pre>public&nbsp;void&nbsp;setNumberOfSaves(int&nbsp;numberOfSaves)</pre>
  962. <div class="block">Set the Number of Saves.</div>
  963. <dl>
  964. <dt><span class="paramLabel">Parameters:</span></dt>
  965. <dd><code>numberOfSaves</code> - the numberOfSaves to set</dd>
  966. </dl>
  967. </li>
  968. </ul>
  969. <a name="setClipboradObjects-java.util.ArrayList-">
  970. <!-- -->
  971. </a>
  972. <ul class="blockList">
  973. <li class="blockList">
  974. <h4>setClipboradObjects</h4>
  975. <pre>public&nbsp;void&nbsp;setClipboradObjects(java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;c)</pre>
  976. <div class="block">Sets the ClipboardObjects.</div>
  977. <dl>
  978. <dt><span class="paramLabel">Parameters:</span></dt>
  979. <dd><code>c</code> - Array of Objects</dd>
  980. </dl>
  981. </li>
  982. </ul>
  983. <a name="getClipboradObjects--">
  984. <!-- -->
  985. </a>
  986. <ul class="blockList">
  987. <li class="blockList">
  988. <h4>getClipboradObjects</h4>
  989. <pre>public&nbsp;java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;getClipboradObjects()</pre>
  990. <div class="block">Returns all Objects in the Clipboard.</div>
  991. <dl>
  992. <dt><span class="returnLabel">Returns:</span></dt>
  993. <dd>Objects in the Clipboard</dd>
  994. </dl>
  995. </li>
  996. </ul>
  997. <a name="setConsole-ui.view.Console-">
  998. <!-- -->
  999. </a>
  1000. <ul class="blockList">
  1001. <li class="blockList">
  1002. <h4>setConsole</h4>
  1003. <pre>public&nbsp;void&nbsp;setConsole(<a href="../../ui/view/Console.html" title="class in ui.view">Console</a>&nbsp;console)</pre>
  1004. <div class="block">Sets the console.</div>
  1005. <dl>
  1006. <dt><span class="paramLabel">Parameters:</span></dt>
  1007. <dd><code>console</code> - the console</dd>
  1008. </dl>
  1009. </li>
  1010. </ul>
  1011. <a name="getConsole--">
  1012. <!-- -->
  1013. </a>
  1014. <ul class="blockList">
  1015. <li class="blockList">
  1016. <h4>getConsole</h4>
  1017. <pre>public&nbsp;<a href="../../ui/view/Console.html" title="class in ui.view">Console</a>&nbsp;getConsole()</pre>
  1018. <div class="block">Returns the Console.</div>
  1019. <dl>
  1020. <dt><span class="returnLabel">Returns:</span></dt>
  1021. <dd>console the console</dd>
  1022. </dl>
  1023. </li>
  1024. </ul>
  1025. <a name="setTimerSpeed-int-">
  1026. <!-- -->
  1027. </a>
  1028. <ul class="blockList">
  1029. <li class="blockList">
  1030. <h4>setTimerSpeed</h4>
  1031. <pre>public&nbsp;void&nbsp;setTimerSpeed(int&nbsp;t)</pre>
  1032. <div class="block">Sets the Interval in ms between each Iteration.</div>
  1033. <dl>
  1034. <dt><span class="paramLabel">Parameters:</span></dt>
  1035. <dd><code>t</code> - speed for the Iterations</dd>
  1036. </dl>
  1037. </li>
  1038. </ul>
  1039. <a name="getTimerSpeed--">
  1040. <!-- -->
  1041. </a>
  1042. <ul class="blockList">
  1043. <li class="blockList">
  1044. <h4>getTimerSpeed</h4>
  1045. <pre>public&nbsp;int&nbsp;getTimerSpeed()</pre>
  1046. <div class="block">get the Interval in ms between each Iteration.</div>
  1047. <dl>
  1048. <dt><span class="returnLabel">Returns:</span></dt>
  1049. <dd>timerSpeed speed for the Iterations</dd>
  1050. </dl>
  1051. </li>
  1052. </ul>
  1053. <a name="setIsSimulation-boolean-">
  1054. <!-- -->
  1055. </a>
  1056. <ul class="blockList">
  1057. <li class="blockList">
  1058. <h4>setIsSimulation</h4>
  1059. <pre>public&nbsp;void&nbsp;setIsSimulation(boolean&nbsp;isSimulation)</pre>
  1060. <div class="block">Sets the Simulation state (true = simulation, false = modeling).</div>
  1061. <dl>
  1062. <dt><span class="paramLabel">Parameters:</span></dt>
  1063. <dd><code>isSimulation</code> - boolean for for isSimulation</dd>
  1064. </dl>
  1065. </li>
  1066. </ul>
  1067. <a name="getIsSimulation--">
  1068. <!-- -->
  1069. </a>
  1070. <ul class="blockListLast">
  1071. <li class="blockList">
  1072. <h4>getIsSimulation</h4>
  1073. <pre>public&nbsp;boolean&nbsp;getIsSimulation()</pre>
  1074. <div class="block">Returns the Simulation state (true = simulation, false = modeling).</div>
  1075. <dl>
  1076. <dt><span class="returnLabel">Returns:</span></dt>
  1077. <dd>isSimulation boolean for for isSimulation</dd>
  1078. </dl>
  1079. </li>
  1080. </ul>
  1081. </li>
  1082. </ul>
  1083. </li>
  1084. </ul>
  1085. </div>
  1086. </div>
  1087. <!-- ========= END OF CLASS DATA ========= -->
  1088. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1089. <div class="bottomNav"><a name="navbar.bottom">
  1090. <!-- -->
  1091. </a>
  1092. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  1093. <a name="navbar.bottom.firstrow">
  1094. <!-- -->
  1095. </a>
  1096. <ul class="navList" title="Navigation">
  1097. <li><a href="../../overview-summary.html">Overview</a></li>
  1098. <li><a href="package-summary.html">Package</a></li>
  1099. <li class="navBarCell1Rev">Class</li>
  1100. <li><a href="class-use/Model.html">Use</a></li>
  1101. <li><a href="package-tree.html">Tree</a></li>
  1102. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  1103. <li><a href="../../index-files/index-1.html">Index</a></li>
  1104. <li><a href="../../help-doc.html">Help</a></li>
  1105. </ul>
  1106. </div>
  1107. <div class="subNav">
  1108. <ul class="navList">
  1109. <li>Prev&nbsp;Class</li>
  1110. <li>Next&nbsp;Class</li>
  1111. </ul>
  1112. <ul class="navList">
  1113. <li><a href="../../index.html?ui/model/Model.html" target="_top">Frames</a></li>
  1114. <li><a href="Model.html" target="_top">No&nbsp;Frames</a></li>
  1115. </ul>
  1116. <ul class="navList" id="allclasses_navbar_bottom">
  1117. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  1118. </ul>
  1119. <div>
  1120. <script type="text/javascript"><!--
  1121. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1122. if(window==top) {
  1123. allClassesLink.style.display = "block";
  1124. }
  1125. else {
  1126. allClassesLink.style.display = "none";
  1127. }
  1128. //-->
  1129. </script>
  1130. </div>
  1131. <div>
  1132. <ul class="subNavList">
  1133. <li>Summary:&nbsp;</li>
  1134. <li>Nested&nbsp;|&nbsp;</li>
  1135. <li>Field&nbsp;|&nbsp;</li>
  1136. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  1137. <li><a href="#method.summary">Method</a></li>
  1138. </ul>
  1139. <ul class="subNavList">
  1140. <li>Detail:&nbsp;</li>
  1141. <li>Field&nbsp;|&nbsp;</li>
  1142. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  1143. <li><a href="#method.detail">Method</a></li>
  1144. </ul>
  1145. </div>
  1146. <a name="skip.navbar.bottom">
  1147. <!-- -->
  1148. </a></div>
  1149. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1150. </body>
  1151. </html>