Revision 21156 branches/v2_0_0_prep/libraries/libFMap/src/org/gvsig/fmap/mapcontrol/tools/Events/MeasureEvent.java
MeasureEvent.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
import java.awt.event.MouseEvent; |
44 | 44 |
|
45 |
import org.gvsig.fmap.core.shapes.GeneralPathX;
|
|
45 |
import org.gvsig.fmap.geom.primitive.GeneralPathX;
|
|
46 | 46 |
|
47 |
|
|
48 |
|
|
49 | 47 |
/** |
50 | 48 |
* <p><code>MeasureEvent</code> is used to notify the selection of a polyline.</p> |
51 |
*
|
|
49 |
* |
|
52 | 50 |
* <p>Stores the information about the 2D vertexes and the {@link GeneralPathX GeneralPathX} |
53 | 51 |
* between them.</p> |
54 | 52 |
* |
... | ... | |
59 | 57 |
* The polyline, broken down in straight lines, and quadratic and cubic (B?zier) curves. |
60 | 58 |
*/ |
61 | 59 |
private GeneralPathX gp; |
62 |
|
|
60 |
|
|
63 | 61 |
/** |
64 | 62 |
* Vector with the X coordinates. |
65 | 63 |
*/ |
66 | 64 |
private Double[] x; |
67 |
|
|
65 |
|
|
68 | 66 |
/** |
69 | 67 |
* Vector with the Y coordinates. |
70 | 68 |
*/ |
71 | 69 |
private Double[] y; |
72 |
|
|
70 |
|
|
73 | 71 |
/** |
74 | 72 |
* Mouse event that has been the cause of creating this event. |
75 | 73 |
*/ |
... | ... | |
138 | 136 |
|
139 | 137 |
/** |
140 | 138 |
* <p>Gets the event that has been the cause of creating this one.</p> |
141 |
*
|
|
139 |
* |
|
142 | 140 |
* @return mouse event that has been the cause of creating this one |
143 | 141 |
*/ |
144 | 142 |
public MouseEvent getEvent() { |
Also available in: Unified diff