Position.html 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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>Position</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="Position";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. </script>
  22. <noscript>
  23. <div>JavaScript is disabled on your browser.</div>
  24. </noscript>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <div class="topNav"><a name="navbar.top">
  27. <!-- -->
  28. </a>
  29. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  30. <a name="navbar.top.firstrow">
  31. <!-- -->
  32. </a>
  33. <ul class="navList" title="Navigation">
  34. <li><a href="../overview-summary.html">Overview</a></li>
  35. <li><a href="package-summary.html">Package</a></li>
  36. <li class="navBarCell1Rev">Class</li>
  37. <li><a href="class-use/Position.html">Use</a></li>
  38. <li><a href="package-tree.html">Tree</a></li>
  39. <li><a href="../deprecated-list.html">Deprecated</a></li>
  40. <li><a href="../index-files/index-1.html">Index</a></li>
  41. <li><a href="../help-doc.html">Help</a></li>
  42. </ul>
  43. </div>
  44. <div class="subNav">
  45. <ul class="navList">
  46. <li><a href="../classes/IdCounterElem.html" title="class in classes"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  47. <li><a href="../classes/SubNet.html" title="class in classes"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  48. </ul>
  49. <ul class="navList">
  50. <li><a href="../index.html?classes/Position.html" target="_top">Frames</a></li>
  51. <li><a href="Position.html" target="_top">No&nbsp;Frames</a></li>
  52. </ul>
  53. <ul class="navList" id="allclasses_navbar_top">
  54. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  55. </ul>
  56. <div>
  57. <script type="text/javascript"><!--
  58. allClassesLink = document.getElementById("allclasses_navbar_top");
  59. if(window==top) {
  60. allClassesLink.style.display = "block";
  61. }
  62. else {
  63. allClassesLink.style.display = "none";
  64. }
  65. //-->
  66. </script>
  67. </div>
  68. <div>
  69. <ul class="subNavList">
  70. <li>Summary:&nbsp;</li>
  71. <li>Nested&nbsp;|&nbsp;</li>
  72. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  73. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  74. <li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
  75. </ul>
  76. <ul class="subNavList">
  77. <li>Detail:&nbsp;</li>
  78. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  80. <li>Method</li>
  81. </ul>
  82. </div>
  83. <a name="skip.navbar.top">
  84. <!-- -->
  85. </a></div>
  86. <!-- ========= END OF TOP NAVBAR ========= -->
  87. <!-- ======== START OF CLASS DATA ======== -->
  88. <div class="header">
  89. <div class="subTitle">classes</div>
  90. <h2 title="Class Position" class="title">Class Position</h2>
  91. </div>
  92. <div class="contentContainer">
  93. <ul class="inheritance">
  94. <li>java.lang.Object</li>
  95. <li>
  96. <ul class="inheritance">
  97. <li>classes.Position</li>
  98. </ul>
  99. </li>
  100. </ul>
  101. <div class="description">
  102. <ul class="blockList">
  103. <li class="blockList">
  104. <hr>
  105. <br>
  106. <pre>public class <span class="typeNameLabel">Position</span>
  107. extends java.lang.Object</pre>
  108. <div class="block">Coordinates of an Object on the canvas with a (int) x-coord and a (int).
  109. y-coord</div>
  110. <dl>
  111. <dt><span class="simpleTagLabel">Author:</span></dt>
  112. <dd>Gruppe14</dd>
  113. </dl>
  114. </li>
  115. </ul>
  116. </div>
  117. <div class="summary">
  118. <ul class="blockList">
  119. <li class="blockList">
  120. <!-- =========== FIELD SUMMARY =========== -->
  121. <ul class="blockList">
  122. <li class="blockList"><a name="field.summary">
  123. <!-- -->
  124. </a>
  125. <h3>Field Summary</h3>
  126. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  127. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  128. <tr>
  129. <th class="colFirst" scope="col">Modifier and Type</th>
  130. <th class="colLast" scope="col">Field and Description</th>
  131. </tr>
  132. <tr class="altColor">
  133. <td class="colFirst"><code>int</code></td>
  134. <td class="colLast"><code><span class="memberNameLink"><a href="../classes/Position.html#x">x</a></span></code>&nbsp;</td>
  135. </tr>
  136. <tr class="rowColor">
  137. <td class="colFirst"><code>int</code></td>
  138. <td class="colLast"><code><span class="memberNameLink"><a href="../classes/Position.html#y">y</a></span></code>&nbsp;</td>
  139. </tr>
  140. </table>
  141. </li>
  142. </ul>
  143. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  144. <ul class="blockList">
  145. <li class="blockList"><a name="constructor.summary">
  146. <!-- -->
  147. </a>
  148. <h3>Constructor Summary</h3>
  149. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  150. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  151. <tr>
  152. <th class="colOne" scope="col">Constructor and Description</th>
  153. </tr>
  154. <tr class="altColor">
  155. <td class="colOne"><code><span class="memberNameLink"><a href="../classes/Position.html#Position--">Position</a></span>()</code>
  156. <div class="block">Default constructor without defined position.</div>
  157. </td>
  158. </tr>
  159. <tr class="rowColor">
  160. <td class="colOne"><code><span class="memberNameLink"><a href="../classes/Position.html#Position-int-int-">Position</a></span>(int&nbsp;x,
  161. int&nbsp;y)</code>
  162. <div class="block">Constructor with an positive x and y coord on the canvas.</div>
  163. </td>
  164. </tr>
  165. </table>
  166. </li>
  167. </ul>
  168. <!-- ========== METHOD SUMMARY =========== -->
  169. <ul class="blockList">
  170. <li class="blockList"><a name="method.summary">
  171. <!-- -->
  172. </a>
  173. <h3>Method Summary</h3>
  174. <ul class="blockList">
  175. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  176. <!-- -->
  177. </a>
  178. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  179. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  180. </ul>
  181. </li>
  182. </ul>
  183. </li>
  184. </ul>
  185. </div>
  186. <div class="details">
  187. <ul class="blockList">
  188. <li class="blockList">
  189. <!-- ============ FIELD DETAIL =========== -->
  190. <ul class="blockList">
  191. <li class="blockList"><a name="field.detail">
  192. <!-- -->
  193. </a>
  194. <h3>Field Detail</h3>
  195. <a name="x">
  196. <!-- -->
  197. </a>
  198. <ul class="blockList">
  199. <li class="blockList">
  200. <h4>x</h4>
  201. <pre>public&nbsp;int x</pre>
  202. </li>
  203. </ul>
  204. <a name="y">
  205. <!-- -->
  206. </a>
  207. <ul class="blockListLast">
  208. <li class="blockList">
  209. <h4>y</h4>
  210. <pre>public&nbsp;int y</pre>
  211. </li>
  212. </ul>
  213. </li>
  214. </ul>
  215. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  216. <ul class="blockList">
  217. <li class="blockList"><a name="constructor.detail">
  218. <!-- -->
  219. </a>
  220. <h3>Constructor Detail</h3>
  221. <a name="Position-int-int-">
  222. <!-- -->
  223. </a>
  224. <ul class="blockList">
  225. <li class="blockList">
  226. <h4>Position</h4>
  227. <pre>public&nbsp;Position(int&nbsp;x,
  228. int&nbsp;y)</pre>
  229. <div class="block">Constructor with an positive x and y coord on the canvas.</div>
  230. <dl>
  231. <dt><span class="paramLabel">Parameters:</span></dt>
  232. <dd><code>x</code> - int</dd>
  233. <dd><code>y</code> - int</dd>
  234. </dl>
  235. </li>
  236. </ul>
  237. <a name="Position--">
  238. <!-- -->
  239. </a>
  240. <ul class="blockListLast">
  241. <li class="blockList">
  242. <h4>Position</h4>
  243. <pre>public&nbsp;Position()</pre>
  244. <div class="block">Default constructor without defined position.</div>
  245. </li>
  246. </ul>
  247. </li>
  248. </ul>
  249. </li>
  250. </ul>
  251. </div>
  252. </div>
  253. <!-- ========= END OF CLASS DATA ========= -->
  254. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  255. <div class="bottomNav"><a name="navbar.bottom">
  256. <!-- -->
  257. </a>
  258. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  259. <a name="navbar.bottom.firstrow">
  260. <!-- -->
  261. </a>
  262. <ul class="navList" title="Navigation">
  263. <li><a href="../overview-summary.html">Overview</a></li>
  264. <li><a href="package-summary.html">Package</a></li>
  265. <li class="navBarCell1Rev">Class</li>
  266. <li><a href="class-use/Position.html">Use</a></li>
  267. <li><a href="package-tree.html">Tree</a></li>
  268. <li><a href="../deprecated-list.html">Deprecated</a></li>
  269. <li><a href="../index-files/index-1.html">Index</a></li>
  270. <li><a href="../help-doc.html">Help</a></li>
  271. </ul>
  272. </div>
  273. <div class="subNav">
  274. <ul class="navList">
  275. <li><a href="../classes/IdCounterElem.html" title="class in classes"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  276. <li><a href="../classes/SubNet.html" title="class in classes"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  277. </ul>
  278. <ul class="navList">
  279. <li><a href="../index.html?classes/Position.html" target="_top">Frames</a></li>
  280. <li><a href="Position.html" target="_top">No&nbsp;Frames</a></li>
  281. </ul>
  282. <ul class="navList" id="allclasses_navbar_bottom">
  283. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  284. </ul>
  285. <div>
  286. <script type="text/javascript"><!--
  287. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  288. if(window==top) {
  289. allClassesLink.style.display = "block";
  290. }
  291. else {
  292. allClassesLink.style.display = "none";
  293. }
  294. //-->
  295. </script>
  296. </div>
  297. <div>
  298. <ul class="subNavList">
  299. <li>Summary:&nbsp;</li>
  300. <li>Nested&nbsp;|&nbsp;</li>
  301. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  302. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  303. <li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
  304. </ul>
  305. <ul class="subNavList">
  306. <li>Detail:&nbsp;</li>
  307. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  308. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  309. <li>Method</li>
  310. </ul>
  311. </div>
  312. <a name="skip.navbar.bottom">
  313. <!-- -->
  314. </a></div>
  315. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  316. </body>
  317. </html>