01: /*
02: * $Header: /cvs/j3dfly/J3dFly/src/org/jdesktop/j3dfly/utils/gui/WorkMonitor.java,v 1.1 2005/04/20 21:05:01 paulby Exp $
03: *
04: * Sun Public License Notice
05: *
06: * The contents of this file are subject to the Sun Public License Version
07: * 1.0 (the "License"). You may not use this file except in compliance with
08: * the License. A copy of the License is available at http://www.sun.com/
09: *
10: * The Original Code is Java 3D(tm) Fly Through.
11: * The Initial Developer of the Original Code is Paul Byrne.
12: * Portions created by Paul Byrne are Copyright (C) 2002.
13: * All Rights Reserved.
14: *
15: * Contributor(s): Paul Byrne.
16: *
17: **/
18: package org.jdesktop.j3dfly.utils.gui;
19:
20: /**
21: *
22: * @author Paul Byrne
23: * @version 1.5 01/18/02
24: */
25: public interface WorkMonitor {
26:
27: /**
28: * Display a note about the current activity
29: */
30: public void setNote(String note);
31:
32: /**
33: * Indicate progress is being made
34: *
35: * -1 indicates action is complete
36: */
37: public void setProgress(int progress);
38:
39: /**
40: * Set the maximum size of the progress.
41: *
42: * When maxProgress is reached the dialog will be close
43: */
44: public void setMaxProgress(int maxProgress);
45: }
|