Revision 21156 branches/v2_0_0_prep/libraries/libFMap/src/org/gvsig/fmap/mapcontrol/tools/Behaibor/PolylineBehavior.java
PolylineBehavior.java | ||
---|---|---|
47 | 47 |
import java.awt.geom.Point2D; |
48 | 48 |
import java.util.ArrayList; |
49 | 49 |
|
50 |
import org.gvsig.fmap.core.shapes.GeneralPathX;
|
|
50 |
import org.gvsig.fmap.geom.primitive.GeneralPathX;
|
|
51 | 51 |
import org.gvsig.fmap.mapcontrol.tools.BehaviorException; |
52 | 52 |
import org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent; |
53 | 53 |
import org.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListener; |
... | ... | |
64 | 64 |
*/ |
65 | 65 |
public class PolylineBehavior extends Behavior { |
66 | 66 |
/** |
67 |
* The abscissa coordinate of all vertexes of the polyline.
|
|
67 |
* The abscissa coordinate of all vertexes of the polyline. |
|
68 | 68 |
*/ |
69 | 69 |
protected ArrayList<Double> arrayX = new ArrayList<Double>(); |
70 | 70 |
|
71 | 71 |
/** |
72 |
* The ordinate coordinate of all vertexes of the polyline.
|
|
72 |
* The ordinate coordinate of all vertexes of the polyline. |
|
73 | 73 |
*/ |
74 | 74 |
protected ArrayList<Double> arrayY = new ArrayList<Double>(); |
75 | 75 |
|
... | ... | |
80 | 80 |
|
81 | 81 |
/** |
82 | 82 |
* Tool listener used to work with the <code>MapControl</code> object. |
83 |
*
|
|
83 |
* |
|
84 | 84 |
* @see #getListener() |
85 | 85 |
* @see #setListener(ToolListener) |
86 | 86 |
*/ |
... | ... | |
206 | 206 |
|
207 | 207 |
/** |
208 | 208 |
* <p>Sets a tool listener to work with the <code>MapControl</code> using this behavior.</p> |
209 |
*
|
|
209 |
* |
|
210 | 210 |
* @param listener a <code>PolylineListener</code> object for this behavior |
211 | 211 |
*/ |
212 | 212 |
public void setListener(ToolListener listener) { |
Also available in: Unified diff