Package com.breautek.fuse.utils
Class ProgressContext
java.lang.Object
com.breautek.fuse.utils.ProgressContext
- All Implemented Interfaces:
IProgressContext
,IProgressListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(IProgressContextListener listener) void
createProgress
(String id) int
getMax()
float
int
getValue()
boolean
boolean
isComplete
(String id) void
onProgressUpdate
(IProgress progress) void
removeListener
(IProgressContextListener listener) void
reset()
void
void
void
void
void
-
Constructor Details
-
ProgressContext
public ProgressContext()
-
-
Method Details
-
setResolutionStrategy
-
getResolutionStrategy
-
onProgressUpdate
- Specified by:
onProgressUpdate
in interfaceIProgressListener
-
createProgress
- Specified by:
createProgress
in interfaceIProgressContext
-
getMax
public int getMax()- Specified by:
getMax
in interfaceIProgressContext
-
getValue
public int getValue()- Specified by:
getValue
in interfaceIProgressContext
-
reset
public void reset()- Specified by:
reset
in interfaceIProgressContext
-
getNormalizedValue
public float getNormalizedValue()- Specified by:
getNormalizedValue
in interfaceIProgressContext
-
update
- Specified by:
update
in interfaceIProgressContext
-
update
- Specified by:
update
in interfaceIProgressContext
-
setMax
- Specified by:
setMax
in interfaceIProgressContext
-
setValue
- Specified by:
setValue
in interfaceIProgressContext
-
addListener
- Specified by:
addListener
in interfaceIProgressContext
-
removeListener
- Specified by:
removeListener
in interfaceIProgressContext
-
isComplete
- Specified by:
isComplete
in interfaceIProgressContext
-
isComplete
public boolean isComplete()- Specified by:
isComplete
in interfaceIProgressContext
-