org.das2.system
Class DefaultMonitorFactory
java.lang.Object
org.das2.system.DefaultMonitorFactory
- All Implemented Interfaces:
- MonitorFactory
public class DefaultMonitorFactory
- extends java.lang.Object
- implements MonitorFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMonitorFactory
public DefaultMonitorFactory()
getMonitor
public ProgressMonitor getMonitor(DasCanvas canvas,
java.lang.String label,
java.lang.String description)
- Specified by:
getMonitor
in interface MonitorFactory
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
getMonitors
public DefaultMonitorFactory.MonitorEntry[] getMonitors()
getMonitors
public DefaultMonitorFactory.MonitorEntry getMonitors(int i)
setClear
public void setClear(boolean clear)
isClear
public boolean isClear()