de.caff.maze
Interface ProgressShower

All Known Implementing Classes:
MazeCanvas

public interface ProgressShower

 

Method Summary
 void end()
          End the action.
 boolean setProgress(int value)
          Set the current progress.
 void start(java.lang.String note, int maxValue)
          Start the action.
 

Method Detail

start

void start(java.lang.String note,
           int maxValue)
Start the action.

Parameters:
note - note to display with the progress
maxValue - maximum value

setProgress

boolean setProgress(int value)
Set the current progress.

Parameters:
value - current progress
Returns:
true: user requested an abort of the action, false: no abort requested, go on

end

void end()
End the action.