svn-gvsig-desktop / tags / v1_0_2_Build_895 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / layers / LayerCollectionListener.java @ 10328
History | View | Annotate | Download (3.68 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*
|
19 |
* For more information, contact:
|
20 |
*
|
21 |
* Generalitat Valenciana
|
22 |
* Conselleria d'Infraestructures i Transport
|
23 |
* Av. Blasco Ib??ez, 50
|
24 |
* 46010 VALENCIA
|
25 |
* SPAIN
|
26 |
*
|
27 |
* +34 963862235
|
28 |
* gvsig@gva.es
|
29 |
* www.gvsig.gva.es
|
30 |
*
|
31 |
* or
|
32 |
*
|
33 |
* IVER T.I. S.A
|
34 |
* Salamanca 50
|
35 |
* 46005 Valencia
|
36 |
* Spain
|
37 |
*
|
38 |
* +34 963163400
|
39 |
* dac@iver.es
|
40 |
*/
|
41 |
package com.iver.cit.gvsig.fmap.layers; |
42 |
|
43 |
/**
|
44 |
* Listeners de eventos producidos sobre la colecci?n de capas
|
45 |
*/
|
46 |
public interface LayerCollectionListener { |
47 |
/**
|
48 |
* Invocado cuando se a?ade una capa
|
49 |
*
|
50 |
* @param e Informaci?n del evento
|
51 |
*/
|
52 |
void layerAdded(LayerCollectionEvent e);
|
53 |
|
54 |
/**
|
55 |
* Invocado cuando se mueve una capa
|
56 |
*
|
57 |
* @param e Informaci?n del evento
|
58 |
*/
|
59 |
void layerMoved(LayerPositionEvent e);
|
60 |
|
61 |
/**
|
62 |
* Invocado cuando se elimina una capa
|
63 |
*
|
64 |
* @param e Informaci?n del evento
|
65 |
*/
|
66 |
void layerRemoved(LayerCollectionEvent e);
|
67 |
|
68 |
/**
|
69 |
* Invocado cuando se est? a punto de a?adir una capa
|
70 |
*
|
71 |
* @param e Informaci?n del evento
|
72 |
*
|
73 |
* @throws CancelationException Si se quiere cancelar la operaci?n. El
|
74 |
* mensaje de la excepci?n es el que se mostrar? al usuario en su
|
75 |
* caso
|
76 |
*/
|
77 |
void layerAdding(LayerCollectionEvent e) throws CancelationException; |
78 |
|
79 |
/**
|
80 |
* Invocado cuando se est? a punto de mover una capa
|
81 |
*
|
82 |
* @param e Informaci?n del evento
|
83 |
*
|
84 |
* @throws CancelationException Si se quiere cancelar la operaci?n. El
|
85 |
* mensaje de la excepci?n es el que se mostrar? al usuario en su
|
86 |
* caso
|
87 |
*/
|
88 |
void layerMoving(LayerPositionEvent e) throws CancelationException; |
89 |
|
90 |
/**
|
91 |
* Invocado cuando se est? a punto de eliminar una capa
|
92 |
*
|
93 |
* @param e Informaci?n del evento
|
94 |
*
|
95 |
* @throws CancelationException Si se quiere cancelar la operaci?n. El
|
96 |
* mensaje de la excepci?n es el que se mostrar? al usuario en su
|
97 |
* caso
|
98 |
*/
|
99 |
void layerRemoving(LayerCollectionEvent e) throws CancelationException; |
100 |
|
101 |
/**
|
102 |
* Invocado cuando se activa/desactiva una capa
|
103 |
*
|
104 |
* @param e Informaci?n del evento
|
105 |
*
|
106 |
* @throws CancelationException Si se quiere cancelar la operaci?n. El
|
107 |
* mensaje de la excepci?n es el que se mostrar? al usuario en su
|
108 |
* caso
|
109 |
*/
|
110 |
// useless. Please, use LayerListener interface instead
|
111 |
// void activationChanged(LayerCollectionEvent e) throws CancelationException;
|
112 |
|
113 |
/**
|
114 |
* Invocado cuando se visualiza/oculta una capa
|
115 |
*
|
116 |
* @param e Informaci?n del evento
|
117 |
*
|
118 |
* @throws CancelationException Si se quiere cancelar la operaci?n. El
|
119 |
* mensaje de la excepci?n es el que se mostrar? al usuario en su
|
120 |
* caso
|
121 |
*/
|
122 |
void visibilityChanged(LayerCollectionEvent e) throws CancelationException; |
123 |
|
124 |
|
125 |
} |