public class GuiProgressMonitor extends Object implements IProgressMonitor
| Constructor and Description |
|---|
GuiProgressMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTask(String name,
int totalWork)
Begin task.
|
void |
done()
Done.
|
void |
internalWorked(double work)
Internal worked.
|
boolean |
isCanceled()
Checks if is canceled.
|
void |
setCanceled(boolean value)
Sets the canceled.
|
void |
setTaskName(String name)
Sets the task name.
|
void |
subTask(String message)
Sub task.
|
void |
worked(int work)
Worked.
|
public void beginTask(String name, int totalWork)
IProgressMonitorbeginTask in interface IProgressMonitorname - the nametotalWork - the total workedpublic void done()
IProgressMonitordone in interface IProgressMonitorpublic void subTask(String message)
IProgressMonitorsubTask in interface IProgressMonitormessage - the namepublic void worked(int work)
IProgressMonitorworked in interface IProgressMonitorwork - the workpublic void internalWorked(double work)
work - the workpublic boolean isCanceled()
public void setCanceled(boolean value)
value - the new canceledpublic void setTaskName(String name)
name - the new task nameCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.