Revision 3035 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/VectorialUniqueValueLegend.java

View differences:

VectorialUniqueValueLegend.java
144 144
    private int shapeType;
145 145
    private String valueType = NullValue.class.getName();
146 146
    private boolean useDefaultSymbol = false;
147
    private boolean bWithHeightText = false;
147
    // private boolean bWithHeightText = false;
148 148

  
149 149
    /**
150 150
     * Crea un nuevo VectorialUniqueValueLegend.
......
375 375

  
376 376
        xml.putProperty("useDefaultSymbol", useDefaultSymbol);
377 377
        xml.addChild(getDefaultSymbol().getXMLEntity());
378
        xml.putProperty("isBWithHeightText", isBWithHeightText());
378
        // xml.putProperty("isBWithHeightText", isBWithHeightText());
379 379
        xml.putProperty("numKeys", keys.size());
380 380

  
381 381
        if (keys.size() > 0) {
......
472 472
        useDefaultSymbol = xml.getBooleanProperty("useDefaultSymbol");
473 473
        setDefaultSymbol(FSymbol.createFromXML(xml.getChild(0)));
474 474

  
475
        if (xml.contains("isBWithHeightText")) {
475
        // FJP: Esto no es necesario ya. Para comprobar si tenemos un campo de altura, miramos
476
        // si getLabelHeightField devuelve null o no.
477
        /* if (xml.contains("isBWithHeightText")) {
476 478
            setBWithHeightText(xml.getBooleanProperty("isBWithHeightText"));
477
        }
479
        } */
478 480

  
479 481
        //addSymbol(new NullUniqueValue(),getDefaultSymbol());
480 482
        int numKeys = xml.getIntProperty("numKeys");
......
662 664
     *
663 665
     * @return True si se ha modificado el etiquetado de la capa.
664 666
     */
665
    public boolean isBWithHeightText() {
667
    /* public boolean isBWithHeightText() {
666 668
        return bWithHeightText;
667
    }
669
    } */
668 670

  
669 671
    /**
670 672
     * Introduce si se ha modificado el etiquetado de la capa.
671 673
     *
672 674
     * @param withHeightText True si se ha modificado el etiquetado de la capa.
673 675
     */
674
    public void setBWithHeightText(boolean withHeightText) {
676
    /* public void setBWithHeightText(boolean withHeightText) {
675 677
        bWithHeightText = withHeightText;
676
    }
678
    } */
677 679

  
678 680
    /**
679 681
     * Elimina el s?mbolo que tiene como clave el valor que se pasa como par?metro.

Also available in: Unified diff