root / org.gvsig.legend.heatmap / trunk / org.gvsig.legend.heatmap / org.gvsig.legend.heatmap.lib / org.gvsig.legend.heatmap.lib.api / src / main / java / org / gvsig / legend / heatmap / lib / api / HeatmapLegend.java @ 1853
History | View | Annotate | Download (1.03 KB)
1 |
package org.gvsig.legend.heatmap.lib.api; |
---|---|
2 |
|
3 |
import java.awt.Color; |
4 |
import org.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend; |
5 |
|
6 |
public interface HeatmapLegend extends IVectorLegend { |
7 |
|
8 |
public int getDistance(); |
9 |
|
10 |
public void setDistance(int distance); |
11 |
|
12 |
public void setColorTable(Color[] colorTable); |
13 |
|
14 |
public void setColorTable(int numColors, Color coldColor, Color hotColor); |
15 |
|
16 |
public Color[] getSourceColorTable(); |
17 |
|
18 |
public Color[] getTargetColorTable(); |
19 |
|
20 |
public boolean useRamp(); |
21 |
|
22 |
public String getFieldName(); |
23 |
|
24 |
public void setFieldName(String fieldName); |
25 |
|
26 |
public int getColorTableHotColorAlpha(); |
27 |
|
28 |
public void setColorTableHotColorAlpha(int colorTableHotColorAlpha); |
29 |
|
30 |
public int getColorTableColdColorAlpha(); |
31 |
|
32 |
public void setColorTableColdColorAlpha(int colorTableColdColorAlpha); |
33 |
|
34 |
public boolean useAlphaInColorTable(); |
35 |
|
36 |
public boolean setUseAlphaInColorTable(boolean use); |
37 |
|
38 |
public int getRampNumColors(); |
39 |
|
40 |
public Color getRampColdColor(); |
41 |
|
42 |
public Color getRampHotColor(); |
43 |
|
44 |
} |