Revision 4091
branches/v05/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/StatusLayerRaster.java | ||
---|---|---|
58 | 58 |
*/ |
59 | 59 |
public class StatusLayerRaster implements StatusRasterInterface{ |
60 | 60 |
|
61 |
public String clase = "com.iver.cit.gvsig.fmap.layers.StatusLayerRaster";
|
|
62 |
|
|
61 |
public static String defaultClass = "com.iver.cit.gvsig.fmap.layers.StatusLayerRaster";
|
|
62 |
|
|
63 | 63 |
//Valor de opacidad global de la imagen |
64 | 64 |
public int transparency = 0; |
65 | 65 |
|
... | ... | |
116 | 116 |
public void getXMLEntity(XMLEntity xml, boolean loadClass, RasterOperations layer) throws XMLException { |
117 | 117 |
|
118 | 118 |
if(loadClass) |
119 |
xml.putProperty("raster.class", clase);
|
|
119 |
xml.putProperty("raster.class", StatusLayerRaster.defaultClass);
|
|
120 | 120 |
|
121 | 121 |
if(transparency!=255) |
122 | 122 |
xml.putProperty("raster.opacityLevel", ""+transparency); |
... | ... | |
218 | 218 |
layer.setBand(GeoRasterFile.BLUE_BAND, bandB); |
219 | 219 |
|
220 | 220 |
//Asigna la transparencia |
221 |
|
|
221 |
|
|
222 | 222 |
if(transparency!=255) |
223 | 223 |
layer.setTransparency(transparency); |
224 | 224 |
|
Also available in: Unified diff