public class ProgressMonitor
extends java.lang.Object
| Constructor and Description |
|---|
ProgressMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginOperation()
Initializes the progress monitor and displays it with a current value of zero.
|
void |
delete() |
void |
endOperation()
Draws the progress monitor with its current value set to the progress monitor's duration (a full progress monitor), then removes the progress monitor from the display.
|
int |
getCurrentValue()
The current value of the progress monitor.
|
int |
getDuration()
The progress monitor's duration.
|
void |
setCurrentValue(int currentValue)
Sets the current value of the progress monitor and updates the display.
|
void |
setDuration(int duration)
Sets the value that corresponds to a full progress monitor display.
|
void |
setText(java.lang.String text)
Display a text string in the progress monitor.
|
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
public void delete()
public void swigReleaseOwnership()
public void swigTakeOwnership()
public void beginOperation()
public void endOperation()
public void setDuration(int duration)
duration - The maximum value the progress monitor will be allowed to have.public void setCurrentValue(int currentValue)
For example, if the progress monitor's duration is 10, the current value must be between 0 and 10, inclusive.
currentValue - The progress monitor's current value.public int getDuration()
public int getCurrentValue()
For example, if the progress monitor's duration is 10, the current value must be between 0 and 10, inclusive.
public void setText(java.lang.String text)