cz.cuni.mff.mirovsky
Interface ProgressSource

All Known Implementing Classes:
NGForestSaver

public interface ProgressSource

An interface for a class that can serve as a source of a progress for a progress bar.


Method Summary
 int getProgressCurrentValue()
          Returns a current value of the progress of the task
 int getProgressMaxValue()
          Returns a maximum value for the progress bar
 int getProgressMinValue()
          Returns a minimum value for the progress bar
 java.lang.String getProgressText()
          Returns a string to be displayed in the progress bar
 

Method Detail

getProgressCurrentValue

int getProgressCurrentValue()
Returns a current value of the progress of the task


getProgressText

java.lang.String getProgressText()
Returns a string to be displayed in the progress bar


getProgressMinValue

int getProgressMinValue()
Returns a minimum value for the progress bar


getProgressMaxValue

int getProgressMaxValue()
Returns a maximum value for the progress bar