Revision 29812 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/legend/gui/VectorialInterval.java
VectorialInterval.java | ||
---|---|---|
403 | 403 |
// Cogemos el tipo de gradaci�n de colores que quiere el usuario y |
404 | 404 |
// Creamos el primer y �ltimo color. |
405 | 405 |
Color startColor = colorChooserPanel.getColor(); |
406 |
//theLegend.setStartColor(startColor); |
|
407 |
auxLegend.setStartColor(startColor); |
|
408 | 406 |
|
409 | 407 |
Color endColor = colorChooserPanel1.getColor(); |
410 |
//theLegend.setEndColor(endColor); |
|
411 |
auxLegend.setEndColor(endColor); |
|
412 | 408 |
|
413 | 409 |
r = startColor.getRed(); |
414 | 410 |
g = startColor.getGreen(); |
... | ... | |
419 | 415 |
|
420 | 416 |
auxLegend = LegendFactory.createVectorialIntervalLegend(layer.getShapeType()); |
421 | 417 |
auxLegend.useDefaultSymbol(false); |
418 |
auxLegend.setStartColor(startColor); |
|
419 |
auxLegend.setEndColor(endColor); |
|
422 | 420 |
|
423 | 421 |
int symbolType = layer.getShapeType(); |
424 | 422 |
int numSymbols = 0; |
Also available in: Unified diff