Package com.tagtraum.beatunes.inspection
Class Inspection.DialogInspectionProgressListener
- java.lang.Object
-
- com.tagtraum.beatunes.inspection.Inspection.DialogInspectionProgressListener
-
- All Implemented Interfaces:
InspectionProgressListener
- Enclosing class:
- Inspection
public static class Inspection.DialogInspectionProgressListener extends Object implements InspectionProgressListener
Provides a way forInspector
s to provide visual progress feedback. Just callInspectionProgressListener.progress(Inspector, String, float)
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
PROGRESS_STEPS_PER_INSPECTOR
-
Constructor Summary
Constructors Constructor Description DialogInspectionProgressListener(DiscreteProgressDialog discreteProgressDialog, int inspectors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
incInspector()
void
progress(Inspector whoIsInspecting, float progressSoFar)
Signal progress in a progress dialog.void
progress(Inspector whoIsInspecting, String whatIsInspected, float progressSoFar)
Signal progress in a progress dialog.void
setInspector(Inspector inspector)
-
-
-
Field Detail
-
PROGRESS_STEPS_PER_INSPECTOR
public static final int PROGRESS_STEPS_PER_INSPECTOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DialogInspectionProgressListener
public DialogInspectionProgressListener(DiscreteProgressDialog discreteProgressDialog, int inspectors)
-
-
Method Detail
-
setInspector
public void setInspector(Inspector inspector)
-
incInspector
public void incInspector()
-
progress
public void progress(Inspector whoIsInspecting, String whatIsInspected, float progressSoFar)
Description copied from interface:InspectionProgressListener
Signal progress in a progress dialog.- Specified by:
progress
in interfaceInspectionProgressListener
- Parameters:
whoIsInspecting
- inspectorwhatIsInspected
- what we are currently inspecting, e.g. a specific album or artistprogressSoFar
- how far did we get so far, value between 0.0 and 1.0.
-
progress
public void progress(Inspector whoIsInspecting, float progressSoFar)
Description copied from interface:InspectionProgressListener
Signal progress in a progress dialog.- Specified by:
progress
in interfaceInspectionProgressListener
- Parameters:
whoIsInspecting
- inspectorprogressSoFar
- how far did we get so far, value between 0.0 and 1.0.
-
-