Source code: com/trapezium/util/ProgressIndicator.java
1 /*
2 * @(#)ProgressIndicator.java
3 *
4 * Copyright (c) 1998 by Trapezium Development LLC. All Rights Reserved.
5 *
6 * The information in this file is the property of Trapezium Development LLC
7 * and may be used only in accordance with the terms of the license granted
8 * by Trapezium.
9 */
10
11
12 package com.trapezium.util;
13 import java.awt.Color;
14
15 /** interface for ProgressBar-like objects */
16 public interface ProgressIndicator {
17 void setText( String s );
18 void setTitle( String s );
19 String getTitle();
20 void setPercent( int n );
21 void setAlternatePercent( int n ); // for dual progress indicators
22 void setColor( Color color );
23 Color getColor();
24 void reset();
25 }