ca.spaz.util
Interface ProgressListener


public interface ProgressListener

This interface should be implemented by classes interested in being informed of the progress of some other thread.

Author:
Chris Rose

Method Summary
 void progress(int percent)
          This event is fired whenever the progress item being tracked updates its public progress level.
 void progressFinish()
          This event is fired when the progress item being tracked finishes.
 void progressStart()
          This event is fired when the progress item being tracked starts.
 

Method Detail

progressStart

void progressStart()
This event is fired when the progress item being tracked starts.


progressFinish

void progressFinish()
This event is fired when the progress item being tracked finishes. At this point, the item's progress should be considered to be 100%


progress

void progress(int percent)
This event is fired whenever the progress item being tracked updates its public progress level.

Parameters:
percent - A number from 0 to 100 indicating the progress of the tracked item.


Copyright © 2005 Spaz. All Rights Reserved.