gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.fmap.mapcontext.raster / org.gvsig.fmap.mapcontext.raster.api / src / main / java / org / gvsig / fmap / mapcontext / raster / api / legend / RasterLegendEvent.java @ 6900
History | View | Annotate | Download (2.51 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 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 3
|
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.fmap.mapcontext.raster.api.legend; |
25 |
|
26 |
import org.gvsig.fmap.mapcontext.events.FMapEvent; |
27 |
import org.gvsig.fmap.mapcontext.raster.api.RasterLayer; |
28 |
import org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEvent; |
29 |
|
30 |
|
31 |
|
32 |
|
33 |
/**
|
34 |
* <p><code>LegendEvent</code> represents an event produced at a legend in a layer.</p>
|
35 |
*
|
36 |
* @see FMapEvent
|
37 |
*/
|
38 |
public interface RasterLegendEvent extends LegendEvent { |
39 |
|
40 |
/**
|
41 |
* <p>Identifies this event as a change of the color interpretation of a legend.</p>
|
42 |
*/
|
43 |
public static final int RASTER_LEGEND_COLORINTERPRETATION_CHANGED = 300; |
44 |
|
45 |
/**
|
46 |
* <p>Identifies this event as a change of the color interpretation of a legend.</p>
|
47 |
*/
|
48 |
public static final int RASTER_LEGEND_PALETTE_CHANGED = 301; |
49 |
|
50 |
/**
|
51 |
* <p>Identifies this event as a change of the color interpretation of a legend.</p>
|
52 |
*/
|
53 |
public static final int RASTER_LEGEND_PALETTE_BAND_CHANGED = 302; |
54 |
|
55 |
/**
|
56 |
* <p>Identifies this event as a change of the filters of a legend.</p>
|
57 |
*/
|
58 |
public static final int RASTER_LEGEND_FILTERS_CHANGED = 303; |
59 |
|
60 |
|
61 |
/**
|
62 |
* <p>Returns the layer of the legend where the event was produced, as a classifiable and vector layer.</p>
|
63 |
*
|
64 |
* @return the layer where the event was produced.
|
65 |
*
|
66 |
*/
|
67 |
public RasterLayer getRasterLayer();
|
68 |
|
69 |
/**
|
70 |
* <p>Sets the layer of the legend where the event was produced, as a classifiable and vector layer.</p>
|
71 |
*
|
72 |
* @param layer the layer where the event was produced.
|
73 |
*/
|
74 |
public void setRasterLayer(RasterLayer layer); |
75 |
} |