Package org.apache.uima.tools.jcasgen
Class GuiProgressMonitor
java.lang.Object
org.apache.uima.tools.jcasgen.GuiProgressMonitor
- All Implemented Interfaces:
IProgressMonitor
The Class GuiProgressMonitor.
-
Constructor Summary
-
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.
-
Constructor Details
-
GuiProgressMonitor
public GuiProgressMonitor()
-
-
Method Details
-
beginTask
Description copied from interface:IProgressMonitor
Begin task.- Specified by:
beginTask
in interfaceIProgressMonitor
- Parameters:
name
- the nametotalWork
- the total worked
-
done
public void done()Description copied from interface:IProgressMonitor
Done.- Specified by:
done
in interfaceIProgressMonitor
-
subTask
Description copied from interface:IProgressMonitor
Sub task.- Specified by:
subTask
in interfaceIProgressMonitor
- Parameters:
message
- 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
-