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 @ 6325
History | View | Annotate | Download (1.34 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.raster.lib.buffer.api.Buffer; |
7 |
import org.gvsig.raster.lib.buffer.api.FilterList; |
8 |
import org.gvsig.tools.persistence.Persistent; |
9 |
import org.gvsig.tools.task.SimpleTaskStatus; |
10 |
|
11 |
/**
|
12 |
* @author fdiaz
|
13 |
*
|
14 |
*/
|
15 |
public interface RasterLegend extends Persistent { |
16 |
|
17 |
/**
|
18 |
* @param graphics
|
19 |
* @param buffer
|
20 |
* @param viewPort
|
21 |
* @param taskStatus
|
22 |
*/
|
23 |
public void draw(Graphics graphics, Buffer buffer, ViewPort viewPort, |
24 |
SimpleTaskStatus taskStatus); |
25 |
|
26 |
/**
|
27 |
* @return ColorTable
|
28 |
*/
|
29 |
public ColorTable getColorTable();
|
30 |
|
31 |
/**
|
32 |
* @param colorTable
|
33 |
*/
|
34 |
public void setColorTable(ColorTable colorTable); |
35 |
|
36 |
/**
|
37 |
* @return ColorInterpretation
|
38 |
*/
|
39 |
public ColorInterpretation getColorInterpretation();
|
40 |
|
41 |
/**
|
42 |
* @param colorInterpretation
|
43 |
*/
|
44 |
public void setColorInterpretation(ColorInterpretation colorInterpretation); |
45 |
|
46 |
/**
|
47 |
* @return FilterList
|
48 |
*/
|
49 |
public FilterList getFilters();
|
50 |
|
51 |
/**
|
52 |
* @param filterList
|
53 |
*/
|
54 |
public void setFilters(FilterList filterList); |
55 |
|
56 |
/**
|
57 |
* @param transparency
|
58 |
*/
|
59 |
public void setTransparency(Transparency transparency); |
60 |
|
61 |
/**
|
62 |
* @return
|
63 |
*/
|
64 |
public Transparency getTransparency(); |
65 |
|
66 |
} |