Documentation/Source/eric5.Graphics.AssociationItem.html

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
diff -r 892c1787d666 -r edde1fe80b3e Documentation/Source/eric5.Graphics.AssociationItem.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric5.Graphics.AssociationItem.html	Sat Jan 02 18:19:35 2010 +0000
@@ -0,0 +1,281 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric5.Graphics.AssociationItem</title>
+<style>
+b'body {\n    background:white;\n    margin: 0em 1em 10em 1em;\n    color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n    \na { color: #AA5500; }\n'
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric5.Graphics.AssociationItem</h1>
+<p>
+&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; &#105;&#116;&#101;&#109; &#102;&#111;&#114; &#97;&#110; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#98;&#101;&#116;w&#101;&#101;&#110; &#116;w&#111; &#105;&#116;&#101;&#109;&#115;.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>Center</td></tr><tr><td>East</td></tr><tr><td>Generalisation</td></tr><tr><td>Imports</td></tr><tr><td>NoRegion</td></tr><tr><td>Normal</td></tr><tr><td>North</td></tr><tr><td>NorthEast</td></tr><tr><td>NorthWest</td></tr><tr><td>South</td></tr><tr><td>SouthEast</td></tr><tr><td>SouthWest</td></tr><tr><td>West</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#AssociationItem">AssociationItem</a></td>
+<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; &#105;&#116;&#101;&#109; &#102;&#111;&#114; &#97;&#110; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#98;&#101;&#116;w&#101;&#101;&#110; &#116;w&#111; &#105;&#116;&#101;&#109;&#115;.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="AssociationItem" ID="AssociationItem"></a>
+<h2>AssociationItem</h2>
+<p>
+    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; &#105;&#116;&#101;&#109; &#102;&#111;&#114; &#97;&#110; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#98;&#101;&#116;w&#101;&#101;&#110; &#116;w&#111; &#105;&#116;&#101;&#109;&#115;.
+</p><p>
+    &#84;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#105;&#115; &#100;&#114;&#97;w&#110; &#97;&#115; &#97;&#110; &#97;&#114;&#114;&#111;w &#115;&#116;&#97;&#114;&#116;&#105;&#110;&#103; &#97;&#116; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#105;&#116;&#101;&#109;&#115; &#97;&#110;&#100;
+    &#101;&#110;&#100;&#105;&#110;&#103; &#97;&#116; &#116;&#104;&#101; &#115;&#101;&#99;&#111;&#110;&#100;.
+</p>
+<h3>Derived from</h3>
+E4ArrowItem
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#AssociationItem.__init__">AssociationItem</a></td>
+<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+</tr><tr>
+<td><a href="#AssociationItem.__calculateEndingPoints_center">__calculateEndingPoints_center</a></td>
+<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#101;&#110;&#100;&#105;&#110;&#103; &#112;&#111;&#105;&#110;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#105;&#116;&#101;&#109;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.__calculateEndingPoints_rectangle">__calculateEndingPoints_rectangle</a></td>
+<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#101;&#110;&#100;&#105;&#110;&#103; &#112;&#111;&#105;&#110;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#105;&#116;&#101;&#109;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.__findIntersection">__findIntersection</a></td>
+<td>&#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#105;&#110;&#116;&#101;&#114;&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#116;w&#111; &#108;&#105;&#110;&#101;&#115;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.__findPointRegion">__findPointRegion</a></td>
+<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#105;&#110;&#100; &#111;&#117;&#116;, w&#104;&#105;&#99;&#104; &#114;&#101;&#103;&#105;&#111;&#110; &#111;&#102; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#114;&#101;&#99;&#116; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#115; &#116;&#104;&#101; &#112;&#111;&#105;&#110;&#116; (&#80;&#111;&#115;&#88;, &#80;&#111;&#115;&#89;) &#97;&#110;&#100; &#114;&#101;&#116;&#117;&#114;&#110;&#115; &#116;&#104;&#101; &#114;&#101;&#103;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.__findRectIntersectionPoint">__findRectIntersectionPoint</a></td>
+<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#105;&#110;&#116;&#101;&#114;&#115;&#101;&#116;&#105;&#111;&#110; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#97; &#108;&#105;&#110;&#101; w&#105;&#116;&#104; &#97; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.__mapRectFromItem">__mapRectFromItem</a></td>
+<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#105;&#116;&#101;&#109;'&#115; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#116;&#111; &#116;&#104;&#105;&#115; &#105;&#116;&#101;&#109;'&#115; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#115;y&#115;&#116;&#101;&#109;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.__updateEndPoint">__updateEndPoint</a></td>
+<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#97;&#110; &#101;&#110;&#100;&#112;&#111;&#105;&#110;&#116;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.unassociate">unassociate</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#110;&#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;&#115;.</td>
+</tr><tr>
+<td><a href="#AssociationItem.widgetMoved">widgetMoved</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#97;&#102;&#116;&#101;&#114; &#97; w&#105;&#100;&#103;&#101;&#116; w&#97;&#115; &#109;&#111;v&#101;&#100;.</td>
+</tr>
+</table>
+<a NAME="AssociationItem.__init__" ID="AssociationItem.__init__"></a>
+<h4>AssociationItem (Constructor)</h4>
+<b>AssociationItem</b>(<i>itemA, itemB, type = Normal, parent = None</i>)
+<p>
+        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+</p><dl>
+<dt><i>itemA</i></dt>
+<dd>
+&#102;&#105;&#114;&#115;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;
+</dd><dt><i>itemB</i></dt>
+<dd>
+&#115;&#101;&#99;&#111;&#110;&#100; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;
+</dd><dt><i>type</i></dt>
+<dd>
+&#116;y&#112;&#101; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;. &#84;&#104;&#105;&#115; &#109;&#117;&#115;&#116; &#98;&#101; &#111;&#110;&#101; &#111;&#102;
+            &#60;&#117;&#108;&#62;
+            &#60;&#108;&#105;&#62;&#78;&#111;&#114;&#109;&#97;&#108; (&#100;&#101;&#102;&#97;&#117;&#108;&#116;)&#60;/&#108;&#105;&#62;
+            &#60;&#108;&#105;&#62;&#71;&#101;&#110;&#101;&#114;&#97;&#108;&#105;&#115;&#97;&#116;&#105;&#111;&#110;&#60;/&#108;&#105;&#62;
+            &#60;&#108;&#105;&#62;&#73;&#109;&#112;&#111;&#114;&#116;&#115;&#60;/&#108;&#105;&#62;
+            &#60;/&#117;&#108;&#62;
+</dd><dt><i>parent=</i></dt>
+<dd>
+&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;)
+</dd>
+</dl><a NAME="AssociationItem.__calculateEndingPoints_center" ID="AssociationItem.__calculateEndingPoints_center"></a>
+<h4>AssociationItem.__calculateEndingPoints_center</h4>
+<b>__calculateEndingPoints_center</b>(<i></i>)
+<p>
+        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#101;&#110;&#100;&#105;&#110;&#103; &#112;&#111;&#105;&#110;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#105;&#116;&#101;&#109;.
+</p><p>
+        &#84;&#104;&#101; &#101;&#110;&#100;&#105;&#110;&#103; &#112;&#111;&#105;&#110;&#116;&#115; &#97;&#114;&#101; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101;&#100; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#99;&#101;&#110;&#116;&#101;&#114;&#115; &#111;&#102; &#116;&#104;&#101;
+        &#116;w&#111; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#101;&#100; &#105;&#116;&#101;&#109;&#115;.
+</p><a NAME="AssociationItem.__calculateEndingPoints_rectangle" ID="AssociationItem.__calculateEndingPoints_rectangle"></a>
+<h4>AssociationItem.__calculateEndingPoints_rectangle</h4>
+<b>__calculateEndingPoints_rectangle</b>(<i></i>)
+<p>
+        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#101;&#110;&#100;&#105;&#110;&#103; &#112;&#111;&#105;&#110;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#105;&#116;&#101;&#109;.
+</p><p>
+        &#84;&#104;&#101; &#101;&#110;&#100;&#105;&#110;&#103; &#112;&#111;&#105;&#110;&#116;&#115; &#97;&#114;&#101; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101;&#100; &#98;y &#116;&#104;&#101; &#102;&#111;&#108;&#108;&#111;w&#105;&#110;&#103; &#109;&#101;&#116;&#104;&#111;&#100;.
+</p><p>
+        &#70;&#111;&#114; &#101;&#97;&#99;&#104; &#105;&#116;&#101;&#109; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109; &#105;&#115; &#100;&#105;v&#105;&#100;&#101;&#100; &#105;&#110; &#102;&#111;&#117;&#114; &#82;&#101;&#103;&#105;&#111;&#110;&#115; &#98;y &#105;&#116;&#115; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108;&#115;
+        &#97;&#115; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#101;&#100; &#98;&#101;&#108;&#111;w
+        &#60;&#112;&#114;&#101;&#62;
+                   &#92;  &#82;&#101;&#103;&#105;&#111;&#110; &#50;  /
+                    &#92;          /
+                     |--------|
+                     | &#92;    / |
+                     |  &#92;  /  |
+                     |   &#92;/   |
+            &#82;&#101;&#103;&#105;&#111;&#110; &#49; |   /&#92;   | &#82;&#101;&#103;&#105;&#111;&#110; &#51;
+                     |  /  &#92;  |
+                     | /    &#92; |
+                     |--------|
+                    /          &#92;
+                   /  &#82;&#101;&#103;&#105;&#111;&#110; &#52;  &#92;
+        &#60;/&#112;&#114;&#101;&#62;
+</p><p>
+        &#69;&#97;&#99;&#104; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108; &#105;&#115; &#100;&#101;&#102;&#105;&#110;&#101;&#100; &#98;y &#116;w&#111; &#99;&#111;&#114;&#110;&#101;&#114;&#115; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;
+</p><p>
+        &#84;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116;  w&#101; &#104;&#97;v&#101; &#116;&#111; &#102;&#105;&#110;&#100; &#111;&#117;&#116; &#105;&#110; w&#104;&#105;&#99;&#104;
+        &#114;&#101;&#103;&#105;&#111;&#110; (&#100;&#101;&#102;&#105;&#110;&#101;&#100; &#98;y &#105;&#116;&#101;&#109;&#65;'&#115; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108;&#115;) &#105;&#115; &#105;&#116;&#101;&#109;&#66;'&#115; &#84;&#111;&#112;&#76;&#101;&#102;&#116; &#99;&#111;&#114;&#110;&#101;&#114; 
+        (&#108;&#101;&#116;&#115; &#99;&#97;&#108;&#108; &#105;&#116; &#114;&#101;&#103;&#105;&#111;&#110; &#77;). &#65;&#102;&#116;&#101;&#114; &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#114;&#116; &#112;&#111;&#105;&#110;&#116; w&#105;&#108;&#108; &#98;&#101;
+        &#116;&#104;&#101; &#109;&#105;&#100;&#100;&#108;&#101; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;'&#115; &#115;&#105;&#100;&#101; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#101;&#100; &#105;&#110; &#114;&#101;&#103;&#105;&#111;&#110; &#77;.
+</p><p>
+        &#84;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#101;&#110;&#100; &#112;&#111;&#105;&#110;&#116; w&#101; &#114;&#101;&#112;&#101;&#97;&#116; &#116;&#104;&#101; &#97;&#98;&#111;v&#101; &#98;&#117;&#116; &#105;&#110; &#116;&#104;&#101; &#111;&#112;&#112;&#111;&#115;&#105;&#116;&#101; &#100;&#105;&#114;&#101;&#99;&#116;&#105;&#111;&#110;
+        (&#102;&#114;&#111;&#109; &#105;&#116;&#101;&#109;&#66; &#116;&#111; &#105;&#116;&#101;&#109;&#65;)
+</p><a NAME="AssociationItem.__findIntersection" ID="AssociationItem.__findIntersection"></a>
+<h4>AssociationItem.__findIntersection</h4>
+<b>__findIntersection</b>(<i>p1, p2, p3, p4</i>)
+<p>
+        &#77;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#105;&#110;&#116;&#101;&#114;&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#116;w&#111; &#108;&#105;&#110;&#101;&#115;.
+</p><p>
+        &#84;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#108;&#105;&#110;&#101; &#105;&#115; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;&#100; &#98;y &#116;&#104;&#101; &#112;&#111;&#105;&#110;&#116;&#115; &#112;&#49; &#97;&#110;&#100; &#112;&#50;, &#116;&#104;&#101; &#115;&#101;&#99;&#111;&#110;&#100;
+        &#108;&#105;&#110;&#101; &#98;y &#112;&#51; &#97;&#110;&#100; &#112;&#52;. &#73;&#102; &#116;&#104;&#101; &#105;&#110;&#116;&#101;&#114;&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#112;&#111;&#105;&#110;&#116; &#105;&#115; &#110;&#111;&#116; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#101;&#100; &#105;&#110;
+        &#116;&#104;&#101; &#115;&#101;&#103;&#109;&#101;&#110;&#116; &#112;&#49;&#112;&#50;, &#116;&#104;&#101;&#110; &#105;&#116; &#114;&#101;&#116;&#117;&#114;&#110;&#115; (-&#49;.&#48;, -&#49;.&#48;).
+</p><p>
+        &#70;&#111;&#114; &#116;&#104;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;'&#115; &#105;&#110;&#116;&#101;&#114;&#110;&#97;&#108; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#105;&#111;&#110;&#115; &#114;&#101;&#109;&#101;&#109;&#98;&#101;&#114;&#58;&#60;&#98;&#114; /&#62;
+        &#81;&#84; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; &#115;&#116;&#97;&#114;&#116; w&#105;&#116;&#104; &#116;&#104;&#101; &#112;&#111;&#105;&#110;&#116; (&#48;,&#48;) &#97;&#115; &#116;&#104;&#101; &#116;&#111;&#112;&#108;&#101;&#102;&#116; &#99;&#111;&#114;&#110;&#101;&#114;
+        &#97;&#110;&#100; x-v&#97;&#108;&#117;&#101;&#115; &#105;&#110;&#99;&#114;&#101;&#97;&#115;&#101; &#102;&#114;&#111;&#109; &#108;&#101;&#102;&#116; &#116;&#111; &#114;&#105;&#103;&#104;&#116; &#97;&#110;&#100; y-v&#97;&#108;&#117;&#101;&#115; &#105;&#110;&#99;&#114;&#101;&#97;&#115;&#101;
+        &#102;&#114;&#111;&#109; &#116;&#111;&#112; &#116;&#111; &#98;&#111;&#116;&#116;&#111;&#109;&#59; &#105;&#116; &#109;&#101;&#97;&#110;&#115; &#116;&#104;&#101; v&#105;&#115;&#105;&#98;&#108;&#101; &#97;&#114;&#101;&#97; &#105;&#115; &#113;&#117;&#97;&#100;&#114;&#97;&#110;&#116; &#73; &#105;&#110;
+        &#116;&#104;&#101; &#114;&#101;&#103;&#117;&#108;&#97;&#114; &#88;&#89; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#115;y&#115;&#116;&#101;&#109;
+</p><p>
+        &#60;&#112;&#114;&#101;&#62;
+            &#81;&#117;&#97;&#100;&#114;&#97;&#110;&#116; &#73;&#73;     |   &#81;&#117;&#97;&#100;&#114;&#97;&#110;&#116; &#73;
+           -----------------|-----------------
+            &#81;&#117;&#97;&#100;&#114;&#97;&#110;&#116; &#73;&#73;&#73;    |   &#81;&#117;&#97;&#100;&#114;&#97;&#110;&#116; &#73;&#86;
+        &#60;/&#112;&#114;&#101;&#62;
+</p><p>
+        &#73;&#110; &#111;&#114;&#100;&#101;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#108;&#105;&#110;&#101;&#97;&#114; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#105;&#111;&#110;&#115; &#116;&#111; w&#111;&#114;&#107; &#105;&#110; &#116;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100;
+        w&#101; &#109;&#117;&#115;&#116; &#115;w&#105;&#116;&#99;&#104; x &#97;&#110;&#100; y v&#97;&#108;&#117;&#101;&#115; (x v&#97;&#108;&#117;&#101;&#115; &#98;&#101;&#99;&#111;&#109;&#101; y v&#97;&#108;&#117;&#101;&#115; &#97;&#110;&#100; v&#105;&#99;&#101;v&#101;&#114;&#115;&#97;)
+</p><dl>
+<dt><i>p1</i></dt>
+<dd>
+&#102;&#105;&#114;&#115;&#116; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#102;&#105;&#114;&#115;&#116; &#108;&#105;&#110;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd><dt><i>p2</i></dt>
+<dd>
+&#115;&#101;&#99;&#111;&#110;&#100; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#102;&#105;&#114;&#115;&#116; &#108;&#105;&#110;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd><dt><i>p3</i></dt>
+<dd>
+&#102;&#105;&#114;&#115;&#116; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#115;&#101;&#99;&#111;&#110;&#100; &#108;&#105;&#110;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd><dt><i>p4</i></dt>
+<dd>
+&#115;&#101;&#99;&#111;&#110;&#100; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#115;&#101;&#99;&#111;&#110;&#100; &#108;&#105;&#110;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+&#116;&#104;&#101; &#105;&#110;&#116;&#101;&#114;&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#112;&#111;&#105;&#110;&#116; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd>
+</dl><a NAME="AssociationItem.__findPointRegion" ID="AssociationItem.__findPointRegion"></a>
+<h4>AssociationItem.__findPointRegion</h4>
+<b>__findPointRegion</b>(<i>rect, posX, posY</i>)
+<p>
+        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#105;&#110;&#100; &#111;&#117;&#116;, w&#104;&#105;&#99;&#104; &#114;&#101;&#103;&#105;&#111;&#110; &#111;&#102; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#114;&#101;&#99;&#116; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#115; &#116;&#104;&#101; &#112;&#111;&#105;&#110;&#116; 
+        (&#80;&#111;&#115;&#88;, &#80;&#111;&#115;&#89;) &#97;&#110;&#100; &#114;&#101;&#116;&#117;&#114;&#110;&#115; &#116;&#104;&#101; &#114;&#101;&#103;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114;.
+</p><dl>
+<dt><i>rect</i></dt>
+<dd>
+&#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#114;&#101;&#103;&#105;&#111;&#110; &#102;&#111;&#114; (&#81;&#82;&#101;&#99;&#116;&#70;)
+</dd><dt><i>posX</i></dt>
+<dd>
+x &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
+</dd><dt><i>posY</i></dt>
+<dd>
+y &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#112;&#111;&#105;&#110;&#116; (&#102;&#108;&#111;&#97;&#116;)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+&#116;&#104;&#101; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101;&#100; &#114;&#101;&#103;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114;&#60;&#98;&#114; /&#62;
+            &#87;&#101;&#115;&#116; &#61; &#82;&#101;&#103;&#105;&#111;&#110; &#49;&#60;&#98;&#114; /&#62;
+            &#78;&#111;&#114;&#116;&#104; &#61; &#82;&#101;&#103;&#105;&#111;&#110; &#50;&#60;&#98;&#114; /&#62;
+            &#69;&#97;&#115;&#116; &#61; &#82;&#101;&#103;&#105;&#111;&#110; &#51;&#60;&#98;&#114; /&#62;
+            &#83;&#111;&#117;&#116;&#104; &#61; &#82;&#101;&#103;&#105;&#111;&#110; &#52;&#60;&#98;&#114; /&#62;
+            &#78;&#111;&#114;&#116;&#104;&#87;&#101;&#115;&#116; &#61; &#79;&#110; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108; &#50; &#98;&#101;&#116;w&#101;&#101;&#110; &#82;&#101;&#103;&#105;&#111;&#110; &#49; &#97;&#110;&#100; &#50;&#60;&#98;&#114; /&#62;
+            &#78;&#111;&#114;&#116;&#104;&#69;&#97;&#115;&#116; &#61; &#79;&#110; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108; &#49; &#98;&#101;&#116;w&#101;&#101;&#110; &#82;&#101;&#103;&#105;&#111;&#110; &#50; &#97;&#110;&#100; &#51;&#60;&#98;&#114; /&#62;
+            &#83;&#111;&#117;&#116;&#104;&#69;&#97;&#115;&#116; &#61; &#79;&#110; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108; &#50; &#98;&#101;&#116;w&#101;&#101;&#110; &#82;&#101;&#103;&#105;&#111;&#110; &#51; &#97;&#110;&#100; &#52;&#60;&#98;&#114; /&#62;
+            &#83;&#111;&#117;&#116;&#104;&#87;&#101;&#115;&#116; &#61; &#79;&#110; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108; &#49; &#98;&#101;&#116;w&#101;&#101;&#110; &#82;&#101;&#103;&#105;&#111;&#110;&#52; &#97;&#110;&#100; &#49;&#60;&#98;&#114; /&#62;
+            &#67;&#101;&#110;&#116;&#101;&#114; &#61; &#79;&#110; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108; &#49; &#97;&#110;&#100; &#79;&#110; &#100;&#105;&#97;&#103;&#111;&#110;&#97;&#108; &#50; (&#116;&#104;&#101; &#99;&#101;&#110;&#116;&#101;&#114;)&#60;&#98;&#114; /&#62;
+</dd>
+</dl><a NAME="AssociationItem.__findRectIntersectionPoint" ID="AssociationItem.__findRectIntersectionPoint"></a>
+<h4>AssociationItem.__findRectIntersectionPoint</h4>
+<b>__findRectIntersectionPoint</b>(<i>item, p1, p2</i>)
+<p>
+        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#105;&#110;&#100; &#116;&#104;&#101; &#105;&#110;&#116;&#101;&#114;&#115;&#101;&#116;&#105;&#111;&#110; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#97; &#108;&#105;&#110;&#101; w&#105;&#116;&#104; &#97; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;.
+</p><dl>
+<dt><i>item</i></dt>
+<dd>
+&#105;&#116;&#101;&#109; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#97;&#103;&#97;&#105;&#110;&#115;&#116;
+</dd><dt><i>p1</i></dt>
+<dd>
+&#102;&#105;&#114;&#115;&#116; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd><dt><i>p2</i></dt>
+<dd>
+&#115;&#101;&#99;&#111;&#110;&#100; &#112;&#111;&#105;&#110;&#116; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+&#116;&#104;&#101; &#105;&#110;&#116;&#101;&#114;&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#112;&#111;&#105;&#110;&#116; (&#81;&#80;&#111;&#105;&#110;&#116;&#70;)
+</dd>
+</dl><a NAME="AssociationItem.__mapRectFromItem" ID="AssociationItem.__mapRectFromItem"></a>
+<h4>AssociationItem.__mapRectFromItem</h4>
+<b>__mapRectFromItem</b>(<i>item</i>)
+<p>
+        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#105;&#116;&#101;&#109;'&#115; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#116;&#111; &#116;&#104;&#105;&#115; &#105;&#116;&#101;&#109;'&#115; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; &#115;y&#115;&#116;&#101;&#109;.
+</p><dl>
+<dt><i>item</i></dt>
+<dd>
+&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#116;&#111; &#98;&#101; &#109;&#97;&#112;&#112;&#101;&#100; (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#82;&#101;&#99;&#116;&#73;&#116;&#101;&#109;)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+&#105;&#116;&#101;&#109;'&#115; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#105;&#110; &#108;&#111;&#99;&#97;&#108; &#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101;&#115; (&#81;&#82;&#101;&#99;&#116;&#70;)
+</dd>
+</dl><a NAME="AssociationItem.__updateEndPoint" ID="AssociationItem.__updateEndPoint"></a>
+<h4>AssociationItem.__updateEndPoint</h4>
+<b>__updateEndPoint</b>(<i>region, isWidgetA</i>)
+<p>
+        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#97;&#110; &#101;&#110;&#100;&#112;&#111;&#105;&#110;&#116;.
+</p><dl>
+<dt><i>region</i></dt>
+<dd>
+&#116;&#104;&#101; &#114;&#101;&#103;&#105;&#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &#101;&#110;&#100;&#112;&#111;&#105;&#110;&#116; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+</dd><dt><i>isWidgetA</i></dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#111;&#114; &#105;&#116;&#101;&#109;&#65; &#105;&#115; &#100;&#111;&#110;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl><a NAME="AssociationItem.unassociate" ID="AssociationItem.unassociate"></a>
+<h4>AssociationItem.unassociate</h4>
+<b>unassociate</b>(<i></i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#110;&#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;&#115;.
+</p><a NAME="AssociationItem.widgetMoved" ID="AssociationItem.widgetMoved"></a>
+<h4>AssociationItem.widgetMoved</h4>
+<b>widgetMoved</b>(<i></i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#97;&#102;&#116;&#101;&#114; &#97; w&#105;&#100;&#103;&#101;&#116; w&#97;&#115; &#109;&#111;v&#101;&#100;.
+</p>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial