ObjectController.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  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>ObjectController</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="ObjectController";
  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};
  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/ObjectController.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/MultiPurposeController.html" title="class in ui.controller"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../ui/controller/SimulationManager.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/ObjectController.html" target="_top">Frames</a></li>
  57. <li><a href="ObjectController.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 ObjectController" class="title">Class ObjectController</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.ObjectController</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">ObjectController</span>
  113. extends java.lang.Object</pre>
  114. <div class="block">Controller for Objects.</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/ObjectController.html#ObjectController-ui.model.Model-ui.controller.MultiPurposeController-">ObjectController</a></span>(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;model,
  138. <a href="../../ui/controller/MultiPurposeController.html" title="class in ui.controller">MultiPurposeController</a>&nbsp;mp)</code>
  139. <div class="block">Constructor.</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/controller/ObjectController.html#addElement-classes.HolonObject-classes.HolonElement-">addElement</a></span>(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a>&nbsp;object,
  160. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;element)</code>
  161. <div class="block">Adds Element into a Object.</div>
  162. </td>
  163. </tr>
  164. <tr id="i1" class="rowColor">
  165. <td class="colFirst"><code>void</code></td>
  166. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#addElementIntoCanvasObject-classes.HolonObject-classes.HolonElement-">addElementIntoCanvasObject</a></span>(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a>&nbsp;object,
  167. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;element)</code>
  168. <div class="block">Adds Element into a Object on the Canvas.</div>
  169. </td>
  170. </tr>
  171. <tr id="i2" class="altColor">
  172. <td class="colFirst"><code>void</code></td>
  173. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#addElementIntoCategoryObject-java.lang.String-java.lang.String-classes.HolonElement-">addElementIntoCategoryObject</a></span>(java.lang.String&nbsp;category,
  174. java.lang.String&nbsp;object,
  175. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;element)</code>
  176. <div class="block">Add Element into a Object in Category.</div>
  177. </td>
  178. </tr>
  179. <tr id="i3" class="rowColor">
  180. <td class="colFirst"><code>void</code></td>
  181. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#addNewElementIntoCanvasObject-int-java.lang.String-int-float-">addNewElementIntoCanvasObject</a></span>(int&nbsp;id,
  182. java.lang.String&nbsp;element,
  183. int&nbsp;amount,
  184. float&nbsp;energy)</code>
  185. <div class="block">Add a new Element into a Object on the Canvas.</div>
  186. </td>
  187. </tr>
  188. <tr id="i4" class="altColor">
  189. <td class="colFirst"><code>void</code></td>
  190. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#addNewElementIntoCategoryObject-java.lang.String-java.lang.String-java.lang.String-int-float-">addNewElementIntoCategoryObject</a></span>(java.lang.String&nbsp;category,
  191. java.lang.String&nbsp;object,
  192. java.lang.String&nbsp;element,
  193. int&nbsp;amount,
  194. float&nbsp;energy)</code>
  195. <div class="block">Add a new Element into a Object in Category.</div>
  196. </td>
  197. </tr>
  198. <tr id="i5" class="rowColor">
  199. <td class="colFirst"><code>void</code></td>
  200. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#addSelectedObject-classes.AbstractCpsObject-">addSelectedObject</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;obj)</code>
  201. <div class="block">add an Object to selectedObject.</div>
  202. </td>
  203. </tr>
  204. <tr id="i6" class="altColor">
  205. <td class="colFirst"><code>void</code></td>
  206. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#deleteElement-classes.HolonObject-classes.HolonElement-">deleteElement</a></span>(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a>&nbsp;obj,
  207. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;ele)</code>
  208. <div class="block">deletes a Element from a given Object.</div>
  209. </td>
  210. </tr>
  211. <tr id="i7" class="rowColor">
  212. <td class="colFirst"><code>void</code></td>
  213. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#deleteElementInCanvas-int-int-">deleteElementInCanvas</a></span>(int&nbsp;id,
  214. int&nbsp;eleid)</code>
  215. <div class="block">deletes a Element from a given Canvas Object.</div>
  216. </td>
  217. </tr>
  218. <tr id="i8" class="altColor">
  219. <td class="colFirst"><code>void</code></td>
  220. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#deleteElementInCategory-java.lang.String-java.lang.String-java.lang.String-">deleteElementInCategory</a></span>(java.lang.String&nbsp;cat,
  221. java.lang.String&nbsp;obj,
  222. java.lang.String&nbsp;ele)</code>
  223. <div class="block">deletes a Element from a given Category Object.</div>
  224. </td>
  225. </tr>
  226. <tr id="i9" class="rowColor">
  227. <td class="colFirst"><code>void</code></td>
  228. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#deleteSelectedObject-classes.AbstractCpsObject-">deleteSelectedObject</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;obj)</code>
  229. <div class="block">deletes a selectedObject.</div>
  230. </td>
  231. </tr>
  232. <tr id="i10" class="altColor">
  233. <td class="colFirst"><code>void</code></td>
  234. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#initHolonElements--">initHolonElements</a></span>()</code>
  235. <div class="block">init default Power supply of the Power Plant.</div>
  236. </td>
  237. </tr>
  238. <tr id="i11" class="rowColor">
  239. <td class="colFirst"><code>void</code></td>
  240. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#setClipboardObjects-java.util.ArrayList-">setClipboardObjects</a></span>(java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;list)</code>
  241. <div class="block">sets clipBoardObjects.</div>
  242. </td>
  243. </tr>
  244. <tr id="i12" class="altColor">
  245. <td class="colFirst"><code>void</code></td>
  246. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/ObjectController.html#setSelectedObjectID-int-">setSelectedObjectID</a></span>(int&nbsp;id)</code>
  247. <div class="block">Returns the ID of the selected Object 0 = no Object is selected.</div>
  248. </td>
  249. </tr>
  250. </table>
  251. <ul class="blockList">
  252. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  253. <!-- -->
  254. </a>
  255. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  256. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  257. </ul>
  258. </li>
  259. </ul>
  260. </li>
  261. </ul>
  262. </div>
  263. <div class="details">
  264. <ul class="blockList">
  265. <li class="blockList">
  266. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  267. <ul class="blockList">
  268. <li class="blockList"><a name="constructor.detail">
  269. <!-- -->
  270. </a>
  271. <h3>Constructor Detail</h3>
  272. <a name="ObjectController-ui.model.Model-ui.controller.MultiPurposeController-">
  273. <!-- -->
  274. </a>
  275. <ul class="blockListLast">
  276. <li class="blockList">
  277. <h4>ObjectController</h4>
  278. <pre>public&nbsp;ObjectController(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;model,
  279. <a href="../../ui/controller/MultiPurposeController.html" title="class in ui.controller">MultiPurposeController</a>&nbsp;mp)</pre>
  280. <div class="block">Constructor.</div>
  281. <dl>
  282. <dt><span class="paramLabel">Parameters:</span></dt>
  283. <dd><code>model</code> - Model</dd>
  284. <dd><code>mp</code> - MultiPurposeController</dd>
  285. </dl>
  286. </li>
  287. </ul>
  288. </li>
  289. </ul>
  290. <!-- ============ METHOD DETAIL ========== -->
  291. <ul class="blockList">
  292. <li class="blockList"><a name="method.detail">
  293. <!-- -->
  294. </a>
  295. <h3>Method Detail</h3>
  296. <a name="initHolonElements--">
  297. <!-- -->
  298. </a>
  299. <ul class="blockList">
  300. <li class="blockList">
  301. <h4>initHolonElements</h4>
  302. <pre>public&nbsp;void&nbsp;initHolonElements()</pre>
  303. <div class="block">init default Power supply of the Power Plant.</div>
  304. </li>
  305. </ul>
  306. <a name="addElement-classes.HolonObject-classes.HolonElement-">
  307. <!-- -->
  308. </a>
  309. <ul class="blockList">
  310. <li class="blockList">
  311. <h4>addElement</h4>
  312. <pre>public&nbsp;void&nbsp;addElement(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a>&nbsp;object,
  313. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;element)</pre>
  314. <div class="block">Adds Element into a Object.</div>
  315. <dl>
  316. <dt><span class="paramLabel">Parameters:</span></dt>
  317. <dd><code>object</code> - the Object</dd>
  318. <dd><code>element</code> - the Element</dd>
  319. </dl>
  320. </li>
  321. </ul>
  322. <a name="addElementIntoCanvasObject-classes.HolonObject-classes.HolonElement-">
  323. <!-- -->
  324. </a>
  325. <ul class="blockList">
  326. <li class="blockList">
  327. <h4>addElementIntoCanvasObject</h4>
  328. <pre>public&nbsp;void&nbsp;addElementIntoCanvasObject(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a>&nbsp;object,
  329. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;element)</pre>
  330. <div class="block">Adds Element into a Object on the Canvas.</div>
  331. <dl>
  332. <dt><span class="paramLabel">Parameters:</span></dt>
  333. <dd><code>object</code> - the Object</dd>
  334. <dd><code>element</code> - the Element</dd>
  335. </dl>
  336. </li>
  337. </ul>
  338. <a name="addNewElementIntoCanvasObject-int-java.lang.String-int-float-">
  339. <!-- -->
  340. </a>
  341. <ul class="blockList">
  342. <li class="blockList">
  343. <h4>addNewElementIntoCanvasObject</h4>
  344. <pre>public&nbsp;void&nbsp;addNewElementIntoCanvasObject(int&nbsp;id,
  345. java.lang.String&nbsp;element,
  346. int&nbsp;amount,
  347. float&nbsp;energy)</pre>
  348. <div class="block">Add a new Element into a Object on the Canvas.</div>
  349. <dl>
  350. <dt><span class="paramLabel">Parameters:</span></dt>
  351. <dd><code>id</code> - the Object ID</dd>
  352. <dd><code>element</code> - the Name of the Element</dd>
  353. <dd><code>amount</code> - the Amount</dd>
  354. <dd><code>energy</code> - the Energy</dd>
  355. </dl>
  356. </li>
  357. </ul>
  358. <a name="addElementIntoCategoryObject-java.lang.String-java.lang.String-classes.HolonElement-">
  359. <!-- -->
  360. </a>
  361. <ul class="blockList">
  362. <li class="blockList">
  363. <h4>addElementIntoCategoryObject</h4>
  364. <pre>public&nbsp;void&nbsp;addElementIntoCategoryObject(java.lang.String&nbsp;category,
  365. java.lang.String&nbsp;object,
  366. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;element)</pre>
  367. <div class="block">Add Element into a Object in Category.</div>
  368. <dl>
  369. <dt><span class="paramLabel">Parameters:</span></dt>
  370. <dd><code>category</code> - the Category</dd>
  371. <dd><code>object</code> - the Object</dd>
  372. <dd><code>element</code> - the Element</dd>
  373. </dl>
  374. </li>
  375. </ul>
  376. <a name="addNewElementIntoCategoryObject-java.lang.String-java.lang.String-java.lang.String-int-float-">
  377. <!-- -->
  378. </a>
  379. <ul class="blockList">
  380. <li class="blockList">
  381. <h4>addNewElementIntoCategoryObject</h4>
  382. <pre>public&nbsp;void&nbsp;addNewElementIntoCategoryObject(java.lang.String&nbsp;category,
  383. java.lang.String&nbsp;object,
  384. java.lang.String&nbsp;element,
  385. int&nbsp;amount,
  386. float&nbsp;energy)</pre>
  387. <div class="block">Add a new Element into a Object in Category.</div>
  388. <dl>
  389. <dt><span class="paramLabel">Parameters:</span></dt>
  390. <dd><code>category</code> - the Category</dd>
  391. <dd><code>object</code> - the Object</dd>
  392. <dd><code>element</code> - the Element Name</dd>
  393. <dd><code>energy</code> - the Energy</dd>
  394. <dd><code>amount</code> - the amount</dd>
  395. </dl>
  396. </li>
  397. </ul>
  398. <a name="deleteElement-classes.HolonObject-classes.HolonElement-">
  399. <!-- -->
  400. </a>
  401. <ul class="blockList">
  402. <li class="blockList">
  403. <h4>deleteElement</h4>
  404. <pre>public&nbsp;void&nbsp;deleteElement(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a>&nbsp;obj,
  405. <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&nbsp;ele)</pre>
  406. <div class="block">deletes a Element from a given Object.</div>
  407. <dl>
  408. <dt><span class="paramLabel">Parameters:</span></dt>
  409. <dd><code>obj</code> - the Oject</dd>
  410. <dd><code>ele</code> - the Element</dd>
  411. </dl>
  412. </li>
  413. </ul>
  414. <a name="deleteSelectedObject-classes.AbstractCpsObject-">
  415. <!-- -->
  416. </a>
  417. <ul class="blockList">
  418. <li class="blockList">
  419. <h4>deleteSelectedObject</h4>
  420. <pre>public&nbsp;void&nbsp;deleteSelectedObject(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;obj)</pre>
  421. <div class="block">deletes a selectedObject.</div>
  422. <dl>
  423. <dt><span class="paramLabel">Parameters:</span></dt>
  424. <dd><code>obj</code> - Cpsobject</dd>
  425. </dl>
  426. </li>
  427. </ul>
  428. <a name="addSelectedObject-classes.AbstractCpsObject-">
  429. <!-- -->
  430. </a>
  431. <ul class="blockList">
  432. <li class="blockList">
  433. <h4>addSelectedObject</h4>
  434. <pre>public&nbsp;void&nbsp;addSelectedObject(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;obj)</pre>
  435. <div class="block">add an Object to selectedObject.</div>
  436. <dl>
  437. <dt><span class="paramLabel">Parameters:</span></dt>
  438. <dd><code>obj</code> - AbstractCpsobject</dd>
  439. </dl>
  440. </li>
  441. </ul>
  442. <a name="deleteElementInCanvas-int-int-">
  443. <!-- -->
  444. </a>
  445. <ul class="blockList">
  446. <li class="blockList">
  447. <h4>deleteElementInCanvas</h4>
  448. <pre>public&nbsp;void&nbsp;deleteElementInCanvas(int&nbsp;id,
  449. int&nbsp;eleid)</pre>
  450. <div class="block">deletes a Element from a given Canvas Object.</div>
  451. <dl>
  452. <dt><span class="paramLabel">Parameters:</span></dt>
  453. <dd><code>id</code> - the ID</dd>
  454. <dd><code>eleid</code> - the Element ID</dd>
  455. </dl>
  456. </li>
  457. </ul>
  458. <a name="deleteElementInCategory-java.lang.String-java.lang.String-java.lang.String-">
  459. <!-- -->
  460. </a>
  461. <ul class="blockList">
  462. <li class="blockList">
  463. <h4>deleteElementInCategory</h4>
  464. <pre>public&nbsp;void&nbsp;deleteElementInCategory(java.lang.String&nbsp;cat,
  465. java.lang.String&nbsp;obj,
  466. java.lang.String&nbsp;ele)</pre>
  467. <div class="block">deletes a Element from a given Category Object.</div>
  468. <dl>
  469. <dt><span class="paramLabel">Parameters:</span></dt>
  470. <dd><code>cat</code> - the Category</dd>
  471. <dd><code>obj</code> - the Object</dd>
  472. <dd><code>ele</code> - the Element</dd>
  473. </dl>
  474. </li>
  475. </ul>
  476. <a name="setSelectedObjectID-int-">
  477. <!-- -->
  478. </a>
  479. <ul class="blockList">
  480. <li class="blockList">
  481. <h4>setSelectedObjectID</h4>
  482. <pre>public&nbsp;void&nbsp;setSelectedObjectID(int&nbsp;id)</pre>
  483. <div class="block">Returns the ID of the selected Object 0 = no Object is selected.</div>
  484. <dl>
  485. <dt><span class="paramLabel">Parameters:</span></dt>
  486. <dd><code>id</code> - the ID of the selected Object</dd>
  487. </dl>
  488. </li>
  489. </ul>
  490. <a name="setClipboardObjects-java.util.ArrayList-">
  491. <!-- -->
  492. </a>
  493. <ul class="blockListLast">
  494. <li class="blockList">
  495. <h4>setClipboardObjects</h4>
  496. <pre>public&nbsp;void&nbsp;setClipboardObjects(java.util.ArrayList&lt;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&gt;&nbsp;list)</pre>
  497. <div class="block">sets clipBoardObjects.</div>
  498. <dl>
  499. <dt><span class="paramLabel">Parameters:</span></dt>
  500. <dd><code>list</code> - of CpsObjects</dd>
  501. </dl>
  502. </li>
  503. </ul>
  504. </li>
  505. </ul>
  506. </li>
  507. </ul>
  508. </div>
  509. </div>
  510. <!-- ========= END OF CLASS DATA ========= -->
  511. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  512. <div class="bottomNav"><a name="navbar.bottom">
  513. <!-- -->
  514. </a>
  515. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  516. <a name="navbar.bottom.firstrow">
  517. <!-- -->
  518. </a>
  519. <ul class="navList" title="Navigation">
  520. <li><a href="../../overview-summary.html">Overview</a></li>
  521. <li><a href="package-summary.html">Package</a></li>
  522. <li class="navBarCell1Rev">Class</li>
  523. <li><a href="class-use/ObjectController.html">Use</a></li>
  524. <li><a href="package-tree.html">Tree</a></li>
  525. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  526. <li><a href="../../index-files/index-1.html">Index</a></li>
  527. <li><a href="../../help-doc.html">Help</a></li>
  528. </ul>
  529. </div>
  530. <div class="subNav">
  531. <ul class="navList">
  532. <li><a href="../../ui/controller/MultiPurposeController.html" title="class in ui.controller"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  533. <li><a href="../../ui/controller/SimulationManager.html" title="class in ui.controller"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  534. </ul>
  535. <ul class="navList">
  536. <li><a href="../../index.html?ui/controller/ObjectController.html" target="_top">Frames</a></li>
  537. <li><a href="ObjectController.html" target="_top">No&nbsp;Frames</a></li>
  538. </ul>
  539. <ul class="navList" id="allclasses_navbar_bottom">
  540. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  541. </ul>
  542. <div>
  543. <script type="text/javascript"><!--
  544. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  545. if(window==top) {
  546. allClassesLink.style.display = "block";
  547. }
  548. else {
  549. allClassesLink.style.display = "none";
  550. }
  551. //-->
  552. </script>
  553. </div>
  554. <div>
  555. <ul class="subNavList">
  556. <li>Summary:&nbsp;</li>
  557. <li>Nested&nbsp;|&nbsp;</li>
  558. <li>Field&nbsp;|&nbsp;</li>
  559. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  560. <li><a href="#method.summary">Method</a></li>
  561. </ul>
  562. <ul class="subNavList">
  563. <li>Detail:&nbsp;</li>
  564. <li>Field&nbsp;|&nbsp;</li>
  565. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  566. <li><a href="#method.detail">Method</a></li>
  567. </ul>
  568. </div>
  569. <a name="skip.navbar.bottom">
  570. <!-- -->
  571. </a></div>
  572. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  573. </body>
  574. </html>