/jEdit/tags/jedit-4-3-pre5/installer/Progress.java
Java | 29 lines | 8 code | 5 blank | 16 comment | 0 complexity | 2c6fd6fb33f0b6b61bfb2afd94b7c88f MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- /*
- * Progress.java
- *
- * Originally written by Slava Pestov for the jEdit installer project. This work
- * has been placed into the public domain. You may use this work in any way and
- * for any purpose you wish.
- *
- * THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, NOT EVEN THE
- * IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR OF THIS SOFTWARE, ASSUMES
- * _NO_ RESPONSIBILITY FOR ANY CONSEQUENCE RESULTING FROM THE USE, MODIFICATION,
- * OR REDISTRIBUTION OF THIS SOFTWARE.
- */
- package installer;
- /*
- * An interface for reporting installation progress. ConsoleProgress and
- * SwingProcess are the two existing implementations.
- */
- public interface Progress
- {
- public void setMaximum(int max);
- public void advance(int value);
- public void done();
- public void error(String message);
- }