Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / write / geometron / VertexEvent.java @ 1100

History | View | Annotate | Download (2.02 KB)

1
/* Generated by Together */
2

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

    
45
import java.awt.event.MouseEvent;
46
import java.awt.geom.Point2D;
47

    
48
public class VertexEvent extends GeometryEvent {
49
    /**
50
     * Obtiene el objeto del evento 
51
     */
52
    public Point2D getVertexPosition() {
53
            // TODO implementar bien
54
            return null;
55
    }
56

    
57
    public MouseEvent getMouseEvent() {
58
            // TODO implementar bien
59
            return null;
60
    }
61

    
62
    public int getVertexIndex() {
63
            // TODO implementar bien
64
            return -1;
65
    }
66

    
67
    /**
68
     * Construye un evento de v?rtice con la informaci?n que se pasa como par?metro. v es el v?rtice objeto del evento y vertexIndex es la posici?n que ocupa dicho v?rtice en la geometr?a 
69
     */
70
    public VertexEvent(Geometron geometron, Geometry g, Point2D v, int vertexIndex) {
71
            super(g, geometron);
72
    }
73
}