Revision 13606 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/AbstractIntervalLegend.java
AbstractIntervalLegend.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.10 2007-08-03 09:22:08 jaume |
|
46 |
* Revision 1.11 2007-09-10 15:47:11 jaume |
|
47 |
* *** empty log message *** |
|
48 |
* |
|
49 |
* Revision 1.10 2007/08/03 09:22:08 jaume |
|
47 | 50 |
* refactored class names |
48 | 51 |
* |
49 | 52 |
* Revision 1.9 2007/08/02 10:19:03 jvidal |
... | ... | |
82 | 85 |
|
83 | 86 |
import java.util.ArrayList; |
84 | 87 |
import java.util.Comparator; |
88 |
import java.util.Iterator; |
|
85 | 89 |
import java.util.TreeMap; |
86 | 90 |
|
87 | 91 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
... | ... | |
299 | 303 |
return null; |
300 | 304 |
} |
301 | 305 |
|
302 |
public void setIntervalType(int tipoClasificacion) {
|
|
303 |
intervalType = tipoClasificacion;
|
|
306 |
public void setIntervalType(int intervalType) {
|
|
307 |
this.intervalType = intervalType;
|
|
304 | 308 |
} |
305 | 309 |
|
306 | 310 |
/** |
... | ... | |
339 | 343 |
return (String[]) usedFields.toArray(new String[0]); |
340 | 344 |
|
341 | 345 |
} |
346 |
|
|
347 |
public void replace(ISymbol oldSymbol, ISymbol newSymbol) { |
|
348 |
if (symbols.containsValue(oldSymbol)) { |
|
349 |
Iterator it = symbols.keySet().iterator(); |
|
350 |
while (it.hasNext()) { |
|
351 |
Object key = it.next(); |
|
352 |
if (symbols.get(key).equals(oldSymbol)) { |
|
353 |
symbols.remove(key); |
|
354 |
symbols.put(key, newSymbol); |
|
355 |
} |
|
356 |
} |
|
357 |
} |
|
358 |
} |
|
342 | 359 |
} |
Also available in: Unified diff