edu.iastate.jtm.gui
Class DefaultMonitorable

java.lang.Object
  extended by edu.iastate.jtm.gui.DefaultMonitorable
All Implemented Interfaces:
Monitorable
Direct Known Subclasses:
CitationManager, DictionaryBuilder, EntityFinder, FilterUpdater, InteractUpdate, PmidFilter, ProcessWrapper

public class DefaultMonitorable
extends java.lang.Object
implements Monitorable

Author:
Jing Ding edu.iastate.jtm.util jtm

Field Summary
protected  java.lang.String message
           
protected  boolean monitorable
           
protected  double progress
           
 
Constructor Summary
DefaultMonitorable()
           
 
Method Summary
 java.lang.String getMessage()
           
 double getProgress()
           
 boolean isDeterministic()
           
 boolean isFinished()
           
 boolean isMonitorable()
           
 boolean isRunning()
           
protected  void setMessage(java.lang.String m)
           
 void setMonitorable(boolean m)
           
protected  void setProgress(double p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected java.lang.String message

progress

protected double progress

monitorable

protected boolean monitorable
Constructor Detail

DefaultMonitorable

public DefaultMonitorable()
Method Detail

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface Monitorable
Returns:

getProgress

public double getProgress()
Specified by:
getProgress in interface Monitorable
Returns:

setMessage

protected void setMessage(java.lang.String m)

setProgress

protected void setProgress(double p)

setMonitorable

public void setMonitorable(boolean m)
Specified by:
setMonitorable in interface Monitorable

isMonitorable

public boolean isMonitorable()
Specified by:
isMonitorable in interface Monitorable

isDeterministic

public boolean isDeterministic()
Specified by:
isDeterministic in interface Monitorable
Returns:

isFinished

public boolean isFinished()
Specified by:
isFinished in interface Monitorable
Returns:

isRunning

public boolean isRunning()
Specified by:
isRunning in interface Monitorable
Returns: