gate.creole
Class AbstractController.IntervalProgressListener

java.lang.Object
  extended by gate.creole.AbstractController.IntervalProgressListener
All Implemented Interfaces:
ProgressListener, EventListener
Enclosing class:
AbstractController

protected class AbstractController.IntervalProgressListener
extends Object
implements ProgressListener

A progress listener used to convert a 0..100 interval into a smaller one


Constructor Summary
AbstractController.IntervalProgressListener(int start, int end)
           
 
Method Summary
 void processFinished()
          Called when the process is finished.
 void progressChanged(int i)
          Called when the progress has changed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractController.IntervalProgressListener

public AbstractController.IntervalProgressListener(int start,
                                                   int end)
Method Detail

progressChanged

public void progressChanged(int i)
Description copied from interface: ProgressListener
Called when the progress has changed

Specified by:
progressChanged in interface ProgressListener

processFinished

public void processFinished()
Description copied from interface: ProgressListener
Called when the process is finished.

Specified by:
processFinished in interface ProgressListener