Statistics
| Revision:

root / branches / Mobile_Compatible_Hito_1 / libFMap / src / es / prodevelop / gvsig / mobile / fmap / core / Handler.java @ 21606

History | View | Annotate | Download (2.44 KB)

1
/*
2
 * Created on 10-feb-2005
3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
21
     USA.
22
 *
23
 * For more information, contact:
24
 *
25
 *  Generalitat Valenciana
26
 *   Conselleria d'Infraestructures i Transport
27
 *   Av. Blasco Ib??ez, 50
28
 *   46010 VALENCIA
29
 *   SPAIN
30
 *
31
 *      +34 963862235
32
 *   gvsig@gva.es
33
 *      www.gvsig.gva.es
34
 *
35
 *    or
36
 *
37
 *   IVER T.I. S.A
38
 *   Salamanca 50
39
 *   46005 Valencia
40
 *   Spain
41
 *
42
 *   +34 963163400
43
 *   dac@iver.es
44
 */
45
/************************************************
46
 *                                                                                                *
47
 *   Modfied By:                                                                *
48
 *   Prodevelop Integraci?n de Tecnolog?as SL        *
49
 *   Conde Salvatierra de ?lava , 34-10                        *
50
 *   46004 Valencia                                                                *
51
 *   Spain                                                                                *
52
 *                                                                                                *
53
 *   +34 963 510 612                                                        *
54
 *   +34 963 510 968                                                        *
55
 *   gis@prodevelop.es                                                        *
56
 *   http://www.prodevelop.es                                        *
57
 *                                                                                                *
58
 *   gvSIG Mobile Team 2006                                         *
59
 *                                                                                          *         
60
 ************************************************/
61

    
62
package es.prodevelop.gvsig.mobile.fmap.core;
63

    
64
import java.awt.geom.Point2D;
65

    
66

    
67
/**
68
 * Utility interface to manage geometries.
69
 *
70
 */
71
public interface Handler {
72
        /**
73
         * Adds an offset to this handler 'x','y'
74
         *
75
         * @param x 
76
         * @param y 
77
         */
78
        public void move(double x, double y);
79

    
80
        /**
81
         * Resets handler to new values 'x', 'y'
82
         *
83
         * @param x 
84
         * @param y 
85
         */
86
        public void set(double x, double y);
87

    
88
        /**
89
         * Returns the point associated with this handler
90
         *
91
         * @return the point associated with this handler
92
         */
93
        public Point2D getPoint();
94

    
95
        /**
96
         * 
97
         * @param obj the point to be compared to the current point
98
         * @return whether this handler represents the same point than obj
99
         */
100
        public boolean equalsPoint(Object obj);
101
}