org.das2.system
Class NullMonitorFactory

java.lang.Object
  extended by org.das2.system.NullMonitorFactory
All Implemented Interfaces:
MonitorFactory

public class NullMonitorFactory
extends java.lang.Object
implements MonitorFactory

MonitorFactory implementation that always returns a null monitor.


Constructor Summary
NullMonitorFactory()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullMonitorFactory

public NullMonitorFactory()
Method Detail

getMonitor

public ProgressMonitor getMonitor(DasCanvasComponent context,
                                  java.lang.String label,
                                  java.lang.String description)
Description copied from interface: MonitorFactory
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.

Specified by:
getMonitor in interface MonitorFactory

getMonitor

public ProgressMonitor getMonitor(java.lang.String label,
                                  java.lang.String description)
Description copied from interface: MonitorFactory
returns a monitor without regard to context.

Specified by:
getMonitor in interface MonitorFactory

getMonitor

public ProgressMonitor getMonitor(DasCanvas canvas,
                                  java.lang.String string,
                                  java.lang.String string0)
Specified by:
getMonitor in interface MonitorFactory