Statistics
| Revision:

gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.legend / org.gvsig.raster.lib.legend.api / src / main / java / org / gvsig / raster / lib / legend / api / RasterLegend.java @ 6900

History | View | Annotate | Download (1.56 KB)

1
package org.gvsig.raster.lib.legend.api;
2

    
3
import java.awt.Graphics;
4

    
5
import org.gvsig.fmap.mapcontext.ViewPort;
6
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend;
7
import org.gvsig.raster.lib.buffer.api.Buffer;
8
import org.gvsig.raster.lib.buffer.api.FilterList;
9
import org.gvsig.raster.lib.legend.api.colorinterpretation.ColorInterpretation;
10
import org.gvsig.tools.observer.Observer;
11
import org.gvsig.tools.persistence.Persistent;
12
import org.gvsig.tools.task.SimpleTaskStatus;
13

    
14
/**
15
 * @author fdiaz
16
 *
17
 */
18
public interface RasterLegend extends Persistent, ILegend, Observer {
19

    
20
    /**
21
     * @param graphics
22
     * @param buffer
23
     * @param viewPort
24
     * @param taskStatus
25
     */
26
    public void draw(Graphics graphics, Buffer buffer, ViewPort viewPort,
27
        SimpleTaskStatus taskStatus);
28

    
29
    /**
30
     * @return ColorInterpretation
31
     */
32
    public ColorInterpretation getColorInterpretation();
33

    
34
    /**
35
     * @param colorInterpretation
36
     */
37
    public void setColorInterpretation(ColorInterpretation colorInterpretation);
38

    
39
    /**
40
     * @return FilterList
41
     */
42
    public FilterList getFilters();
43

    
44
    /**
45
     * @param filterList
46
     */
47
    public void setFilters(FilterList filterList);
48

    
49
    /**
50
     * @param transparency
51
     */
52
    public void setTransparency(Transparency transparency);
53

    
54
    /**
55
     * @return
56
     */
57
    public Transparency getTransparency();
58

    
59
    /**
60
     * @param transparentNoData
61
     */
62
    public void setTransparentNoData(boolean transparentNoData);
63

    
64
    /**
65
     * @return boolean
66
     */
67
    public boolean areTransparentNoData();
68

    
69
}