ar.com.leak.iolsucker.view.common
Class SilentDownloadMeter

java.lang.Object
  extended by ar.com.leak.iolsucker.view.common.SilentDownloadMeter
All Implemented Interfaces:
DownloadMeter

public class SilentDownloadMeter
extends Object
implements DownloadMeter

Silent download progress meter.

Version:
$Id: SilentDownloadMeter.java,v 1.2 2004/07/23 04:40:06 brett Exp $
Author:
Brett Porter

Constructor Summary
SilentDownloadMeter()
           
 
Method Summary
 void finish(int total)
          Finalise the progress bar.
 void update(int complete, int total)
          Update the progress bar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilentDownloadMeter

public SilentDownloadMeter()
Method Detail

update

public final void update(int complete,
                         int total)
Description copied from interface: DownloadMeter
Update the progress bar.

Specified by:
update in interface DownloadMeter
Parameters:
complete - amount complete in bytes
total - the total in bytes, or 0 if unknown
See Also:
DownloadMeter.update(int,int)

finish

public final void finish(int total)
Description copied from interface: DownloadMeter
Finalise the progress bar.

Specified by:
finish in interface DownloadMeter
Parameters:
total - the total in bytes
See Also:
DownloadMeter.finish(int)


Copyright © 2005-2009 leak.com.ar. All Rights Reserved.