Revision 11078

View differences:

trunk/libraries/libRaster/src/org/gvsig/raster/dataset/RasterDataset.java
828 828
			histogram = new DatasetHistogram(this);
829 829
		return histogram;
830 830
	}
831
	
832
	public void resetPercent() {
833
		if (histogram != null) histogram.resetPercent();
834
	}
835

  
836
	public int getPercent() {
837
		if (histogram != null) return histogram.getPercent();
838
		return 0;
839
	}
840
	
841
	public void setCanceled(boolean value) {
842
		if (histogram != null) histogram.setCanceled(value);
843
	}
844

  
845
	public boolean isCanceled() {
846
		if (histogram != null) return histogram.isCanceled();
847
		return false;
848
	}
831 849
		
832 850
}

Also available in: Unified diff