edu.cmu.minorthird.util
Class ProgressCounter

java.lang.Object
  extended by edu.cmu.minorthird.util.ProgressCounter

public final class ProgressCounter
extends java.lang.Object


Constructor Summary
ProgressCounter(java.lang.String task)
           
ProgressCounter(java.lang.String task, int numSteps)
           
ProgressCounter(java.lang.String task, java.lang.String step)
           
ProgressCounter(java.lang.String task, java.lang.String step, int numSteps)
           
 
Method Summary
static void clearGraphicContext()
           
 void finished()
          Record this task as completed.
 void progress()
          Record one step of progress on the task
static void setGraphicContext(javax.swing.JProgressBar[] context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressCounter

public ProgressCounter(java.lang.String task,
                       java.lang.String step,
                       int numSteps)

ProgressCounter

public ProgressCounter(java.lang.String task,
                       int numSteps)

ProgressCounter

public ProgressCounter(java.lang.String task,
                       java.lang.String step)

ProgressCounter

public ProgressCounter(java.lang.String task)
Method Detail

setGraphicContext

public static void setGraphicContext(javax.swing.JProgressBar[] context)

clearGraphicContext

public static void clearGraphicContext()

progress

public final void progress()
Record one step of progress on the task


finished

public void finished()
Record this task as completed.