
IWL::SWFUpload::Queue - a file queue for the IWL::SWFUpload widget

IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Tree -> IWL::SWFUpload::Queue

The Queue widget stores the queued files for an IWL::SWFUpload widget. It also allows for removing of individual files from the queue, as well as progress indication for each file.

IWL::SWFUpload->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values.
Describes the column order, as well as what colums are visible. The sytax is an array reference. Possible values are:
The file name
The status of the upload
An image, which will start the upload of the file when clicked
An image, which will stop the upload of the file when clicked
An image, which will remove the file when clicked
If the element is a hash reference, it will be used in the following way: If a title key is present, its value will be shown in the header. A callback key, with a valid javascript function name must be present. The callback will be executed each time a file is queued. The table cell, file and upload objects will be passed to the callback upon execution. A name key, specifying the name of the column, must also be present.
Default value: [name, status, remove]
If true, will show the queue header

Fires when the widget is loaded.

Binds the queue to the given upload widget.
Parameters: UPLOAD - an IWL::SWFUpload widget, or a string, which represents the IWL::SWFUpload widget's ID.

Copyright (c) 2006-2007 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.