zul
Class UploadViewer

java.lang.Object
  extended by zk.Object
      extended by zul.UploadViewer

public class UploadViewer
extends Object

Default file viewer to see the upload status.


Field Summary
 
Fields inherited from class zk.Object
$class, $oid
 
Method Summary
 void $init(Uploader uplder, String flnm)
          Constructor
 void destroy()
          Destroys the upload viewer.
 void update(int sent, int total)
          Updates the status of the file being uploaded.
 
Methods inherited from class zk.Object
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

$init

public void $init(Uploader uplder,
                  String flnm)
Constructor

Parameters:
uplder -
flnm - the name of the file to be uploaded

update

public void update(int sent,
                   int total)
Updates the status of the file being uploaded.

Parameters:
sent - how many percentage being sent
total - the size of the file

destroy

public void destroy()
Destroys the upload viewer.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo