KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > gulden > util > javasource > ProgressTracker


1 /*
2  * Project: BeautyJ - Customizable Java Source Code Transformer
3  * Class: de.gulden.util.javasource.ProgressTracker
4  * Version: 1.0
5  *
6  * Date: 2002-10-27
7  *
8  * Note: Contains auto-generated Javadoc comments created by BeautyJ.
9  *
10  * This is licensed under the GNU General Public License (GPL)
11  * and comes with NO WARRANTY. See file license.txt for details.
12  *
13  * Author: Jens Gulden
14  * Email: beautyj@jensgulden.de
15  */

16
17 package de.gulden.util.javasource;
18
19 /**
20  * A class that implements this can monitor the progress of beautification.
21  * The ProgressTracker gets informed about each new estimation of
22  * the overall items to do and the current number of items already done.
23  *
24  * @author Jens Gulden
25  * @version 1.0
26  */

27 public interface ProgressTracker {
28
29     // ------------------------------------------------------------------------
30
// --- methods ---
31
// ------------------------------------------------------------------------
32
public void todo(int i);
33
34     public void done(int i);
35
36 } // end ProgressTracker
37
Popular Tags