org.caleigo.toolkit.util
Interface IProgressReceiver

All Known Implementing Classes:
IProgressReceiver.DefaultProgressReceiver

public interface IProgressReceiver

Version:
1.0
Author:
Mattias Hagstrand

Nested Class Summary
static class IProgressReceiver.DefaultProgressReceiver
           
 
Method Summary
 int getProgress()
           
 void setProgress(int progress)
          Sets the current progress in percent.
 void setProgressMessage(java.lang.String message)
          Sets the information message that describes the current progress.
 

Method Detail

setProgressMessage

public void setProgressMessage(java.lang.String message)
Sets the information message that describes the current progress.


setProgress

public void setProgress(int progress)
Sets the current progress in percent.

Parameters:
progress - the progress in percent. Should be a value between 0 and 100.

getProgress

public int getProgress()


Copyright © 2005 Caleigo. All Rights Reserved.