Revision 159 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

View differences:

DrawingStatus.java
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
 */
1 24
package org.gvsig.vectorediting.lib.api;
2 25

  
3 26
import java.util.List;
......
10 33
 *
11 34
 */
12 35
public interface DrawingStatus {
13
  
14
  /**
15
   * Sets a geometry list to be draw. 
16
   * 
17
   * @param geometries
18
   */
19
	public void setGeometries(List<Geometry> geometries);
20 36

  
21
	/**
22
	 * Gets geometry list. This list contains all geometries to be draw.
23
	 * 
24
	 * @return
25
	 */
26
	public List<Geometry> getGeometries();
37
    /**
38
     * Sets a geometry list to be draw.
39
     * 
40
     * @param geometries
41
     */
42
    public void setGeometries(List<Geometry> geometries);
27 43

  
28
	/**
29
	 * Sets information about position of geometries, angles, distances among geometries...  
30
	 * 
31
	 * @param info 
32
	 */
33
	public void setInfo(String info);
44
    /**
45
     * Gets geometry list. This list contains all geometries to be draw.
46
     * 
47
     * @return
48
     */
49
    public List<Geometry> getGeometries();
34 50

  
35
	/**
36
	 * Gets information about position of geometries, angles, distances among geometries...
37
	 * 
38
	 * @return
39
	 */
40
	public String getInfo();
51
    /**
52
     * Sets information about position of geometries, angles, distances among
53
     * geometries...
54
     * 
55
     * @param info
56
     */
57
    public void setInfo(String info);
41 58

  
42
	/**
43
	 * Adds geometry to list to be draw.
44
	 * 
45
	 * @param geometry 
46
	 */
47
	public void addGeometry(Geometry geometry);
59
    /**
60
     * Gets information about position of geometries, angles, distances among
61
     * geometries...
62
     * 
63
     * @return
64
     */
65
    public String getInfo();
48 66

  
49
}
67
    /**
68
     * Adds geometry to list to be draw.
69
     * 
70
     * @param geometry
71
     */
72
    public void addGeometry(Geometry geometry);
73

  
74
}

Also available in: Unified diff