cz.cuni.mff.mirovsky
Interface ProgressDisplayer

All Known Implementing Classes:
InfoBar

public interface ProgressDisplayer

An interface for starting and stopping a progress bar.


Field Summary
static int NONE
           
static int PERCENT
           
static int STRING
           
 
Method Summary
 void startProgressBar(ProgressSource info_src, int p_string_type, int timer_interval)
          It starts the progress bar, sets a source class for it (info_src), type of displaying of progress value (p_string_type) and an interval (in ms) for refreshing of the progress bar (timer_interval)
 void stopProgressBar()
          This function stops the progress bar (it finishes the work of the progress bar)
 

Field Detail

NONE

static final int NONE
See Also:
Constant Field Values

PERCENT

static final int PERCENT
See Also:
Constant Field Values

STRING

static final int STRING
See Also:
Constant Field Values
Method Detail

startProgressBar

void startProgressBar(ProgressSource info_src,
                      int p_string_type,
                      int timer_interval)
It starts the progress bar, sets a source class for it (info_src), type of displaying of progress value (p_string_type) and an interval (in ms) for refreshing of the progress bar (timer_interval)


stopProgressBar

void stopProgressBar()
This function stops the progress bar (it finishes the work of the progress bar)