|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.event.ModelerProgressEvent.ProgressTracker
public static class ModelerProgressEvent.ProgressTracker
A progress tracker.
Constructor Summary | |
---|---|
ModelerProgressEvent.ProgressTracker()
Creates a progress tracker with one stage. |
|
ModelerProgressEvent.ProgressTracker(ModelerProgressEvent.Stage[] stages)
Creates a progress tracker. |
Method Summary | |
---|---|
float |
catchUp(ModelerProgressEvent.Stage stage)
Updates this tracker by setting a stage as completed. |
float |
complete()
Sets the progress as completed. |
float |
getProgress()
Gets the current progress. |
java.lang.String |
toString()
|
float |
update(ModelerProgressEvent event)
Updates this tracker with the latest progress. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModelerProgressEvent.ProgressTracker(ModelerProgressEvent.Stage[] stages)
stages
- stages to keep track of
java.lang.IllegalArgumentException
- if the given list is null or emptypublic ModelerProgressEvent.ProgressTracker()
ModelerProgressEvent.SINGLE_STAGE
Method Detail |
---|
public float update(ModelerProgressEvent event)
event
- the latest progress update
java.lang.NullPointerException
- if the given map or event is null
java.lang.IllegalArgumentException
- if the given stage is not tracked by
this objectpublic float catchUp(ModelerProgressEvent.Stage stage)
stage
- the stage that is completed
java.lang.NullPointerException
- if the given map or stage is null
java.lang.IllegalArgumentException
- if the given stage is not tracked by
this objectpublic float complete()
public float getProgress()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |