Revision 11558 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/GraduatedSymbols.java
GraduatedSymbols.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.4 2007-05-08 15:45:31 jaume |
|
46 |
* Revision 1.5 2007-05-10 09:46:45 jaume |
|
47 |
* Refactored legend interface names |
|
48 |
* |
|
49 |
* Revision 1.4 2007/05/08 15:45:31 jaume |
|
47 | 50 |
* *** empty log message *** |
48 | 51 |
* |
49 | 52 |
* Revision 1.3 2007/03/21 08:03:03 jaume |
... | ... | |
94 | 97 |
import com.iver.cit.gvsig.fmap.layers.FLyrVect; |
95 | 98 |
import com.iver.cit.gvsig.fmap.rendering.FInterval; |
96 | 99 |
import com.iver.cit.gvsig.fmap.rendering.GraduatedSymbolLegend; |
97 |
import com.iver.cit.gvsig.fmap.rendering.Legend; |
|
100 |
import com.iver.cit.gvsig.fmap.rendering.ILegend;
|
|
98 | 101 |
import com.iver.cit.gvsig.fmap.rendering.NullIntervalValue; |
99 | 102 |
import com.iver.cit.gvsig.gui.IncrementalNumberField; |
100 | 103 |
|
... | ... | |
148 | 151 |
return txtMinSize; |
149 | 152 |
} |
150 | 153 |
|
151 |
public void setData(FLayer lyr, Legend legend) { |
|
154 |
public void setData(FLayer lyr, ILegend legend) {
|
|
152 | 155 |
this.layer = (FLyrVect) lyr; |
153 | 156 |
|
154 | 157 |
try { |
... | ... | |
209 | 212 |
return PluginServices.getText(this, "draw_quantities_using_symbol_size_to_show_relative_values"); |
210 | 213 |
} |
211 | 214 |
|
212 |
public Legend getLegend() { |
|
215 |
public ILegend getLegend() {
|
|
213 | 216 |
GraduatedSymbolLegend l = (GraduatedSymbolLegend) super.getLegend(); |
214 | 217 |
l.setMinSymbolSize(getTxtMinSize().getDouble()); |
215 | 218 |
l.setMaxSymbolSize(getTxtMaxSize().getDouble()); |
Also available in: Unified diff