org.das2.system
Interface MonitorFactory

All Known Implementing Classes:
DefaultMonitorFactory, NullMonitorFactory

public interface MonitorFactory


Method Summary
 ProgressMonitor getMonitor(DasCanvasComponent context, java.lang.String label, java.lang.String description)
          returns a monitor in the given context.
 ProgressMonitor getMonitor(DasCanvas canvas, java.lang.String string, java.lang.String string0)
           
 ProgressMonitor getMonitor(java.lang.String label, java.lang.String description)
          returns a monitor without regard to context.
 

Method Detail

getMonitor

ProgressMonitor getMonitor(DasCanvas canvas,
                           java.lang.String string,
                           java.lang.String string0)

getMonitor

ProgressMonitor getMonitor(DasCanvasComponent context,
                           java.lang.String label,
                           java.lang.String description)
returns a monitor in the given context. For example, if the user is waiting for a DasPlot to be drawn, then the context is the plot, and therefore a DasProgressPanel will be added on top of the plot.


getMonitor

ProgressMonitor getMonitor(java.lang.String label,
                           java.lang.String description)
returns a monitor without regard to context.