gvsig-vectorediting / org.gvsig.vectorediting / trunk / org.gvsig.vectorediting / org.gvsig.vectorediting.lib / org.gvsig.vectorediting.lib.api / src / main / java / org / gvsig / vectorediting / lib / api / DrawingStatus.java @ 159
History | View | Annotate | Download (1.88 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright ? 2007-2014 gvSIG Association
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.vectorediting.lib.api; |
25 |
|
26 |
import java.util.List; |
27 |
|
28 |
import org.gvsig.fmap.geom.Geometry; |
29 |
|
30 |
/**
|
31 |
*
|
32 |
* @author gvSIG team.
|
33 |
*
|
34 |
*/
|
35 |
public interface DrawingStatus { |
36 |
|
37 |
/**
|
38 |
* Sets a geometry list to be draw.
|
39 |
*
|
40 |
* @param geometries
|
41 |
*/
|
42 |
public void setGeometries(List<Geometry> geometries); |
43 |
|
44 |
/**
|
45 |
* Gets geometry list. This list contains all geometries to be draw.
|
46 |
*
|
47 |
* @return
|
48 |
*/
|
49 |
public List<Geometry> getGeometries(); |
50 |
|
51 |
/**
|
52 |
* Sets information about position of geometries, angles, distances among
|
53 |
* geometries...
|
54 |
*
|
55 |
* @param info
|
56 |
*/
|
57 |
public void setInfo(String info); |
58 |
|
59 |
/**
|
60 |
* Gets information about position of geometries, angles, distances among
|
61 |
* geometries...
|
62 |
*
|
63 |
* @return
|
64 |
*/
|
65 |
public String getInfo(); |
66 |
|
67 |
/**
|
68 |
* Adds geometry to list to be draw.
|
69 |
*
|
70 |
* @param geometry
|
71 |
*/
|
72 |
public void addGeometry(Geometry geometry); |
73 |
|
74 |
} |