fi.helsinki.dacopan.ui
Interface ProgressIndicator

All Known Implementing Classes:
DialogProgressIndicator, ProgressIndicator.NoopIndicator

public interface ProgressIndicator

A simple progress indicator interface.

Version:
$Id: ProgressIndicator.java,v 1.1 2004/05/11 14:49:20 aarniala-dacopan Exp $

Nested Class Summary
static class ProgressIndicator.NoopIndicator
          A no-op dummy indicator.
 
Method Summary
 void close()
          Closes the indicator.
 void setMessage(java.lang.String message)
          Sets the message displayed in the indicator.
 void setProgress(float progress)
          Sets current progress.
 void setStep(float step)
          Sets the step that subsequent calls to step() will use.
 void step()
          Steps forward for the amount specified with setStep(float).
 

Method Detail

close

void close()
Closes the indicator. This is automatically done when progress reaches 100.


setMessage

void setMessage(java.lang.String message)
Sets the message displayed in the indicator.


setProgress

void setProgress(float progress)
Sets current progress. Valid values are 0..100.


setStep

void setStep(float step)
Sets the step that subsequent calls to step() will use.


step

void step()
Steps forward for the amount specified with setStep(float).



© Dacopan2 team, 2005-