|
|||||||||
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 ProgressReporter
public java.lang.String getMessage()
getMessage
in interface ProgressReporter
public void setProgress(int val)
setProgress
in interface ProgressReporter
public int getProgress()
getProgress
in interface ProgressReporter
public void setMinimum(int val)
setMinimum
in interface ProgressReporter
public int getMinimum()
getMinimum
in interface ProgressReporter
public void setMaximum(int val)
setMaximum
in interface ProgressReporter
public int getMaximum()
getMaximum
in interface ProgressReporter
public boolean isCanceled()
isCanceled
in interface ProgressReporter
public void done()
done
in interface ProgressReporter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |