Package org.apache.uima.jcas.jcasgenp
Class ProgressMonitorImpl
java.lang.Object
org.apache.uima.jcas.jcasgenp.ProgressMonitorImpl
- All Implemented Interfaces:
IProgressMonitor
The Class ProgressMonitorImpl.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Begin task.void
done()
Done.void
internalWorked
(double work) Internal worked.boolean
Checks if is canceled.void
setCanceled
(boolean value) Sets the canceled.void
setTaskName
(String name) Sets the task name.void
Sub task.void
worked
(int work) Worked.
-
Method Details
-
done
public void done()Description copied from interface:IProgressMonitor
Done.- Specified by:
done
in interfaceIProgressMonitor
-
beginTask
Description copied from interface:IProgressMonitor
Begin task.- Specified by:
beginTask
in interfaceIProgressMonitor
- Parameters:
name
- the nametotalWorked
- the total worked
-
subTask
Description copied from interface:IProgressMonitor
Sub task.- Specified by:
subTask
in interfaceIProgressMonitor
- Parameters:
name
- the name
-
worked
public void worked(int work) Description copied from interface:IProgressMonitor
Worked.- Specified by:
worked
in interfaceIProgressMonitor
- Parameters:
work
- the work
-
internalWorked
public void internalWorked(double work) Internal worked.- Parameters:
work
- the work
-
isCanceled
public boolean isCanceled()Checks if is canceled.- Returns:
- true, if is canceled
-
setCanceled
public void setCanceled(boolean value) Sets the canceled.- Parameters:
value
- the new canceled
-
setTaskName
Sets the task name.- Parameters:
name
- the new task name
-