|
Zest 1.5.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.zest.layouts.progress.ProgressEvent
public class ProgressEvent
When an algorithm wants to notify everyone it has completely part of its task, it throws a ProgressEvent. The progress is a number (currentProgress) representing the current steps completed out of the total number of steps (totalProgress)
Constructor Summary | |
---|---|
ProgressEvent(int stepsCompleted,
int totalNumberOfSteps)
Creates a progress event. |
Method Summary | |
---|---|
int |
getStepsCompleted()
Returns the number of steps already completed. |
int |
getTotalNumberOfSteps()
Returns the total number of steps to complete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressEvent(int stepsCompleted, int totalNumberOfSteps)
stepsCompleted
- The current progress out of the totaltotalNumberOfSteps
- The number used to indicate when the algorithm will finishMethod Detail |
---|
public int getStepsCompleted()
public int getTotalNumberOfSteps()
|
Zest 1.5.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |