Revision 11067 trunk/libraries/libRaster/src/org/gvsig/raster/dataset/RasterMultiDataset.java
RasterMultiDataset.java | ||
---|---|---|
860 | 860 |
* @see org.gvsig.raster.util.IHistogramable#getPercent() |
861 | 861 |
*/ |
862 | 862 |
public int getPercent() { |
863 |
if (histogram != null) |
|
864 |
return histogram.getPercent(); |
|
863 |
if (histogram != null) return histogram.getPercent(); |
|
865 | 864 |
return 0; |
866 | 865 |
} |
867 | 866 |
|
... | ... | |
870 | 869 |
* @see org.gvsig.raster.util.IHistogramable#resetPercent() |
871 | 870 |
*/ |
872 | 871 |
public void resetPercent() { |
873 |
if (histogram != null) |
|
874 |
histogram.resetPercent(); |
|
872 |
if (histogram != null) histogram.resetPercent(); |
|
875 | 873 |
} |
874 |
|
|
875 |
/* |
|
876 |
* (non-Javadoc) |
|
877 |
* @see org.gvsig.raster.util.ICancellable#cancel() |
|
878 |
*/ |
|
879 |
public void cancel() { |
|
880 |
if (histogram != null) histogram.cancel(); |
|
881 |
} |
|
882 |
|
|
883 |
/* |
|
884 |
* (non-Javadoc) |
|
885 |
* @see org.gvsig.raster.util.ICancellable#isCanceled() |
|
886 |
*/ |
|
887 |
public boolean isCanceled() { |
|
888 |
if (histogram != null) return histogram.isCanceled(); |
|
889 |
return false; |
|
890 |
} |
|
876 | 891 |
} |
Also available in: Unified diff