Statistics
| Revision:

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 / ChangePaletteEvent.java @ 6900

History | View | Annotate | Download (898 Bytes)

1
package org.gvsig.fmap.mapcontext.raster.api.legend;
2

    
3
import org.gvsig.raster.lib.legend.api.colortable.ColorTable;
4

    
5

    
6

    
7
/**
8
 * @author fdiaz
9
 *
10
 */
11
public class ChangePaletteEvent extends RasterLegendEventBase {
12

    
13

    
14
    private ColorTable oldColorTable;
15
    private ColorTable newColorTable;
16

    
17
    /**
18
     * @param oldColorInterpretation
19
     * @param newColorInterpretation
20
     */
21
    public ChangePaletteEvent(ColorTable oldColorTable, ColorTable newColorTable) {
22
        super(LEGEND_CHANGED, RASTER_LEGEND_PALETTE_CHANGED);
23
        this.oldColorTable = oldColorTable;
24
        this.newColorTable = newColorTable;
25
    }
26

    
27
    /**
28
     * @return the oldColorInterpretation
29
     */
30
    public ColorTable getOldColorTable() {
31
        return oldColorTable;
32
    }
33

    
34
    /**
35
     * @return the newColorInterpretation
36
     */
37
    public ColorTable getNewColorTable() {
38
        return newColorTable;
39
    }
40
}