1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="de">
- <head>
- <!-- Generated by javadoc (1.8.0_74) on Tue Sep 27 12:48:17 CEST 2016 -->
- <title>Control</title>
- <meta name="date" content="2016-09-27">
- <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
- <script type="text/javascript" src="../../script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Control";
- }
- }
- catch(err) {
- }
- //-->
- 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,"i44":10,"i45":10,"i46":10};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/Control.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-files/index-1.html">Index</a></li>
- <li><a href="../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../ui/controller/ConsoleController.html" title="class in ui.controller"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../ui/controller/GlobalController.html" title="class in ui.controller"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?ui/controller/Control.html" target="_top">Frames</a></li>
- <li><a href="Control.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">ui.controller</div>
- <h2 title="Class Control" class="title">Class Control</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>ui.controller.Control</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <hr>
- <br>
- <pre>public class <span class="typeNameLabel">Control</span>
- extends java.lang.Object</pre>
- <div class="block">The Class represents the controller in the model, controller view Pattern.</div>
- <dl>
- <dt><span class="simpleTagLabel">Author:</span></dt>
- <dd>Gruppe14</dd>
- </dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#Control-ui.model.Model-">Control</a></span>(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a> model)</code>
- <div class="block">Constructor.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addCategory-java.lang.String-">addCategory</a></span>(java.lang.String cat)</code>
- <div class="block">Adds New Category into Model.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addEdgeOnCanvas-classes.CpsEdge-">addEdgeOnCanvas</a></span>(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a> edge)</code>
- <div class="block">Add an edge to the Canvas.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addElementCanvasObject-int-java.lang.String-int-float-">addElementCanvasObject</a></span>(int id,
- java.lang.String ele,
- int amount,
- float energy)</code>
- <div class="block">Add a new Element into a Object on the Canvas.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addElementCategoryObject-java.lang.String-java.lang.String-java.lang.String-int-float-">addElementCategoryObject</a></span>(java.lang.String catName,
- java.lang.String objName,
- java.lang.String eleName,
- int amount,
- float energy)</code>
- <div class="block">Add a new Element into a Object in Category.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addObject-classes.Category-java.lang.String-java.util.ArrayList-java.lang.String-">addObject</a></span>(<a href="../../classes/Category.html" title="class in classes">Category</a> cat,
- java.lang.String obj,
- java.util.ArrayList<<a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>> ele,
- java.lang.String img)</code>
- <div class="block">Add new Holon Object to a Category.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addObjectCanvas-classes.AbstractCpsObject-">addObjectCanvas</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> object)</code>
- <div class="block">Add a new Object.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addSelectedObject-classes.AbstractCpsObject-">addSelectedObject</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> obj)</code>
- <div class="block">add an Object to selectedObject.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addSwitch-classes.Category-java.lang.String-">addSwitch</a></span>(<a href="../../classes/Category.html" title="class in classes">Category</a> cat,
- java.lang.String obj)</code>
- <div class="block">Add new Holon Switch to a Category.</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addTextToConsole-java.lang.String-">addTextToConsole</a></span>(java.lang.String text)</code>
- <div class="block">Print Text on the console in black and font size 12.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addTextToConsole-java.lang.String-java.awt.Color-int-boolean-boolean-boolean-">addTextToConsole</a></span>(java.lang.String text,
- java.awt.Color color,
- int p,
- boolean bold,
- boolean italic,
- boolean nl)</code>
- <div class="block">Getter for selected CpsObject.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#addTransformer-classes.Category-java.lang.String-">addTransformer</a></span>(<a href="../../classes/Category.html" title="class in classes">Category</a> cat,
- java.lang.String obj)</code>
- <div class="block">Add new Holon Transformer to a Category.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#autoSave--">autoSave</a></span>()</code>
- <div class="block">make an autosave.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#calculateStateForCurrentTimeStep--">calculateStateForCurrentTimeStep</a></span>()</code>
- <div class="block">calculates the flow of the edges and the supply for objects for the
- current Timestep.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#calculateStateForTimeStep-int-">calculateStateForTimeStep</a></span>(int x)</code>
- <div class="block">calculates the flow of the edges and the supply for objects.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#clearConsole--">clearConsole</a></span>()</code>
- <div class="block">Clears the console.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#copyObjects--">copyObjects</a></span>()</code>
- <div class="block">Copy all Selected Objects.</div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#cutObjects--">cutObjects</a></span>()</code>
- <div class="block">Cut all Selected Objects.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#delCanvasObject-classes.AbstractCpsObject-">delCanvasObject</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> obj)</code>
- <div class="block">Deletes an CpsObject on the Canvas and its connections.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#deleteCategory-java.lang.String-">deleteCategory</a></span>(java.lang.String cat)</code>
- <div class="block">delete a given Category.</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#deleteDirectory-java.io.File-">deleteDirectory</a></span>(java.io.File path)</code>
- <div class="block">Delete a Directory.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#deleteElementCanvas-classes.HolonObject-classes.HolonElement-">deleteElementCanvas</a></span>(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a> obj,
- <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a> ele)</code>
- <div class="block">deletes a Element from a given Object.</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#deleteElementCanvas-int-int-">deleteElementCanvas</a></span>(int id,
- int elementid)</code>
- <div class="block">deletes a Element from a given Canvas Object.</div>
- </td>
- </tr>
- <tr id="i22" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#deleteSelectedObject-classes.AbstractCpsObject-">deleteSelectedObject</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> obj)</code>
- <div class="block">deletes a selectedObject.</div>
- </td>
- </tr>
- <tr id="i23" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#delObjectCategory-java.lang.String-java.lang.String-">delObjectCategory</a></span>(java.lang.String cat,
- java.lang.String obj)</code>
- <div class="block">Delete an Object from a Category.</div>
- </td>
- </tr>
- <tr id="i24" class="altColor">
- <td class="colFirst"><code><a href="../../ui/model/Model.html" title="class in ui.model">Model</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#getModel--">getModel</a></span>()</code>
- <div class="block">Getter for Model.</div>
- </td>
- </tr>
- <tr id="i25" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#getRedoSave--">getRedoSave</a></span>()</code>
- <div class="block">Returns the redo save.</div>
- </td>
- </tr>
- <tr id="i26" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#getScale--">getScale</a></span>()</code>
- <div class="block">Returns SCALE.</div>
- </td>
- </tr>
- <tr id="i27" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#getScaleDiv2--">getScaleDiv2</a></span>()</code>
- <div class="block">Returns SCALE Divided by 2.</div>
- </td>
- </tr>
- <tr id="i28" class="altColor">
- <td class="colFirst"><code><a href="../../ui/controller/SimulationManager.html" title="class in ui.controller">SimulationManager</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#getSimManager--">getSimManager</a></span>()</code>
- <div class="block">get the Simulation Manager.</div>
- </td>
- </tr>
- <tr id="i29" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#getUndoSave--">getUndoSave</a></span>()</code>
- <div class="block">Returns the undo save.</div>
- </td>
- </tr>
- <tr id="i30" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#initListener-interfaces.CategoryListener-">initListener</a></span>(<a href="../../interfaces/CategoryListener.html" title="interface in interfaces">CategoryListener</a> catLis)</code>
- <div class="block">Init the CategoryListener.</div>
- </td>
- </tr>
- <tr id="i31" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#loadFile-java.lang.String-">loadFile</a></span>(java.lang.String path)</code>
- <div class="block">Reads the the JSON File and load the state into the Model.</div>
- </td>
- </tr>
- <tr id="i32" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#pasteObjects-java.awt.Point-">pasteObjects</a></span>(java.awt.Point point)</code>
- <div class="block">Paste all Selected Objects.</div>
- </td>
- </tr>
- <tr id="i33" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#removeEdgesOnCanvas-classes.CpsEdge-">removeEdgesOnCanvas</a></span>(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a> edge)</code>
- <div class="block">Removes an Edge from the Canvas.</div>
- </td>
- </tr>
- <tr id="i34" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#resetCategorys--">resetCategorys</a></span>()</code>
- <div class="block">init default category and objects.</div>
- </td>
- </tr>
- <tr id="i35" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#saveFile-java.lang.String-">saveFile</a></span>(java.lang.String path)</code>
- <div class="block">Writes the current State of the Modelling into a JSON File which can be
- loaded.</div>
- </td>
- </tr>
- <tr id="i36" class="altColor">
- <td class="colFirst"><code><a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#searchByID-int-">searchByID</a></span>(int id)</code>
- <div class="block">Search for Object by ID.</div>
- </td>
- </tr>
- <tr id="i37" class="rowColor">
- <td class="colFirst"><code><a href="../../classes/Category.html" title="class in classes">Category</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#searchCategory-java.lang.String-">searchCategory</a></span>(java.lang.String cat)</code>
- <div class="block">search for category.</div>
- </td>
- </tr>
- <tr id="i38" class="altColor">
- <td class="colFirst"><code><a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#searchCategoryObject-java.lang.String-java.lang.String-">searchCategoryObject</a></span>(java.lang.String category,
- java.lang.String object)</code>
- <div class="block">Search for Object in a Category.</div>
- </td>
- </tr>
- <tr id="i39" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setCanvas-ui.view.MyCanvas-">setCanvas</a></span>(<a href="../../ui/view/MyCanvas.html" title="class in ui.view">MyCanvas</a> can)</code>
- <div class="block">Set the Canvas.</div>
- </td>
- </tr>
- <tr id="i40" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setClipboardObjects-java.util.ArrayList-">setClipboardObjects</a></span>(java.util.ArrayList<<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>> list)</code>
- <div class="block">Sets the ClipboardObjects.</div>
- </td>
- </tr>
- <tr id="i41" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setCurIteration-int-">setCurIteration</a></span>(int curit)</code>
- <div class="block">sets the current Iteration.</div>
- </td>
- </tr>
- <tr id="i42" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setIsSimulation-boolean-">setIsSimulation</a></span>(boolean b)</code>
- <div class="block">Set if its simulating or not.</div>
- </td>
- </tr>
- <tr id="i43" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setScale-int-">setScale</a></span>(int s)</code>
- <div class="block">Changes the value of SCALE and SCALEDIV2.</div>
- </td>
- </tr>
- <tr id="i44" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setSelectedObjectID-int-">setSelectedObjectID</a></span>(int id)</code>
- <div class="block">Returns the ID of the selected Object 0 = no Object is selected.</div>
- </td>
- </tr>
- <tr id="i45" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setSelecteEdge-classes.CpsEdge-">setSelecteEdge</a></span>(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a> edge)</code>
- <div class="block">Set the selected Edge.</div>
- </td>
- </tr>
- <tr id="i46" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/controller/Control.html#setTimerSpeed-int-">setTimerSpeed</a></span>(int t)</code>
- <div class="block">Set the timerSpeed.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="Control-ui.model.Model-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>Control</h4>
- <pre>public Control(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a> model)</pre>
- <div class="block">Constructor.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>model</code> - the Model</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="deleteDirectory-java.io.File-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>deleteDirectory</h4>
- <pre>public void deleteDirectory(java.io.File path)</pre>
- <div class="block">Delete a Directory.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>path</code> - to delete</dd>
- </dl>
- </li>
- </ul>
- <a name="searchByID-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>searchByID</h4>
- <pre>public <a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> searchByID(int id)</pre>
- <div class="block">Search for Object by ID.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>id</code> - the id of the Object</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the CpsObject</dd>
- </dl>
- </li>
- </ul>
- <a name="searchCategoryObject-java.lang.String-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>searchCategoryObject</h4>
- <pre>public <a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> searchCategoryObject(java.lang.String category,
- java.lang.String object)</pre>
- <div class="block">Search for Object in a Category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>category</code> - name of the Category</dd>
- <dd><code>object</code> - Name of the Object</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The Object</dd>
- </dl>
- </li>
- </ul>
- <a name="searchCategory-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>searchCategory</h4>
- <pre>public <a href="../../classes/Category.html" title="class in classes">Category</a> searchCategory(java.lang.String cat)</pre>
- <div class="block">search for category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cat</code> - name of the Category</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the Category</dd>
- </dl>
- </li>
- </ul>
- <a name="resetCategorys--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>resetCategorys</h4>
- <pre>public void resetCategorys()</pre>
- <div class="block">init default category and objects.</div>
- </li>
- </ul>
- <a name="addCategory-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addCategory</h4>
- <pre>public void addCategory(java.lang.String cat)</pre>
- <div class="block">Adds New Category into Model.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cat</code> - name of the new Category</dd>
- </dl>
- </li>
- </ul>
- <a name="addObject-classes.Category-java.lang.String-java.util.ArrayList-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addObject</h4>
- <pre>public void addObject(<a href="../../classes/Category.html" title="class in classes">Category</a> cat,
- java.lang.String obj,
- java.util.ArrayList<<a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>> ele,
- java.lang.String img)</pre>
- <div class="block">Add new Holon Object to a Category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cat</code> - Category</dd>
- <dd><code>obj</code> - New Object Name</dd>
- <dd><code>ele</code> - Array of Elements</dd>
- <dd><code>img</code> - the image Path</dd>
- </dl>
- </li>
- </ul>
- <a name="addTransformer-classes.Category-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addTransformer</h4>
- <pre>public void addTransformer(<a href="../../classes/Category.html" title="class in classes">Category</a> cat,
- java.lang.String obj)</pre>
- <div class="block">Add new Holon Transformer to a Category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cat</code> - Category</dd>
- <dd><code>obj</code> - New Object Name</dd>
- </dl>
- </li>
- </ul>
- <a name="addSwitch-classes.Category-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addSwitch</h4>
- <pre>public void addSwitch(<a href="../../classes/Category.html" title="class in classes">Category</a> cat,
- java.lang.String obj)</pre>
- <div class="block">Add new Holon Switch to a Category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cat</code> - Category</dd>
- <dd><code>obj</code> - New Object Name</dd>
- </dl>
- </li>
- </ul>
- <a name="deleteCategory-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>deleteCategory</h4>
- <pre>public void deleteCategory(java.lang.String cat)</pre>
- <div class="block">delete a given Category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cat</code> - the Category</dd>
- </dl>
- </li>
- </ul>
- <a name="delObjectCategory-java.lang.String-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>delObjectCategory</h4>
- <pre>public void delObjectCategory(java.lang.String cat,
- java.lang.String obj)</pre>
- <div class="block">Delete an Object from a Category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cat</code> - the Category</dd>
- <dd><code>obj</code> - the Object</dd>
- </dl>
- </li>
- </ul>
- <a name="deleteSelectedObject-classes.AbstractCpsObject-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>deleteSelectedObject</h4>
- <pre>public void deleteSelectedObject(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> obj)</pre>
- <div class="block">deletes a selectedObject.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>obj</code> - Cpsobject</dd>
- </dl>
- </li>
- </ul>
- <a name="addSelectedObject-classes.AbstractCpsObject-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addSelectedObject</h4>
- <pre>public void addSelectedObject(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> obj)</pre>
- <div class="block">add an Object to selectedObject.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>obj</code> - AbstractCpsobject</dd>
- </dl>
- </li>
- </ul>
- <a name="addEdgeOnCanvas-classes.CpsEdge-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addEdgeOnCanvas</h4>
- <pre>public void addEdgeOnCanvas(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a> edge)</pre>
- <div class="block">Add an edge to the Canvas.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>edge</code> - the edge</dd>
- </dl>
- </li>
- </ul>
- <a name="removeEdgesOnCanvas-classes.CpsEdge-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>removeEdgesOnCanvas</h4>
- <pre>public void removeEdgesOnCanvas(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a> edge)</pre>
- <div class="block">Removes an Edge from the Canvas.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>edge</code> - the edge to remove</dd>
- </dl>
- </li>
- </ul>
- <a name="setSelecteEdge-classes.CpsEdge-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setSelecteEdge</h4>
- <pre>public void setSelecteEdge(<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a> edge)</pre>
- <div class="block">Set the selected Edge.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>edge</code> - that is selected</dd>
- </dl>
- </li>
- </ul>
- <a name="addObjectCanvas-classes.AbstractCpsObject-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addObjectCanvas</h4>
- <pre>public void addObjectCanvas(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> object)</pre>
- <div class="block">Add a new Object.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>object</code> - the Object</dd>
- </dl>
- </li>
- </ul>
- <a name="setSelectedObjectID-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setSelectedObjectID</h4>
- <pre>public void setSelectedObjectID(int id)</pre>
- <div class="block">Returns the ID of the selected Object 0 = no Object is selected.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>id</code> - the ID of the selected Object</dd>
- </dl>
- </li>
- </ul>
- <a name="delCanvasObject-classes.AbstractCpsObject-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>delCanvasObject</h4>
- <pre>public void delCanvasObject(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> obj)</pre>
- <div class="block">Deletes an CpsObject on the Canvas and its connections.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>obj</code> - AbstractCpsObject</dd>
- </dl>
- </li>
- </ul>
- <a name="addElementCanvasObject-int-java.lang.String-int-float-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addElementCanvasObject</h4>
- <pre>public void addElementCanvasObject(int id,
- java.lang.String ele,
- int amount,
- float energy)</pre>
- <div class="block">Add a new Element into a Object on the Canvas.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>id</code> - the Object ID</dd>
- <dd><code>ele</code> - the Name of the Element</dd>
- <dd><code>amount</code> - the Amount</dd>
- <dd><code>energy</code> - the Energy</dd>
- </dl>
- </li>
- </ul>
- <a name="addElementCategoryObject-java.lang.String-java.lang.String-java.lang.String-int-float-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addElementCategoryObject</h4>
- <pre>public void addElementCategoryObject(java.lang.String catName,
- java.lang.String objName,
- java.lang.String eleName,
- int amount,
- float energy)</pre>
- <div class="block">Add a new Element into a Object in Category.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>catName</code> - the Category</dd>
- <dd><code>objName</code> - the Object</dd>
- <dd><code>eleName</code> - the Element Name</dd>
- <dd><code>amount</code> - the amount</dd>
- <dd><code>energy</code> - the Energy</dd>
- </dl>
- </li>
- </ul>
- <a name="deleteElementCanvas-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>deleteElementCanvas</h4>
- <pre>public void deleteElementCanvas(int id,
- int elementid)</pre>
- <div class="block">deletes a Element from a given Canvas Object.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>id</code> - the ID</dd>
- <dd><code>elementid</code> - the Element ID</dd>
- </dl>
- </li>
- </ul>
- <a name="deleteElementCanvas-classes.HolonObject-classes.HolonElement-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>deleteElementCanvas</h4>
- <pre>public void deleteElementCanvas(<a href="../../classes/HolonObject.html" title="class in classes">HolonObject</a> obj,
- <a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a> ele)</pre>
- <div class="block">deletes a Element from a given Object.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>obj</code> - the Oject</dd>
- <dd><code>ele</code> - the Element</dd>
- </dl>
- </li>
- </ul>
- <a name="setClipboardObjects-java.util.ArrayList-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setClipboardObjects</h4>
- <pre>public void setClipboardObjects(java.util.ArrayList<<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>> list)</pre>
- <div class="block">Sets the ClipboardObjects.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>list</code> - Array of Objects</dd>
- </dl>
- </li>
- </ul>
- <a name="getScale--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getScale</h4>
- <pre>public int getScale()</pre>
- <div class="block">Returns SCALE.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>SCALE</dd>
- </dl>
- </li>
- </ul>
- <a name="getScaleDiv2--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getScaleDiv2</h4>
- <pre>public int getScaleDiv2()</pre>
- <div class="block">Returns SCALE Divided by 2.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>SCALE Divided by 2</dd>
- </dl>
- </li>
- </ul>
- <a name="setScale-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setScale</h4>
- <pre>public void setScale(int s)</pre>
- <div class="block">Changes the value of SCALE and SCALEDIV2.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>s</code> - Scale</dd>
- </dl>
- </li>
- </ul>
- <a name="setCurIteration-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setCurIteration</h4>
- <pre>public void setCurIteration(int curit)</pre>
- <div class="block">sets the current Iteration.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>curit</code> - the current Iteration</dd>
- </dl>
- </li>
- </ul>
- <a name="saveFile-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>saveFile</h4>
- <pre>public void saveFile(java.lang.String path)
- throws java.io.IOException</pre>
- <div class="block">Writes the current State of the Modelling into a JSON File which can be
- loaded.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>path</code> - the Path</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - exception</dd>
- </dl>
- </li>
- </ul>
- <a name="loadFile-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>loadFile</h4>
- <pre>public void loadFile(java.lang.String path)
- throws java.io.IOException</pre>
- <div class="block">Reads the the JSON File and load the state into the Model.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>path</code> - the Path</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - exception</dd>
- </dl>
- </li>
- </ul>
- <a name="initListener-interfaces.CategoryListener-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>initListener</h4>
- <pre>public void initListener(<a href="../../interfaces/CategoryListener.html" title="interface in interfaces">CategoryListener</a> catLis)</pre>
- <div class="block">Init the CategoryListener.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>catLis</code> - the CategoryListener</dd>
- </dl>
- </li>
- </ul>
- <a name="calculateStateForCurrentTimeStep--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>calculateStateForCurrentTimeStep</h4>
- <pre>public void calculateStateForCurrentTimeStep()</pre>
- <div class="block">calculates the flow of the edges and the supply for objects for the
- current Timestep.</div>
- </li>
- </ul>
- <a name="calculateStateForTimeStep-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>calculateStateForTimeStep</h4>
- <pre>public void calculateStateForTimeStep(int x)</pre>
- <div class="block">calculates the flow of the edges and the supply for objects.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>x</code> - current Iteration</dd>
- </dl>
- </li>
- </ul>
- <a name="setCanvas-ui.view.MyCanvas-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setCanvas</h4>
- <pre>public void setCanvas(<a href="../../ui/view/MyCanvas.html" title="class in ui.view">MyCanvas</a> can)</pre>
- <div class="block">Set the Canvas.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>can</code> - the Canvas</dd>
- </dl>
- </li>
- </ul>
- <a name="autoSave--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>autoSave</h4>
- <pre>public void autoSave()
- throws java.io.IOException</pre>
- <div class="block">make an autosave.</div>
- <dl>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code> - Exception</dd>
- </dl>
- </li>
- </ul>
- <a name="getUndoSave--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getUndoSave</h4>
- <pre>public java.lang.String getUndoSave()</pre>
- <div class="block">Returns the undo save.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the undo save</dd>
- </dl>
- </li>
- </ul>
- <a name="getRedoSave--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRedoSave</h4>
- <pre>public java.lang.String getRedoSave()</pre>
- <div class="block">Returns the redo save.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the redo save</dd>
- </dl>
- </li>
- </ul>
- <a name="copyObjects--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>copyObjects</h4>
- <pre>public void copyObjects()</pre>
- <div class="block">Copy all Selected Objects.</div>
- </li>
- </ul>
- <a name="pasteObjects-java.awt.Point-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>pasteObjects</h4>
- <pre>public void pasteObjects(java.awt.Point point)</pre>
- <div class="block">Paste all Selected Objects.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>point</code> - the mouse Position</dd>
- </dl>
- </li>
- </ul>
- <a name="cutObjects--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>cutObjects</h4>
- <pre>public void cutObjects()</pre>
- <div class="block">Cut all Selected Objects.</div>
- </li>
- </ul>
- <a name="getModel--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getModel</h4>
- <pre>public <a href="../../ui/model/Model.html" title="class in ui.model">Model</a> getModel()</pre>
- <div class="block">Getter for Model.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the Model</dd>
- </dl>
- </li>
- </ul>
- <a name="getSimManager--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getSimManager</h4>
- <pre>public <a href="../../ui/controller/SimulationManager.html" title="class in ui.controller">SimulationManager</a> getSimManager()</pre>
- <div class="block">get the Simulation Manager.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the Simulation Manager</dd>
- </dl>
- </li>
- </ul>
- <a name="addTextToConsole-java.lang.String-java.awt.Color-int-boolean-boolean-boolean-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addTextToConsole</h4>
- <pre>public void addTextToConsole(java.lang.String text,
- java.awt.Color color,
- int p,
- boolean bold,
- boolean italic,
- boolean nl)</pre>
- <div class="block">Getter for selected CpsObject.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>text</code> - String the Text</dd>
- <dd><code>color</code> - the color of the Text</dd>
- <dd><code>p</code> - size of the Text</dd>
- <dd><code>bold</code> - bold or not</dd>
- <dd><code>italic</code> - italic or not</dd>
- <dd><code>nl</code> - new line or not</dd>
- </dl>
- </li>
- </ul>
- <a name="addTextToConsole-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addTextToConsole</h4>
- <pre>public void addTextToConsole(java.lang.String text)</pre>
- <div class="block">Print Text on the console in black and font size 12.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>text</code> - String the Text</dd>
- </dl>
- </li>
- </ul>
- <a name="clearConsole--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>clearConsole</h4>
- <pre>public void clearConsole()</pre>
- <div class="block">Clears the console.</div>
- </li>
- </ul>
- <a name="setTimerSpeed-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setTimerSpeed</h4>
- <pre>public void setTimerSpeed(int t)</pre>
- <div class="block">Set the timerSpeed.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>t</code> - interval in ms</dd>
- </dl>
- </li>
- </ul>
- <a name="setIsSimulation-boolean-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>setIsSimulation</h4>
- <pre>public void setIsSimulation(boolean b)</pre>
- <div class="block">Set if its simulating or not.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>b</code> - isSimulation</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/Control.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-files/index-1.html">Index</a></li>
- <li><a href="../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../ui/controller/ConsoleController.html" title="class in ui.controller"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../ui/controller/GlobalController.html" title="class in ui.controller"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?ui/controller/Control.html" target="_top">Frames</a></li>
- <li><a href="Control.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- </body>
- </html>
|