Serializable
public class ProgressEvent extends EventObject
ProgressListener
,
Serialized Formsource
Constructor | Description |
---|---|
ProgressEvent(Object source,
int min,
int max,
int progress) |
Creates a new progress event.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getMaximum() |
Returns the maximum value of the available progress range.
|
int |
getMinimum() |
Returns the minimum value of the available progress range.
|
int |
getProgress() |
Returns the current value of the progress.
|
getSource, toString
public ProgressEvent(Object source, int min, int max, int progress)
source
- Event source.min
- Minimum value of the available progress range.max
- Maximum value of the available progress range.progress
- Current value of the progress.public int getMaximum()
public int getMinimum()
public int getProgress()