public class ProgressEvent extends Event
Event.Levelsource| Constructor and Description |
|---|
ProgressEvent(Object source)
Constructs a prototypical Event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getProgress() |
int |
getTotal() |
ProgressEvent |
setProgress(int progress) |
ProgressEvent |
setTotal(int total) |
getLevel, getMessage, setLevel, setMessagegetSource, toStringpublic ProgressEvent(Object source)
source - The object on which the Event initially occurred.IllegalArgumentException - if source is null.public ProgressEvent setProgress(int progress)
public int getProgress()
public ProgressEvent setTotal(int total)
public int getTotal()
Copyright © 2019. All rights reserved.