org.das2.system.MonitorFactory


getMonitor

getMonitor( org.das2.graph.DasCanvas canvas, String string, String string0 ) → ProgressMonitor

Parameters

canvas - a DasCanvas
string - a String
string0 - a String

Returns:

org.das2.util.monitor.ProgressMonitor

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMonitor

getMonitor( org.das2.graph.DasCanvasComponent context, String label, String description ) → ProgressMonitor

returns a new 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.

Parameters

context - component which needs to indicate progress during a long process
label - initial label for the task
description - a String

Returns:

the monitor

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMonitor

getMonitor( String label, String description ) → ProgressMonitor

returns a new monitor without regard to context.

Parameters

label - initial label for the task
description - a String

Returns:

the monitor

[search for examples] [view on GitHub] [view on old javadoc] [view source]