public class ProgressEvent
extends java.util.EventObject
ProgressListener
,
Serialized FormConstructor and Description |
---|
ProgressEvent(java.lang.Object source,
int min,
int max,
int progress)
Creates a new progress event.
|
Modifier and Type | Method and 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.
|
public ProgressEvent(java.lang.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()