UnitGraph.html 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916
  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>UnitGraph</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="UnitGraph";
  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};
  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/UnitGraph.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/view/TimePanel.html" title="class in ui.view"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li>Next&nbsp;Class</li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../index.html?ui/view/UnitGraph.html" target="_top">Frames</a></li>
  57. <li><a href="UnitGraph.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><a href="#nested.classes.inherited.from.class.javax.swing.JComponent">Nested</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#fields.inherited.from.class.javax.swing.JComponent">Field</a>&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.view</div>
  96. <h2 title="Class UnitGraph" class="title">Class UnitGraph</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>java.awt.Component</li>
  104. <li>
  105. <ul class="inheritance">
  106. <li>java.awt.Container</li>
  107. <li>
  108. <ul class="inheritance">
  109. <li>javax.swing.JComponent</li>
  110. <li>
  111. <ul class="inheritance">
  112. <li>javax.swing.JPanel</li>
  113. <li>
  114. <ul class="inheritance">
  115. <li>ui.view.UnitGraph</li>
  116. </ul>
  117. </li>
  118. </ul>
  119. </li>
  120. </ul>
  121. </li>
  122. </ul>
  123. </li>
  124. </ul>
  125. </li>
  126. </ul>
  127. <div class="description">
  128. <ul class="blockList">
  129. <li class="blockList">
  130. <dl>
  131. <dt>All Implemented Interfaces:</dt>
  132. <dd>java.awt.event.ComponentListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible</dd>
  133. </dl>
  134. <hr>
  135. <br>
  136. <pre>public class <span class="typeNameLabel">UnitGraph</span>
  137. extends javax.swing.JPanel
  138. implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.ComponentListener</pre>
  139. <div class="block">This Class represents a Graph where the User can model the behavior of
  140. elements and switches over time.</div>
  141. <dl>
  142. <dt><span class="simpleTagLabel">Author:</span></dt>
  143. <dd>Gruppe14</dd>
  144. <dt><span class="seeLabel">See Also:</span></dt>
  145. <dd><a href="../../serialized-form.html#ui.view.UnitGraph">Serialized Form</a></dd>
  146. </dl>
  147. </li>
  148. </ul>
  149. </div>
  150. <div class="summary">
  151. <ul class="blockList">
  152. <li class="blockList">
  153. <!-- ======== NESTED CLASS SUMMARY ======== -->
  154. <ul class="blockList">
  155. <li class="blockList"><a name="nested.class.summary">
  156. <!-- -->
  157. </a>
  158. <h3>Nested Class Summary</h3>
  159. <ul class="blockList">
  160. <li class="blockList"><a name="nested.classes.inherited.from.class.javax.swing.JComponent">
  161. <!-- -->
  162. </a>
  163. <h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JComponent</h3>
  164. <code>javax.swing.JComponent.AccessibleJComponent</code></li>
  165. </ul>
  166. <ul class="blockList">
  167. <li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Component">
  168. <!-- -->
  169. </a>
  170. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
  171. <code>java.awt.Component.BaselineResizeBehavior</code></li>
  172. </ul>
  173. </li>
  174. </ul>
  175. <!-- =========== FIELD SUMMARY =========== -->
  176. <ul class="blockList">
  177. <li class="blockList"><a name="field.summary">
  178. <!-- -->
  179. </a>
  180. <h3>Field Summary</h3>
  181. <ul class="blockList">
  182. <li class="blockList"><a name="fields.inherited.from.class.javax.swing.JComponent">
  183. <!-- -->
  184. </a>
  185. <h3>Fields inherited from class&nbsp;javax.swing.JComponent</h3>
  186. <code>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
  187. </ul>
  188. <ul class="blockList">
  189. <li class="blockList"><a name="fields.inherited.from.class.java.awt.Component">
  190. <!-- -->
  191. </a>
  192. <h3>Fields inherited from class&nbsp;java.awt.Component</h3>
  193. <code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
  194. </ul>
  195. <ul class="blockList">
  196. <li class="blockList"><a name="fields.inherited.from.class.java.awt.image.ImageObserver">
  197. <!-- -->
  198. </a>
  199. <h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
  200. <code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
  201. </ul>
  202. </li>
  203. </ul>
  204. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  205. <ul class="blockList">
  206. <li class="blockList"><a name="constructor.summary">
  207. <!-- -->
  208. </a>
  209. <h3>Constructor Summary</h3>
  210. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  211. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  212. <tr>
  213. <th class="colOne" scope="col">Constructor and Description</th>
  214. </tr>
  215. <tr class="altColor">
  216. <td class="colOne"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#UnitGraph-ui.model.Model-ui.controller.Control-">UnitGraph</a></span>(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;model,
  217. <a href="../../ui/controller/Control.html" title="class in ui.controller">Control</a>&nbsp;control)</code>
  218. <div class="block">Constructor.</div>
  219. </td>
  220. </tr>
  221. </table>
  222. </li>
  223. </ul>
  224. <!-- ========== METHOD SUMMARY =========== -->
  225. <ul class="blockList">
  226. <li class="blockList"><a name="method.summary">
  227. <!-- -->
  228. </a>
  229. <h3>Method Summary</h3>
  230. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  231. <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>
  232. <tr>
  233. <th class="colFirst" scope="col">Modifier and Type</th>
  234. <th class="colLast" scope="col">Method and Description</th>
  235. </tr>
  236. <tr id="i0" class="altColor">
  237. <td class="colFirst"><code>java.awt.geom.CubicCurve2D</code></td>
  238. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#buildCurve-java.awt.Point-java.awt.Point-">buildCurve</a></span>(java.awt.Point&nbsp;p1,
  239. java.awt.Point&nbsp;p2)</code>
  240. <div class="block">Build a Curve for the Graph.</div>
  241. </td>
  242. </tr>
  243. <tr id="i1" class="rowColor">
  244. <td class="colFirst"><code>void</code></td>
  245. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#componentHidden-java.awt.event.ComponentEvent-">componentHidden</a></span>(java.awt.event.ComponentEvent&nbsp;e)</code>&nbsp;</td>
  246. </tr>
  247. <tr id="i2" class="altColor">
  248. <td class="colFirst"><code>void</code></td>
  249. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#componentMoved-java.awt.event.ComponentEvent-">componentMoved</a></span>(java.awt.event.ComponentEvent&nbsp;e)</code>&nbsp;</td>
  250. </tr>
  251. <tr id="i3" class="rowColor">
  252. <td class="colFirst"><code>void</code></td>
  253. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#componentResized-java.awt.event.ComponentEvent-">componentResized</a></span>(java.awt.event.ComponentEvent&nbsp;e)</code>
  254. <div class="block">When the Component is Resized.</div>
  255. </td>
  256. </tr>
  257. <tr id="i4" class="altColor">
  258. <td class="colFirst"><code>void</code></td>
  259. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#componentShown-java.awt.event.ComponentEvent-">componentShown</a></span>(java.awt.event.ComponentEvent&nbsp;e)</code>&nbsp;</td>
  260. </tr>
  261. <tr id="i5" class="rowColor">
  262. <td class="colFirst"><code>double</code></td>
  263. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#convertToCanvasY-float-">convertToCanvasY</a></span>(float&nbsp;d)</code>
  264. <div class="block">converts the number to fit the canvas.</div>
  265. </td>
  266. </tr>
  267. <tr id="i6" class="altColor">
  268. <td class="colFirst"><code>float</code></td>
  269. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#convertToValueY-double-">convertToValueY</a></span>(double&nbsp;d)</code>
  270. <div class="block">converts the number to fit the value.</div>
  271. </td>
  272. </tr>
  273. <tr id="i7" class="rowColor">
  274. <td class="colFirst"><code>void</code></td>
  275. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#elementDragged-java.awt.event.MouseEvent-">elementDragged</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>
  276. <div class="block">When a Point of a Holon Element is dragged.</div>
  277. </td>
  278. </tr>
  279. <tr id="i8" class="altColor">
  280. <td class="colFirst"><code>void</code></td>
  281. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#elementPressed-java.awt.event.MouseEvent-">elementPressed</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>
  282. <div class="block">When a point of a Holon Element is pressed.</div>
  283. </td>
  284. </tr>
  285. <tr id="i9" class="rowColor">
  286. <td class="colFirst"><code>void</code></td>
  287. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#empty--">empty</a></span>()</code>
  288. <div class="block">Empty the Graph.</div>
  289. </td>
  290. </tr>
  291. <tr id="i10" class="altColor">
  292. <td class="colFirst"><code>void</code></td>
  293. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#fillArrayofBooleans--">fillArrayofBooleans</a></span>()</code>
  294. <div class="block">Fills the Arrays with booleans.</div>
  295. </td>
  296. </tr>
  297. <tr id="i11" class="rowColor">
  298. <td class="colFirst"><code>void</code></td>
  299. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#fillArrayofValue--">fillArrayofValue</a></span>()</code>
  300. <div class="block">Fills the Arrays of each HolonElement.</div>
  301. </td>
  302. </tr>
  303. <tr id="i12" class="altColor">
  304. <td class="colFirst"><code>float</code></td>
  305. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#getIntersectionPoint-java.awt.geom.Line2D-java.awt.geom.Line2D-">getIntersectionPoint</a></span>(java.awt.geom.Line2D&nbsp;l1,
  306. java.awt.geom.Line2D&nbsp;l2)</code>
  307. <div class="block">Get the Intersection Point of 2 Lines.</div>
  308. </td>
  309. </tr>
  310. <tr id="i13" class="rowColor">
  311. <td class="colFirst"><code>float</code></td>
  312. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#getYValueAt-int-">getYValueAt</a></span>(int&nbsp;xVal)</code>
  313. <div class="block">Get the Y Value at the x Coordination.</div>
  314. </td>
  315. </tr>
  316. <tr id="i14" class="altColor">
  317. <td class="colFirst"><code>float</code></td>
  318. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#getYValueAt2-int-">getYValueAt2</a></span>(int&nbsp;xVal)</code>
  319. <div class="block">Get y value at the x Coordination via curves.</div>
  320. </td>
  321. </tr>
  322. <tr id="i15" class="rowColor">
  323. <td class="colFirst"><code>void</code></td>
  324. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#mouseClicked-java.awt.event.MouseEvent-">mouseClicked</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  325. </tr>
  326. <tr id="i16" class="altColor">
  327. <td class="colFirst"><code>void</code></td>
  328. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#mouseDragged-java.awt.event.MouseEvent-">mouseDragged</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  329. </tr>
  330. <tr id="i17" class="rowColor">
  331. <td class="colFirst"><code>void</code></td>
  332. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#mouseEntered-java.awt.event.MouseEvent-">mouseEntered</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  333. </tr>
  334. <tr id="i18" class="altColor">
  335. <td class="colFirst"><code>void</code></td>
  336. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#mouseExited-java.awt.event.MouseEvent-">mouseExited</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  337. </tr>
  338. <tr id="i19" class="rowColor">
  339. <td class="colFirst"><code>void</code></td>
  340. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#mouseMoved-java.awt.event.MouseEvent-">mouseMoved</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  341. </tr>
  342. <tr id="i20" class="altColor">
  343. <td class="colFirst"><code>void</code></td>
  344. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#mousePressed-java.awt.event.MouseEvent-">mousePressed</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  345. </tr>
  346. <tr id="i21" class="rowColor">
  347. <td class="colFirst"><code>void</code></td>
  348. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#mouseReleased-java.awt.event.MouseEvent-">mouseReleased</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  349. </tr>
  350. <tr id="i22" class="altColor">
  351. <td class="colFirst"><code>void</code></td>
  352. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#paintComponent-java.awt.Graphics-">paintComponent</a></span>(java.awt.Graphics&nbsp;g)</code>
  353. <div class="block">Paints all Components on the Canvas.</div>
  354. </td>
  355. </tr>
  356. <tr id="i23" class="rowColor">
  357. <td class="colFirst"><code>void</code></td>
  358. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#repaintWithNewElement-java.util.ArrayList-">repaintWithNewElement</a></span>(java.util.ArrayList&lt;<a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&gt;&nbsp;selectedElement)</code>
  359. <div class="block">Visualize the HolonElement on the Graph.</div>
  360. </td>
  361. </tr>
  362. <tr id="i24" class="altColor">
  363. <td class="colFirst"><code>void</code></td>
  364. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#repaintWithNewSwitch-classes.HolonSwitch-">repaintWithNewSwitch</a></span>(<a href="../../classes/HolonSwitch.html" title="class in classes">HolonSwitch</a>&nbsp;s)</code>
  365. <div class="block">Visualize the Switch on the Graph.</div>
  366. </td>
  367. </tr>
  368. <tr id="i25" class="rowColor">
  369. <td class="colFirst"><code>void</code></td>
  370. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#reset--">reset</a></span>()</code>
  371. <div class="block">Resets the Points for the Element.</div>
  372. </td>
  373. </tr>
  374. <tr id="i26" class="altColor">
  375. <td class="colFirst"><code>void</code></td>
  376. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#switchDragged-java.awt.event.MouseEvent-">switchDragged</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>
  377. <div class="block">When a Point of a switch is dragged.</div>
  378. </td>
  379. </tr>
  380. <tr id="i27" class="rowColor">
  381. <td class="colFirst"><code>void</code></td>
  382. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/UnitGraph.html#switchPressed-java.awt.event.MouseEvent-">switchPressed</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>
  383. <div class="block">When a point of a Switch is pressed.</div>
  384. </td>
  385. </tr>
  386. </table>
  387. <ul class="blockList">
  388. <li class="blockList"><a name="methods.inherited.from.class.javax.swing.JPanel">
  389. <!-- -->
  390. </a>
  391. <h3>Methods inherited from class&nbsp;javax.swing.JPanel</h3>
  392. <code>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</code></li>
  393. </ul>
  394. <ul class="blockList">
  395. <li class="blockList"><a name="methods.inherited.from.class.javax.swing.JComponent">
  396. <!-- -->
  397. </a>
  398. <h3>Methods inherited from class&nbsp;javax.swing.JComponent</h3>
  399. <code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</code></li>
  400. </ul>
  401. <ul class="blockList">
  402. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Container">
  403. <!-- -->
  404. </a>
  405. <h3>Methods inherited from class&nbsp;java.awt.Container</h3>
  406. <code>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate</code></li>
  407. </ul>
  408. <ul class="blockList">
  409. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Component">
  410. <!-- -->
  411. </a>
  412. <h3>Methods inherited from class&nbsp;java.awt.Component</h3>
  413. <code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
  414. </ul>
  415. <ul class="blockList">
  416. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  417. <!-- -->
  418. </a>
  419. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  420. <code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  421. </ul>
  422. </li>
  423. </ul>
  424. </li>
  425. </ul>
  426. </div>
  427. <div class="details">
  428. <ul class="blockList">
  429. <li class="blockList">
  430. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  431. <ul class="blockList">
  432. <li class="blockList"><a name="constructor.detail">
  433. <!-- -->
  434. </a>
  435. <h3>Constructor Detail</h3>
  436. <a name="UnitGraph-ui.model.Model-ui.controller.Control-">
  437. <!-- -->
  438. </a>
  439. <ul class="blockListLast">
  440. <li class="blockList">
  441. <h4>UnitGraph</h4>
  442. <pre>public&nbsp;UnitGraph(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;model,
  443. <a href="../../ui/controller/Control.html" title="class in ui.controller">Control</a>&nbsp;control)</pre>
  444. <div class="block">Constructor.</div>
  445. <dl>
  446. <dt><span class="paramLabel">Parameters:</span></dt>
  447. <dd><code>model</code> - the Model</dd>
  448. <dd><code>control</code> - the Controller</dd>
  449. </dl>
  450. </li>
  451. </ul>
  452. </li>
  453. </ul>
  454. <!-- ============ METHOD DETAIL ========== -->
  455. <ul class="blockList">
  456. <li class="blockList"><a name="method.detail">
  457. <!-- -->
  458. </a>
  459. <h3>Method Detail</h3>
  460. <a name="paintComponent-java.awt.Graphics-">
  461. <!-- -->
  462. </a>
  463. <ul class="blockList">
  464. <li class="blockList">
  465. <h4>paintComponent</h4>
  466. <pre>public&nbsp;void&nbsp;paintComponent(java.awt.Graphics&nbsp;g)</pre>
  467. <div class="block">Paints all Components on the Canvas.</div>
  468. <dl>
  469. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  470. <dd><code>paintComponent</code>&nbsp;in class&nbsp;<code>javax.swing.JComponent</code></dd>
  471. <dt><span class="paramLabel">Parameters:</span></dt>
  472. <dd><code>g</code> - Graphics</dd>
  473. </dl>
  474. </li>
  475. </ul>
  476. <a name="mouseDragged-java.awt.event.MouseEvent-">
  477. <!-- -->
  478. </a>
  479. <ul class="blockList">
  480. <li class="blockList">
  481. <h4>mouseDragged</h4>
  482. <pre>public&nbsp;void&nbsp;mouseDragged(java.awt.event.MouseEvent&nbsp;e)</pre>
  483. <dl>
  484. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  485. <dd><code>mouseDragged</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseMotionListener</code></dd>
  486. </dl>
  487. </li>
  488. </ul>
  489. <a name="elementDragged-java.awt.event.MouseEvent-">
  490. <!-- -->
  491. </a>
  492. <ul class="blockList">
  493. <li class="blockList">
  494. <h4>elementDragged</h4>
  495. <pre>public&nbsp;void&nbsp;elementDragged(java.awt.event.MouseEvent&nbsp;e)</pre>
  496. <div class="block">When a Point of a Holon Element is dragged.</div>
  497. <dl>
  498. <dt><span class="paramLabel">Parameters:</span></dt>
  499. <dd><code>e</code> - MouseEvent</dd>
  500. </dl>
  501. </li>
  502. </ul>
  503. <a name="switchDragged-java.awt.event.MouseEvent-">
  504. <!-- -->
  505. </a>
  506. <ul class="blockList">
  507. <li class="blockList">
  508. <h4>switchDragged</h4>
  509. <pre>public&nbsp;void&nbsp;switchDragged(java.awt.event.MouseEvent&nbsp;e)</pre>
  510. <div class="block">When a Point of a switch is dragged.</div>
  511. <dl>
  512. <dt><span class="paramLabel">Parameters:</span></dt>
  513. <dd><code>e</code> - MouseEvent</dd>
  514. </dl>
  515. </li>
  516. </ul>
  517. <a name="mouseMoved-java.awt.event.MouseEvent-">
  518. <!-- -->
  519. </a>
  520. <ul class="blockList">
  521. <li class="blockList">
  522. <h4>mouseMoved</h4>
  523. <pre>public&nbsp;void&nbsp;mouseMoved(java.awt.event.MouseEvent&nbsp;e)</pre>
  524. <dl>
  525. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  526. <dd><code>mouseMoved</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseMotionListener</code></dd>
  527. </dl>
  528. </li>
  529. </ul>
  530. <a name="mouseClicked-java.awt.event.MouseEvent-">
  531. <!-- -->
  532. </a>
  533. <ul class="blockList">
  534. <li class="blockList">
  535. <h4>mouseClicked</h4>
  536. <pre>public&nbsp;void&nbsp;mouseClicked(java.awt.event.MouseEvent&nbsp;e)</pre>
  537. <dl>
  538. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  539. <dd><code>mouseClicked</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  540. </dl>
  541. </li>
  542. </ul>
  543. <a name="mouseEntered-java.awt.event.MouseEvent-">
  544. <!-- -->
  545. </a>
  546. <ul class="blockList">
  547. <li class="blockList">
  548. <h4>mouseEntered</h4>
  549. <pre>public&nbsp;void&nbsp;mouseEntered(java.awt.event.MouseEvent&nbsp;e)</pre>
  550. <dl>
  551. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  552. <dd><code>mouseEntered</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  553. </dl>
  554. </li>
  555. </ul>
  556. <a name="mouseExited-java.awt.event.MouseEvent-">
  557. <!-- -->
  558. </a>
  559. <ul class="blockList">
  560. <li class="blockList">
  561. <h4>mouseExited</h4>
  562. <pre>public&nbsp;void&nbsp;mouseExited(java.awt.event.MouseEvent&nbsp;e)</pre>
  563. <dl>
  564. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  565. <dd><code>mouseExited</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  566. </dl>
  567. </li>
  568. </ul>
  569. <a name="mousePressed-java.awt.event.MouseEvent-">
  570. <!-- -->
  571. </a>
  572. <ul class="blockList">
  573. <li class="blockList">
  574. <h4>mousePressed</h4>
  575. <pre>public&nbsp;void&nbsp;mousePressed(java.awt.event.MouseEvent&nbsp;e)</pre>
  576. <dl>
  577. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  578. <dd><code>mousePressed</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  579. </dl>
  580. </li>
  581. </ul>
  582. <a name="elementPressed-java.awt.event.MouseEvent-">
  583. <!-- -->
  584. </a>
  585. <ul class="blockList">
  586. <li class="blockList">
  587. <h4>elementPressed</h4>
  588. <pre>public&nbsp;void&nbsp;elementPressed(java.awt.event.MouseEvent&nbsp;e)</pre>
  589. <div class="block">When a point of a Holon Element is pressed.</div>
  590. <dl>
  591. <dt><span class="paramLabel">Parameters:</span></dt>
  592. <dd><code>e</code> - MouseEvent</dd>
  593. </dl>
  594. </li>
  595. </ul>
  596. <a name="switchPressed-java.awt.event.MouseEvent-">
  597. <!-- -->
  598. </a>
  599. <ul class="blockList">
  600. <li class="blockList">
  601. <h4>switchPressed</h4>
  602. <pre>public&nbsp;void&nbsp;switchPressed(java.awt.event.MouseEvent&nbsp;e)</pre>
  603. <div class="block">When a point of a Switch is pressed.</div>
  604. <dl>
  605. <dt><span class="paramLabel">Parameters:</span></dt>
  606. <dd><code>e</code> - MouseEvent</dd>
  607. </dl>
  608. </li>
  609. </ul>
  610. <a name="mouseReleased-java.awt.event.MouseEvent-">
  611. <!-- -->
  612. </a>
  613. <ul class="blockList">
  614. <li class="blockList">
  615. <h4>mouseReleased</h4>
  616. <pre>public&nbsp;void&nbsp;mouseReleased(java.awt.event.MouseEvent&nbsp;e)</pre>
  617. <dl>
  618. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  619. <dd><code>mouseReleased</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  620. </dl>
  621. </li>
  622. </ul>
  623. <a name="componentResized-java.awt.event.ComponentEvent-">
  624. <!-- -->
  625. </a>
  626. <ul class="blockList">
  627. <li class="blockList">
  628. <h4>componentResized</h4>
  629. <pre>public&nbsp;void&nbsp;componentResized(java.awt.event.ComponentEvent&nbsp;e)</pre>
  630. <div class="block">When the Component is Resized.</div>
  631. <dl>
  632. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  633. <dd><code>componentResized</code>&nbsp;in interface&nbsp;<code>java.awt.event.ComponentListener</code></dd>
  634. <dt><span class="paramLabel">Parameters:</span></dt>
  635. <dd><code>e</code> - ComponentEvent</dd>
  636. </dl>
  637. </li>
  638. </ul>
  639. <a name="componentHidden-java.awt.event.ComponentEvent-">
  640. <!-- -->
  641. </a>
  642. <ul class="blockList">
  643. <li class="blockList">
  644. <h4>componentHidden</h4>
  645. <pre>public&nbsp;void&nbsp;componentHidden(java.awt.event.ComponentEvent&nbsp;e)</pre>
  646. <dl>
  647. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  648. <dd><code>componentHidden</code>&nbsp;in interface&nbsp;<code>java.awt.event.ComponentListener</code></dd>
  649. </dl>
  650. </li>
  651. </ul>
  652. <a name="componentMoved-java.awt.event.ComponentEvent-">
  653. <!-- -->
  654. </a>
  655. <ul class="blockList">
  656. <li class="blockList">
  657. <h4>componentMoved</h4>
  658. <pre>public&nbsp;void&nbsp;componentMoved(java.awt.event.ComponentEvent&nbsp;e)</pre>
  659. <dl>
  660. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  661. <dd><code>componentMoved</code>&nbsp;in interface&nbsp;<code>java.awt.event.ComponentListener</code></dd>
  662. </dl>
  663. </li>
  664. </ul>
  665. <a name="componentShown-java.awt.event.ComponentEvent-">
  666. <!-- -->
  667. </a>
  668. <ul class="blockList">
  669. <li class="blockList">
  670. <h4>componentShown</h4>
  671. <pre>public&nbsp;void&nbsp;componentShown(java.awt.event.ComponentEvent&nbsp;e)</pre>
  672. <dl>
  673. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  674. <dd><code>componentShown</code>&nbsp;in interface&nbsp;<code>java.awt.event.ComponentListener</code></dd>
  675. </dl>
  676. </li>
  677. </ul>
  678. <a name="empty--">
  679. <!-- -->
  680. </a>
  681. <ul class="blockList">
  682. <li class="blockList">
  683. <h4>empty</h4>
  684. <pre>public&nbsp;void&nbsp;empty()</pre>
  685. <div class="block">Empty the Graph.</div>
  686. </li>
  687. </ul>
  688. <a name="reset--">
  689. <!-- -->
  690. </a>
  691. <ul class="blockList">
  692. <li class="blockList">
  693. <h4>reset</h4>
  694. <pre>public&nbsp;void&nbsp;reset()</pre>
  695. <div class="block">Resets the Points for the Element.</div>
  696. </li>
  697. </ul>
  698. <a name="convertToCanvasY-float-">
  699. <!-- -->
  700. </a>
  701. <ul class="blockList">
  702. <li class="blockList">
  703. <h4>convertToCanvasY</h4>
  704. <pre>public&nbsp;double&nbsp;convertToCanvasY(float&nbsp;d)</pre>
  705. <div class="block">converts the number to fit the canvas.</div>
  706. <dl>
  707. <dt><span class="paramLabel">Parameters:</span></dt>
  708. <dd><code>d</code> - the number to convert</dd>
  709. <dt><span class="returnLabel">Returns:</span></dt>
  710. <dd>the converted number</dd>
  711. </dl>
  712. </li>
  713. </ul>
  714. <a name="convertToValueY-double-">
  715. <!-- -->
  716. </a>
  717. <ul class="blockList">
  718. <li class="blockList">
  719. <h4>convertToValueY</h4>
  720. <pre>public&nbsp;float&nbsp;convertToValueY(double&nbsp;d)</pre>
  721. <div class="block">converts the number to fit the value.</div>
  722. <dl>
  723. <dt><span class="paramLabel">Parameters:</span></dt>
  724. <dd><code>d</code> - the number to convert</dd>
  725. <dt><span class="returnLabel">Returns:</span></dt>
  726. <dd>the converted number</dd>
  727. </dl>
  728. </li>
  729. </ul>
  730. <a name="repaintWithNewElement-java.util.ArrayList-">
  731. <!-- -->
  732. </a>
  733. <ul class="blockList">
  734. <li class="blockList">
  735. <h4>repaintWithNewElement</h4>
  736. <pre>public&nbsp;void&nbsp;repaintWithNewElement(java.util.ArrayList&lt;<a href="../../classes/HolonElement.html" title="class in classes">HolonElement</a>&gt;&nbsp;selectedElement)</pre>
  737. <div class="block">Visualize the HolonElement on the Graph.</div>
  738. <dl>
  739. <dt><span class="paramLabel">Parameters:</span></dt>
  740. <dd><code>selectedElement</code> - which should be visualized</dd>
  741. </dl>
  742. </li>
  743. </ul>
  744. <a name="repaintWithNewSwitch-classes.HolonSwitch-">
  745. <!-- -->
  746. </a>
  747. <ul class="blockList">
  748. <li class="blockList">
  749. <h4>repaintWithNewSwitch</h4>
  750. <pre>public&nbsp;void&nbsp;repaintWithNewSwitch(<a href="../../classes/HolonSwitch.html" title="class in classes">HolonSwitch</a>&nbsp;s)</pre>
  751. <div class="block">Visualize the Switch on the Graph.</div>
  752. <dl>
  753. <dt><span class="paramLabel">Parameters:</span></dt>
  754. <dd><code>s</code> - which should be visualized</dd>
  755. </dl>
  756. </li>
  757. </ul>
  758. <a name="buildCurve-java.awt.Point-java.awt.Point-">
  759. <!-- -->
  760. </a>
  761. <ul class="blockList">
  762. <li class="blockList">
  763. <h4>buildCurve</h4>
  764. <pre>public&nbsp;java.awt.geom.CubicCurve2D&nbsp;buildCurve(java.awt.Point&nbsp;p1,
  765. java.awt.Point&nbsp;p2)</pre>
  766. <div class="block">Build a Curve for the Graph.</div>
  767. <dl>
  768. <dt><span class="paramLabel">Parameters:</span></dt>
  769. <dd><code>p1</code> - startpoint</dd>
  770. <dd><code>p2</code> - endpoint</dd>
  771. <dt><span class="returnLabel">Returns:</span></dt>
  772. <dd>the CubicCurve2D for the Graph</dd>
  773. </dl>
  774. </li>
  775. </ul>
  776. <a name="fillArrayofBooleans--">
  777. <!-- -->
  778. </a>
  779. <ul class="blockList">
  780. <li class="blockList">
  781. <h4>fillArrayofBooleans</h4>
  782. <pre>public&nbsp;void&nbsp;fillArrayofBooleans()</pre>
  783. <div class="block">Fills the Arrays with booleans.</div>
  784. </li>
  785. </ul>
  786. <a name="fillArrayofValue--">
  787. <!-- -->
  788. </a>
  789. <ul class="blockList">
  790. <li class="blockList">
  791. <h4>fillArrayofValue</h4>
  792. <pre>public&nbsp;void&nbsp;fillArrayofValue()</pre>
  793. <div class="block">Fills the Arrays of each HolonElement.</div>
  794. </li>
  795. </ul>
  796. <a name="getYValueAt-int-">
  797. <!-- -->
  798. </a>
  799. <ul class="blockList">
  800. <li class="blockList">
  801. <h4>getYValueAt</h4>
  802. <pre>public&nbsp;float&nbsp;getYValueAt(int&nbsp;xVal)</pre>
  803. <div class="block">Get the Y Value at the x Coordination.</div>
  804. <dl>
  805. <dt><span class="paramLabel">Parameters:</span></dt>
  806. <dd><code>xVal</code> - the x value for the y value</dd>
  807. <dt><span class="returnLabel">Returns:</span></dt>
  808. <dd>y, the value at x</dd>
  809. </dl>
  810. </li>
  811. </ul>
  812. <a name="getYValueAt2-int-">
  813. <!-- -->
  814. </a>
  815. <ul class="blockList">
  816. <li class="blockList">
  817. <h4>getYValueAt2</h4>
  818. <pre>public&nbsp;float&nbsp;getYValueAt2(int&nbsp;xVal)</pre>
  819. <div class="block">Get y value at the x Coordination via curves.</div>
  820. <dl>
  821. <dt><span class="paramLabel">Parameters:</span></dt>
  822. <dd><code>xVal</code> - the x value for the y value</dd>
  823. <dt><span class="returnLabel">Returns:</span></dt>
  824. <dd>y value at x</dd>
  825. </dl>
  826. </li>
  827. </ul>
  828. <a name="getIntersectionPoint-java.awt.geom.Line2D-java.awt.geom.Line2D-">
  829. <!-- -->
  830. </a>
  831. <ul class="blockListLast">
  832. <li class="blockList">
  833. <h4>getIntersectionPoint</h4>
  834. <pre>public&nbsp;float&nbsp;getIntersectionPoint(java.awt.geom.Line2D&nbsp;l1,
  835. java.awt.geom.Line2D&nbsp;l2)</pre>
  836. <div class="block">Get the Intersection Point of 2 Lines.</div>
  837. <dl>
  838. <dt><span class="paramLabel">Parameters:</span></dt>
  839. <dd><code>l1</code> - the first Line</dd>
  840. <dd><code>l2</code> - the second Line</dd>
  841. <dt><span class="returnLabel">Returns:</span></dt>
  842. <dd>The Intersection Point</dd>
  843. </dl>
  844. </li>
  845. </ul>
  846. </li>
  847. </ul>
  848. </li>
  849. </ul>
  850. </div>
  851. </div>
  852. <!-- ========= END OF CLASS DATA ========= -->
  853. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  854. <div class="bottomNav"><a name="navbar.bottom">
  855. <!-- -->
  856. </a>
  857. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  858. <a name="navbar.bottom.firstrow">
  859. <!-- -->
  860. </a>
  861. <ul class="navList" title="Navigation">
  862. <li><a href="../../overview-summary.html">Overview</a></li>
  863. <li><a href="package-summary.html">Package</a></li>
  864. <li class="navBarCell1Rev">Class</li>
  865. <li><a href="class-use/UnitGraph.html">Use</a></li>
  866. <li><a href="package-tree.html">Tree</a></li>
  867. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  868. <li><a href="../../index-files/index-1.html">Index</a></li>
  869. <li><a href="../../help-doc.html">Help</a></li>
  870. </ul>
  871. </div>
  872. <div class="subNav">
  873. <ul class="navList">
  874. <li><a href="../../ui/view/TimePanel.html" title="class in ui.view"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  875. <li>Next&nbsp;Class</li>
  876. </ul>
  877. <ul class="navList">
  878. <li><a href="../../index.html?ui/view/UnitGraph.html" target="_top">Frames</a></li>
  879. <li><a href="UnitGraph.html" target="_top">No&nbsp;Frames</a></li>
  880. </ul>
  881. <ul class="navList" id="allclasses_navbar_bottom">
  882. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  883. </ul>
  884. <div>
  885. <script type="text/javascript"><!--
  886. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  887. if(window==top) {
  888. allClassesLink.style.display = "block";
  889. }
  890. else {
  891. allClassesLink.style.display = "none";
  892. }
  893. //-->
  894. </script>
  895. </div>
  896. <div>
  897. <ul class="subNavList">
  898. <li>Summary:&nbsp;</li>
  899. <li><a href="#nested.classes.inherited.from.class.javax.swing.JComponent">Nested</a>&nbsp;|&nbsp;</li>
  900. <li><a href="#fields.inherited.from.class.javax.swing.JComponent">Field</a>&nbsp;|&nbsp;</li>
  901. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  902. <li><a href="#method.summary">Method</a></li>
  903. </ul>
  904. <ul class="subNavList">
  905. <li>Detail:&nbsp;</li>
  906. <li>Field&nbsp;|&nbsp;</li>
  907. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  908. <li><a href="#method.detail">Method</a></li>
  909. </ul>
  910. </div>
  911. <a name="skip.navbar.bottom">
  912. <!-- -->
  913. </a></div>
  914. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  915. </body>
  916. </html>