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