public class ProgressStatus extends Object implements Serializable
ProgressMonitor.| Constructor and Description |
|---|
ProgressStatus()
Create a new Progress with percentage set to zero and an empty message.
|
ProgressStatus(int percent,
String message)
Create a new Progress Status with the given percentage and message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Get the current message.
|
Integer |
getProgress()
Get the current percentage.
|
void |
setMessage(String message)
Set the current message.
|
void |
setProgress(Integer percent)
Set the current percentage.
|
public ProgressStatus()
public ProgressStatus(int percent,
String message)
public final String getMessage()
public final void setMessage(String message)
message - The current message.public final Integer getProgress()
public final void setProgress(Integer percent)
percent - The current percentage.Copyright © 2012. All Rights Reserved.