com.threerings.getdown.util
Class MetaProgressObserver
java.lang.Object
com.threerings.getdown.util.MetaProgressObserver
- All Implemented Interfaces:
- ProgressObserver
public class MetaProgressObserver
- extends Object
- implements ProgressObserver
Accumulates the progress from a number of elements into a single
smoothly progressing progress.
|
Method Summary |
void |
progress(int percent)
Informs the observer that we have completed the specified
percentage of the process. |
void |
startElement(long elementSize)
|
MetaProgressObserver
public MetaProgressObserver(ProgressObserver target,
long totalSize)
startElement
public void startElement(long elementSize)
progress
public void progress(int percent)
- Description copied from interface:
ProgressObserver
- Informs the observer that we have completed the specified
percentage of the process.
- Specified by:
progress in interface ProgressObserver
Copyright © 2013. All Rights Reserved.