Revision 25304 trunk/libraries/lib3DMap-share/src/main/java/com/iver/ai2/gvsig3d/legend/ExtrusionLegendPanel.java

View differences:

ExtrusionLegendPanel.java
96 96
     */
97 97
    public ExtrusionLegendPanel() {
98 98
        super();
99
        if (theLegend!=null)
100
        	this.extrusionValue = ((ExtrusionLegend)this.theLegend).getExtrusionFactor();
101 99
        initialize();
102 100
    }
103 101

  
......
440 438
        } else {
441 439
            theLegend = new ExtrusionLegend(shapeType);
442 440
        }
441
        if (theLegend != null) {
442
			this.extrusionValue = ((ExtrusionLegend) this.theLegend)
443
					.getExtrusionFactor();
444
			jtvariable.setText(Double.toString(this.extrusionValue));
445
		}
443 446
    }
444 447

  
445 448
    /* (non-Javadoc)
......
447 450
     */
448 451
    public ILegend getLegend() {
449 452
        fillSymbolListFromTable();
450

  
453
        fillTableValues();
451 454
        if (auxLegend != null) {
452 455
        	// your settings that are not the set of symbols must be located here
453 456
        	auxLegend.setClassifyingFieldNames(

Also available in: Unified diff