MyCanvas.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  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:15 CEST 2016 -->
  6. <title>MyCanvas</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="MyCanvas";
  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};
  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/MyCanvas.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/Main.html" title="class in ui.view"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../ui/view/PropertyTable.html" title="class in ui.view"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../index.html?ui/view/MyCanvas.html" target="_top">Frames</a></li>
  57. <li><a href="MyCanvas.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="#field.summary">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><a href="#field.detail">Field</a>&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 MyCanvas" class="title">Class MyCanvas</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.MyCanvas</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.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">MyCanvas</span>
  137. extends javax.swing.JPanel
  138. implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener</pre>
  139. <div class="block">This Class is the Canvas. All Objects will be visualized here</div>
  140. <dl>
  141. <dt><span class="simpleTagLabel">Author:</span></dt>
  142. <dd>Gruppe14</dd>
  143. <dt><span class="seeLabel">See Also:</span></dt>
  144. <dd><a href="../../serialized-form.html#ui.view.MyCanvas">Serialized Form</a></dd>
  145. </dl>
  146. </li>
  147. </ul>
  148. </div>
  149. <div class="summary">
  150. <ul class="blockList">
  151. <li class="blockList">
  152. <!-- ======== NESTED CLASS SUMMARY ======== -->
  153. <ul class="blockList">
  154. <li class="blockList"><a name="nested.class.summary">
  155. <!-- -->
  156. </a>
  157. <h3>Nested Class Summary</h3>
  158. <ul class="blockList">
  159. <li class="blockList"><a name="nested.classes.inherited.from.class.javax.swing.JComponent">
  160. <!-- -->
  161. </a>
  162. <h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JComponent</h3>
  163. <code>javax.swing.JComponent.AccessibleJComponent</code></li>
  164. </ul>
  165. <ul class="blockList">
  166. <li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Component">
  167. <!-- -->
  168. </a>
  169. <h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
  170. <code>java.awt.Component.BaselineResizeBehavior</code></li>
  171. </ul>
  172. </li>
  173. </ul>
  174. <!-- =========== FIELD SUMMARY =========== -->
  175. <ul class="blockList">
  176. <li class="blockList"><a name="field.summary">
  177. <!-- -->
  178. </a>
  179. <h3>Field Summary</h3>
  180. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  181. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  182. <tr>
  183. <th class="colFirst" scope="col">Modifier and Type</th>
  184. <th class="colLast" scope="col">Field and Description</th>
  185. </tr>
  186. <tr class="altColor">
  187. <td class="colFirst"><code>javax.swing.JMenuItem</code></td>
  188. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#itemPaste">itemPaste</a></span></code>&nbsp;</td>
  189. </tr>
  190. <tr class="rowColor">
  191. <td class="colFirst"><code><a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a></code></td>
  192. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#tempCps">tempCps</a></span></code>&nbsp;</td>
  193. </tr>
  194. </table>
  195. <ul class="blockList">
  196. <li class="blockList"><a name="fields.inherited.from.class.javax.swing.JComponent">
  197. <!-- -->
  198. </a>
  199. <h3>Fields inherited from class&nbsp;javax.swing.JComponent</h3>
  200. <code>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
  201. </ul>
  202. <ul class="blockList">
  203. <li class="blockList"><a name="fields.inherited.from.class.java.awt.Component">
  204. <!-- -->
  205. </a>
  206. <h3>Fields inherited from class&nbsp;java.awt.Component</h3>
  207. <code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
  208. </ul>
  209. <ul class="blockList">
  210. <li class="blockList"><a name="fields.inherited.from.class.java.awt.image.ImageObserver">
  211. <!-- -->
  212. </a>
  213. <h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
  214. <code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
  215. </ul>
  216. </li>
  217. </ul>
  218. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  219. <ul class="blockList">
  220. <li class="blockList"><a name="constructor.summary">
  221. <!-- -->
  222. </a>
  223. <h3>Constructor Summary</h3>
  224. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  225. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  226. <tr>
  227. <th class="colOne" scope="col">Constructor and Description</th>
  228. </tr>
  229. <tr class="altColor">
  230. <td class="colOne"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#MyCanvas-ui.model.Model-ui.controller.Control-">MyCanvas</a></span>(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;mod,
  231. <a href="../../ui/controller/Control.html" title="class in ui.controller">Control</a>&nbsp;control)</code>
  232. <div class="block">Constructor.</div>
  233. </td>
  234. </tr>
  235. </table>
  236. </li>
  237. </ul>
  238. <!-- ========== METHOD SUMMARY =========== -->
  239. <ul class="blockList">
  240. <li class="blockList"><a name="method.summary">
  241. <!-- -->
  242. </a>
  243. <h3>Method Summary</h3>
  244. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  245. <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>
  246. <tr>
  247. <th class="colFirst" scope="col">Modifier and Type</th>
  248. <th class="colLast" scope="col">Method and Description</th>
  249. </tr>
  250. <tr id="i0" class="altColor">
  251. <td class="colFirst"><code>boolean[]</code></td>
  252. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#getShowedInformation--">getShowedInformation</a></span>()</code>
  253. <div class="block">Returns if Information should be shown.</div>
  254. </td>
  255. </tr>
  256. <tr id="i1" class="rowColor">
  257. <td class="colFirst"><code>void</code></td>
  258. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mouseClicked-java.awt.event.MouseEvent-">mouseClicked</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  259. </tr>
  260. <tr id="i2" class="altColor">
  261. <td class="colFirst"><code>void</code></td>
  262. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mouseDragged-java.awt.event.MouseEvent-">mouseDragged</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  263. </tr>
  264. <tr id="i3" class="rowColor">
  265. <td class="colFirst"><code>void</code></td>
  266. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mouseEntered-java.awt.event.MouseEvent-">mouseEntered</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  267. </tr>
  268. <tr id="i4" class="altColor">
  269. <td class="colFirst"><code>void</code></td>
  270. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mouseExited-java.awt.event.MouseEvent-">mouseExited</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  271. </tr>
  272. <tr id="i5" class="rowColor">
  273. <td class="colFirst"><code>void</code></td>
  274. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mouseMoved-java.awt.event.MouseEvent-">mouseMoved</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  275. </tr>
  276. <tr id="i6" class="altColor">
  277. <td class="colFirst"><code><a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a></code></td>
  278. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mousePositionOnEdge-int-int-">mousePositionOnEdge</a></span>(int&nbsp;x,
  279. int&nbsp;y)</code>
  280. <div class="block">Checks if the mouse is on an Edge.</div>
  281. </td>
  282. </tr>
  283. <tr id="i7" class="rowColor">
  284. <td class="colFirst"><code>void</code></td>
  285. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mousePressed-java.awt.event.MouseEvent-">mousePressed</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  286. </tr>
  287. <tr id="i8" class="altColor">
  288. <td class="colFirst"><code>void</code></td>
  289. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#mouseReleased-java.awt.event.MouseEvent-">mouseReleased</a></span>(java.awt.event.MouseEvent&nbsp;e)</code>&nbsp;</td>
  290. </tr>
  291. <tr id="i9" class="rowColor">
  292. <td class="colFirst"><code>void</code></td>
  293. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#paintComponent-java.awt.Graphics-">paintComponent</a></span>(java.awt.Graphics&nbsp;g)</code>
  294. <div class="block">Paints all Components on the Canvas.</div>
  295. </td>
  296. </tr>
  297. <tr id="i10" class="altColor">
  298. <td class="colFirst"><code>void</code></td>
  299. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#setEdgeCapacity-float-">setEdgeCapacity</a></span>(float&nbsp;cap)</code>
  300. <div class="block">sets the Edge Capacity.</div>
  301. </td>
  302. </tr>
  303. <tr id="i11" class="rowColor">
  304. <td class="colFirst"><code>void</code></td>
  305. <td class="colLast"><code><span class="memberNameLink"><a href="../../ui/view/MyCanvas.html#setShowedInformation-boolean-boolean-">setShowedInformation</a></span>(boolean&nbsp;connection,
  306. boolean&nbsp;object)</code>
  307. <div class="block">Set if Information should be shown.</div>
  308. </td>
  309. </tr>
  310. </table>
  311. <ul class="blockList">
  312. <li class="blockList"><a name="methods.inherited.from.class.javax.swing.JPanel">
  313. <!-- -->
  314. </a>
  315. <h3>Methods inherited from class&nbsp;javax.swing.JPanel</h3>
  316. <code>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</code></li>
  317. </ul>
  318. <ul class="blockList">
  319. <li class="blockList"><a name="methods.inherited.from.class.javax.swing.JComponent">
  320. <!-- -->
  321. </a>
  322. <h3>Methods inherited from class&nbsp;javax.swing.JComponent</h3>
  323. <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>
  324. </ul>
  325. <ul class="blockList">
  326. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Container">
  327. <!-- -->
  328. </a>
  329. <h3>Methods inherited from class&nbsp;java.awt.Container</h3>
  330. <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>
  331. </ul>
  332. <ul class="blockList">
  333. <li class="blockList"><a name="methods.inherited.from.class.java.awt.Component">
  334. <!-- -->
  335. </a>
  336. <h3>Methods inherited from class&nbsp;java.awt.Component</h3>
  337. <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>
  338. </ul>
  339. <ul class="blockList">
  340. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  341. <!-- -->
  342. </a>
  343. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  344. <code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  345. </ul>
  346. </li>
  347. </ul>
  348. </li>
  349. </ul>
  350. </div>
  351. <div class="details">
  352. <ul class="blockList">
  353. <li class="blockList">
  354. <!-- ============ FIELD DETAIL =========== -->
  355. <ul class="blockList">
  356. <li class="blockList"><a name="field.detail">
  357. <!-- -->
  358. </a>
  359. <h3>Field Detail</h3>
  360. <a name="tempCps">
  361. <!-- -->
  362. </a>
  363. <ul class="blockList">
  364. <li class="blockList">
  365. <h4>tempCps</h4>
  366. <pre>public&nbsp;<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a> tempCps</pre>
  367. </li>
  368. </ul>
  369. <a name="itemPaste">
  370. <!-- -->
  371. </a>
  372. <ul class="blockListLast">
  373. <li class="blockList">
  374. <h4>itemPaste</h4>
  375. <pre>public&nbsp;javax.swing.JMenuItem itemPaste</pre>
  376. </li>
  377. </ul>
  378. </li>
  379. </ul>
  380. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  381. <ul class="blockList">
  382. <li class="blockList"><a name="constructor.detail">
  383. <!-- -->
  384. </a>
  385. <h3>Constructor Detail</h3>
  386. <a name="MyCanvas-ui.model.Model-ui.controller.Control-">
  387. <!-- -->
  388. </a>
  389. <ul class="blockListLast">
  390. <li class="blockList">
  391. <h4>MyCanvas</h4>
  392. <pre>public&nbsp;MyCanvas(<a href="../../ui/model/Model.html" title="class in ui.model">Model</a>&nbsp;mod,
  393. <a href="../../ui/controller/Control.html" title="class in ui.controller">Control</a>&nbsp;control)</pre>
  394. <div class="block">Constructor.</div>
  395. <dl>
  396. <dt><span class="paramLabel">Parameters:</span></dt>
  397. <dd><code>mod</code> - the Model</dd>
  398. <dd><code>control</code> - the Controller</dd>
  399. </dl>
  400. </li>
  401. </ul>
  402. </li>
  403. </ul>
  404. <!-- ============ METHOD DETAIL ========== -->
  405. <ul class="blockList">
  406. <li class="blockList"><a name="method.detail">
  407. <!-- -->
  408. </a>
  409. <h3>Method Detail</h3>
  410. <a name="paintComponent-java.awt.Graphics-">
  411. <!-- -->
  412. </a>
  413. <ul class="blockList">
  414. <li class="blockList">
  415. <h4>paintComponent</h4>
  416. <pre>public&nbsp;void&nbsp;paintComponent(java.awt.Graphics&nbsp;g)</pre>
  417. <div class="block">Paints all Components on the Canvas.</div>
  418. <dl>
  419. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  420. <dd><code>paintComponent</code>&nbsp;in class&nbsp;<code>javax.swing.JComponent</code></dd>
  421. <dt><span class="paramLabel">Parameters:</span></dt>
  422. <dd><code>g</code> - Graphics</dd>
  423. </dl>
  424. </li>
  425. </ul>
  426. <a name="mouseClicked-java.awt.event.MouseEvent-">
  427. <!-- -->
  428. </a>
  429. <ul class="blockList">
  430. <li class="blockList">
  431. <h4>mouseClicked</h4>
  432. <pre>public&nbsp;void&nbsp;mouseClicked(java.awt.event.MouseEvent&nbsp;e)</pre>
  433. <dl>
  434. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  435. <dd><code>mouseClicked</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  436. </dl>
  437. </li>
  438. </ul>
  439. <a name="mouseEntered-java.awt.event.MouseEvent-">
  440. <!-- -->
  441. </a>
  442. <ul class="blockList">
  443. <li class="blockList">
  444. <h4>mouseEntered</h4>
  445. <pre>public&nbsp;void&nbsp;mouseEntered(java.awt.event.MouseEvent&nbsp;e)</pre>
  446. <dl>
  447. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  448. <dd><code>mouseEntered</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  449. </dl>
  450. </li>
  451. </ul>
  452. <a name="mouseExited-java.awt.event.MouseEvent-">
  453. <!-- -->
  454. </a>
  455. <ul class="blockList">
  456. <li class="blockList">
  457. <h4>mouseExited</h4>
  458. <pre>public&nbsp;void&nbsp;mouseExited(java.awt.event.MouseEvent&nbsp;e)</pre>
  459. <dl>
  460. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  461. <dd><code>mouseExited</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  462. </dl>
  463. </li>
  464. </ul>
  465. <a name="mousePressed-java.awt.event.MouseEvent-">
  466. <!-- -->
  467. </a>
  468. <ul class="blockList">
  469. <li class="blockList">
  470. <h4>mousePressed</h4>
  471. <pre>public&nbsp;void&nbsp;mousePressed(java.awt.event.MouseEvent&nbsp;e)</pre>
  472. <dl>
  473. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  474. <dd><code>mousePressed</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  475. </dl>
  476. </li>
  477. </ul>
  478. <a name="mouseReleased-java.awt.event.MouseEvent-">
  479. <!-- -->
  480. </a>
  481. <ul class="blockList">
  482. <li class="blockList">
  483. <h4>mouseReleased</h4>
  484. <pre>public&nbsp;void&nbsp;mouseReleased(java.awt.event.MouseEvent&nbsp;e)</pre>
  485. <dl>
  486. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  487. <dd><code>mouseReleased</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseListener</code></dd>
  488. </dl>
  489. </li>
  490. </ul>
  491. <a name="mouseDragged-java.awt.event.MouseEvent-">
  492. <!-- -->
  493. </a>
  494. <ul class="blockList">
  495. <li class="blockList">
  496. <h4>mouseDragged</h4>
  497. <pre>public&nbsp;void&nbsp;mouseDragged(java.awt.event.MouseEvent&nbsp;e)</pre>
  498. <dl>
  499. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  500. <dd><code>mouseDragged</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseMotionListener</code></dd>
  501. </dl>
  502. </li>
  503. </ul>
  504. <a name="mouseMoved-java.awt.event.MouseEvent-">
  505. <!-- -->
  506. </a>
  507. <ul class="blockList">
  508. <li class="blockList">
  509. <h4>mouseMoved</h4>
  510. <pre>public&nbsp;void&nbsp;mouseMoved(java.awt.event.MouseEvent&nbsp;e)</pre>
  511. <dl>
  512. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  513. <dd><code>mouseMoved</code>&nbsp;in interface&nbsp;<code>java.awt.event.MouseMotionListener</code></dd>
  514. </dl>
  515. </li>
  516. </ul>
  517. <a name="mousePositionOnEdge-int-int-">
  518. <!-- -->
  519. </a>
  520. <ul class="blockList">
  521. <li class="blockList">
  522. <h4>mousePositionOnEdge</h4>
  523. <pre>public&nbsp;<a href="../../classes/CpsEdge.html" title="class in classes">CpsEdge</a>&nbsp;mousePositionOnEdge(int&nbsp;x,
  524. int&nbsp;y)</pre>
  525. <div class="block">Checks if the mouse is on an Edge.</div>
  526. <dl>
  527. <dt><span class="paramLabel">Parameters:</span></dt>
  528. <dd><code>x</code> - Position of the Mouse</dd>
  529. <dd><code>y</code> - Position of the Mouse</dd>
  530. <dt><span class="returnLabel">Returns:</span></dt>
  531. <dd>CpsEdge the Mouse is on, null if the mouse is not on an Edge</dd>
  532. </dl>
  533. </li>
  534. </ul>
  535. <a name="setEdgeCapacity-float-">
  536. <!-- -->
  537. </a>
  538. <ul class="blockList">
  539. <li class="blockList">
  540. <h4>setEdgeCapacity</h4>
  541. <pre>public&nbsp;void&nbsp;setEdgeCapacity(float&nbsp;cap)</pre>
  542. <div class="block">sets the Edge Capacity.</div>
  543. <dl>
  544. <dt><span class="paramLabel">Parameters:</span></dt>
  545. <dd><code>cap</code> - capacity</dd>
  546. </dl>
  547. </li>
  548. </ul>
  549. <a name="setShowedInformation-boolean-boolean-">
  550. <!-- -->
  551. </a>
  552. <ul class="blockList">
  553. <li class="blockList">
  554. <h4>setShowedInformation</h4>
  555. <pre>public&nbsp;void&nbsp;setShowedInformation(boolean&nbsp;connection,
  556. boolean&nbsp;object)</pre>
  557. <div class="block">Set if Information should be shown.</div>
  558. <dl>
  559. <dt><span class="paramLabel">Parameters:</span></dt>
  560. <dd><code>connection</code> - boolean for conecction</dd>
  561. <dd><code>object</code> - boolean for objects</dd>
  562. </dl>
  563. </li>
  564. </ul>
  565. <a name="getShowedInformation--">
  566. <!-- -->
  567. </a>
  568. <ul class="blockListLast">
  569. <li class="blockList">
  570. <h4>getShowedInformation</h4>
  571. <pre>public&nbsp;boolean[]&nbsp;getShowedInformation()</pre>
  572. <div class="block">Returns if Information should be shown.</div>
  573. <dl>
  574. <dt><span class="returnLabel">Returns:</span></dt>
  575. <dd>Array of boolean [0] = connection, [1] = objects</dd>
  576. </dl>
  577. </li>
  578. </ul>
  579. </li>
  580. </ul>
  581. </li>
  582. </ul>
  583. </div>
  584. </div>
  585. <!-- ========= END OF CLASS DATA ========= -->
  586. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  587. <div class="bottomNav"><a name="navbar.bottom">
  588. <!-- -->
  589. </a>
  590. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  591. <a name="navbar.bottom.firstrow">
  592. <!-- -->
  593. </a>
  594. <ul class="navList" title="Navigation">
  595. <li><a href="../../overview-summary.html">Overview</a></li>
  596. <li><a href="package-summary.html">Package</a></li>
  597. <li class="navBarCell1Rev">Class</li>
  598. <li><a href="class-use/MyCanvas.html">Use</a></li>
  599. <li><a href="package-tree.html">Tree</a></li>
  600. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  601. <li><a href="../../index-files/index-1.html">Index</a></li>
  602. <li><a href="../../help-doc.html">Help</a></li>
  603. </ul>
  604. </div>
  605. <div class="subNav">
  606. <ul class="navList">
  607. <li><a href="../../ui/view/Main.html" title="class in ui.view"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  608. <li><a href="../../ui/view/PropertyTable.html" title="class in ui.view"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  609. </ul>
  610. <ul class="navList">
  611. <li><a href="../../index.html?ui/view/MyCanvas.html" target="_top">Frames</a></li>
  612. <li><a href="MyCanvas.html" target="_top">No&nbsp;Frames</a></li>
  613. </ul>
  614. <ul class="navList" id="allclasses_navbar_bottom">
  615. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  616. </ul>
  617. <div>
  618. <script type="text/javascript"><!--
  619. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  620. if(window==top) {
  621. allClassesLink.style.display = "block";
  622. }
  623. else {
  624. allClassesLink.style.display = "none";
  625. }
  626. //-->
  627. </script>
  628. </div>
  629. <div>
  630. <ul class="subNavList">
  631. <li>Summary:&nbsp;</li>
  632. <li><a href="#nested.classes.inherited.from.class.javax.swing.JComponent">Nested</a>&nbsp;|&nbsp;</li>
  633. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  634. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  635. <li><a href="#method.summary">Method</a></li>
  636. </ul>
  637. <ul class="subNavList">
  638. <li>Detail:&nbsp;</li>
  639. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  640. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  641. <li><a href="#method.detail">Method</a></li>
  642. </ul>
  643. </div>
  644. <a name="skip.navbar.bottom">
  645. <!-- -->
  646. </a></div>
  647. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  648. </body>
  649. </html>