to.etc.domui.component.delayed
Interface IProgress

All Known Implementing Classes:
DelayedProgressMonitor

public interface IProgress

Progress indicator interface.

Author:
Frits Jalvingh Created on Oct 7, 2008

Method Summary
 void cancel()
          Indicate a cancel request.
 boolean isCancelled()
           
 void setCompleted(int work)
          Define how much of the work has completed, currently.
 void setTotalWork(int work)
          Define the total amount of work we expect to do.
 

Method Detail

setTotalWork

void setTotalWork(int work)
Define the total amount of work we expect to do.

Parameters:
work -

setCompleted

void setCompleted(int work)
Define how much of the work has completed, currently.

Parameters:
work -

cancel

void cancel()
Indicate a cancel request.


isCancelled

boolean isCancelled()