|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.util.DefaultProgressReporter
public class DefaultProgressReporter
Default base implementation of the ProgressReporter interface.
| Constructor Summary | |
|---|---|
DefaultProgressReporter()
|
|
| Method Summary | |
|---|---|
void |
done()
Indicates that the operation has completed. |
int |
getMaximum()
Returns the maximum progress value. |
java.lang.String |
getMessage()
Returns the string message associated with the current part of the task being performed. |
int |
getMinimum()
Returns the minimum progress value. |
int |
getProgress()
Returns the current progress amount. |
boolean |
isCanceled()
Returns true when the operation has been canceled by the user. |
void |
setMaximum(int val)
Sets the maximum progress value. |
void |
setMessage(java.lang.String message)
Sets the string message associated with the current part of the task being performed. |
void |
setMinimum(int val)
Sets the minimum progress value. |
void |
setProgress(int val)
Sets the current progress amount. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultProgressReporter()
| Method Detail |
|---|
public void setMessage(java.lang.String message)
setMessage in interface ProgressReporterpublic java.lang.String getMessage()
getMessage in interface ProgressReporterpublic void setProgress(int val)
setProgress in interface ProgressReporterpublic int getProgress()
getProgress in interface ProgressReporterpublic void setMinimum(int val)
setMinimum in interface ProgressReporterpublic int getMinimum()
getMinimum in interface ProgressReporterpublic void setMaximum(int val)
setMaximum in interface ProgressReporterpublic int getMaximum()
getMaximum in interface ProgressReporterpublic boolean isCanceled()
isCanceled in interface ProgressReporterpublic void done()
done in interface ProgressReporter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||