Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.mapcontext / org.gvsig.fmap.mapcontext.api / src / main / java / org / gvsig / fmap / mapcontext / raster / api / legend / ChangeColorInterpretationEvent.java @ 44831

History | View | Annotate | Download (973 Bytes)

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

    
3

    
4

    
5
/**
6
 * @author fdiaz
7
 *
8
 */
9
public final class ChangeColorInterpretationEvent extends RasterLegendEventBase {
10

    
11

    
12
    private String[] oldColorInterpretation;
13
    private String[] newColorInterpretation;
14

    
15
    /**
16
     * @param oldColorInterpretation
17
     * @param newColorInterpretation
18
     */
19
    public ChangeColorInterpretationEvent(String[] oldColorInterpretation, String[] newColorInterpretation) {
20
        super(LEGEND_CHANGED, RASTER_LEGEND_COLORINTERPRETATION_CHANGED);
21
        this.oldColorInterpretation = oldColorInterpretation;
22
        this.newColorInterpretation = newColorInterpretation;
23
    }
24

    
25
    /**
26
     * @return the oldColorInterpretation
27
     */
28
    public String[] getOldColorInterpretation() {
29
        return oldColorInterpretation;
30
    }
31

    
32
    /**
33
     * @return the newColorInterpretation
34
     */
35
    public String[] getNewColorInterpretation() {
36
        return newColorInterpretation;
37
    }
38
}