public void finishNonCancelableSection() { handler.finishNonCancelableSection(); }
public boolean isCanceled() { return handler.isCanceled(); }
private void setFraction(float fraction) { handler.setFraction(offset + fraction * factor); }
public void checkCancel() { if (handler.isCanceled()) { handler.setMessage("Cancelling"); throw new CanceledException(); } }
public void startNonCancelableSection() { handler.startNonCancelableSection(); }
public void setProgress(String msg, float fraction) { handler.setMessage(prependPrefix(msg)); setFraction(fraction); }