Class ProgressHandler
- java.lang.Object
-
- org.esa.snap.ui.tooladapter.dialogs.progress.ProgressHandler
-
- All Implemented Interfaces:
ProgressMonitor
public class ProgressHandler extends Object implements ProgressMonitor
-
-
Field Summary
-
Fields inherited from interface com.bc.ceres.core.ProgressMonitor
NULL, UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description ProgressHandler(org.netbeans.api.progress.ProgressHandle handle, boolean indeterminate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginTask(String taskName, int totalWork)
void
done()
void
internalWorked(double work)
boolean
isCanceled()
void
setCanceled(boolean canceled)
void
setConsumer(ConsoleConsumer consumer)
void
setSubTaskName(String subTaskName)
void
setTaskName(String taskName)
void
worked(int work)
-
-
-
Method Detail
-
setConsumer
public void setConsumer(ConsoleConsumer consumer)
-
beginTask
public void beginTask(String taskName, int totalWork)
- Specified by:
beginTask
in interfaceProgressMonitor
-
done
public void done()
- Specified by:
done
in interfaceProgressMonitor
-
internalWorked
public void internalWorked(double work)
- Specified by:
internalWorked
in interfaceProgressMonitor
-
isCanceled
public boolean isCanceled()
- Specified by:
isCanceled
in interfaceProgressMonitor
-
setCanceled
public void setCanceled(boolean canceled)
- Specified by:
setCanceled
in interfaceProgressMonitor
-
setTaskName
public void setTaskName(String taskName)
- Specified by:
setTaskName
in interfaceProgressMonitor
-
setSubTaskName
public void setSubTaskName(String subTaskName)
- Specified by:
setSubTaskName
in interfaceProgressMonitor
-
worked
public void worked(int work)
- Specified by:
worked
in interfaceProgressMonitor
-
-