|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.cosylab.gui.components.ProgressEvent
public class ProgressEvent
Event for describing task progress change.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ProgressEvent(java.lang.Object source,
java.lang.String status,
int current,
int total)
Creates new instance of progress change event. |
|
| Method Summary | |
|---|---|
int |
getCurrent()
Returns current value of progress. |
java.lang.String |
getStatus()
Returns status description. |
int |
getTotal()
Returns total ammount. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressEvent(java.lang.Object source,
java.lang.String status,
int current,
int total)
source - ProgressMonitor that has triggered this event.status - Text description of progress.current - New progress value.total - Progress value when completed.| Method Detail |
|---|
public int getCurrent()
public java.lang.String getStatus()
public int getTotal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||