edu.stanford.smi.protegex.owl.ui.widget
Class ModalProgressBarManager

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.widget.ModalProgressBarManager
All Implemented Interfaces:
ProgressDisplay

public class ModalProgressBarManager
extends Object
implements ProgressDisplay

An object managing a ModalProgressBarDialog serving as ProgressDisplay.

Author:
Holger Knublauch

Field Summary
private  ModalProgressBarDialog dialog
           
 
Constructor Summary
ModalProgressBarManager(String title)
           
 
Method Summary
 void setProgressText(String str)
           
 void setProgressValue(double value)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialog

private ModalProgressBarDialog dialog
Constructor Detail

ModalProgressBarManager

public ModalProgressBarManager(String title)
Method Detail

setProgressText

public void setProgressText(String str)
Specified by:
setProgressText in interface ProgressDisplay

setProgressValue

public void setProgressValue(double value)
Specified by:
setProgressValue in interface ProgressDisplay
Parameters:
value - 0..1

start

public void start()
Specified by:
start in interface ProgressDisplay

stop

public void stop()
Specified by:
stop in interface ProgressDisplay