Package com.breautek.fuse.utils
Class Progress
java.lang.Object
com.breautek.fuse.utils.Progress
- All Implemented Interfaces:
IProgress
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(IProgressListener listener) int
getMax()
int
getMin()
float
int
getValue()
boolean
void
removeListener
(IProgressListener listener) void
reset()
void
setMax
(int max) void
setMin
(int min) void
setValue
(int value) void
update
(int value) void
-
Constructor Details
-
Progress
public Progress() -
Progress
public Progress(int value) -
Progress
public Progress(int value, int min, int max)
-
-
Method Details
-
setMin
public void setMin(int min) -
setMax
public void setMax(int max) -
setValue
public void setValue(int value) -
getMin
public int getMin() -
getMax
public int getMax() -
getValue
public int getValue() -
reset
public void reset() -
update
public void update(int value) -
update
-
getNormalizedValue
public float getNormalizedValue()- Specified by:
getNormalizedValue
in interfaceIProgress
-
addListener
- Specified by:
addListener
in interfaceIProgress
-
removeListener
- Specified by:
removeListener
in interfaceIProgress
-
isComplete
public boolean isComplete()- Specified by:
isComplete
in interfaceIProgress
-