public class DefaultProgressInterface extends java.lang.Object implements ProgressInterface
| Constructor and Description |
|---|
DefaultProgressInterface()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxProgress()
Return the maximum progress value of the progress bar.
|
int |
getProgress()
Return the current progress value of the progress bar.
|
void |
setProgress(int percent)
Sets the current progress value of the progress bar.
|
void |
setProgress(int percent,
java.lang.String message)
Sets the current progress value of the progress bar, with a message.
|
void |
setString(java.lang.String message)
Sets the message of the progress bar.
|
public int getProgress()
getProgress in interface ProgressInterfacepublic int getMaxProgress()
getMaxProgress in interface ProgressInterfacepublic void setProgress(int percent)
setProgress in interface ProgressInterfacepercent - the current progress value of the progress interfacepublic void setProgress(int percent,
java.lang.String message)
setProgress in interface ProgressInterfacepercent - the current progress value of the progress interfacemessage - the messagepublic void setString(java.lang.String message)
setString in interface ProgressInterfacemessage - the message