|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Objectf_object
f_progressMonitor
public class f_progressMonitor
Classe ProgressMonitor
| Field Summary | |
|---|---|
static Number |
UNKNOWN
Constant indicating an unknown amount of work. |
| Method Summary | |
|---|---|
void |
f_beginTask(String name,
Number totalWork)
Notifies that the main task is beginning. |
void |
f_cancel()
Cancel the progress monitor. |
void |
f_done()
Notifies that the work is done; that is, either the main task is completed or the user canceled it. |
boolean |
f_isCanceled()
Returns whether cancelation of current operation has been requested. |
void |
f_setTaskName(String name)
Sets the task name to the given value. |
void |
f_subTask(String name)
Notifies that a subtask of the main task is beginning. |
void |
f_worked(Number work)
Notifies that a given number of work unit of the main task has been completed. |
| Methods inherited from class f_object |
|---|
f_getClass, toString |
| Methods inherited from class Object |
|---|
toString |
| Field Detail |
|---|
public static final Number UNKNOWN
| Method Detail |
|---|
public void f_done()
public void f_worked(Number work)
work - the number of work units just completed
public void f_beginTask(String name,
Number totalWork)
name - the name (or description) of the main tasktotalWork - the total number of work units into which
the main task is been subdivided. If the value is UNKNOWN
the implementation is free to indicate progress in a way which
doesn't require the total number of work units in advance.public void f_cancel()
#isCanceled()public void f_subTask(String name)
name - the name (or description) of the subtaskpublic void f_setTaskName(String name)
name - the name (or description) of the main task#beginTask(java.lang.String,public boolean f_isCanceled()
true if cancellation has been requested,
and false otherwise#setCanceled(boolean)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||