public class FileDialogCompleteEvent
extends java.lang.Object
FileDialogCompleteHandler and
register it via the .Uploader#setFileDialogCompleteHandler(FileDialogCompleteHandler)
method in order to access file dialog complete events.
Note that the 'fileDialogComplete' event fires after the File Selection Dialog window has been closed and all the selected files have been processed. The 'number of files queued' property indicates the number of files that were queued from the dialog selection (as opposed to the number of files in the queue).
If you want file uploading to begin automatically this is a good place to call Uploader.startUpload().
| Constructor and Description |
|---|
FileDialogCompleteEvent(int numberOfFilesSelected,
int numberOfFilesQueued,
int totalFilesInQueue)
This constructor is intended for internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfFilesQueued()
Return the number of files selected in the dialog.
|
int |
getNumberOfFilesSelected()
Return the number of files that were queued as a result of the dialog selection.
|
int |
getTotalFilesInQueue()
Return the total number of files now in the queue.
|
public FileDialogCompleteEvent(int numberOfFilesSelected,
int numberOfFilesQueued,
int totalFilesInQueue)
FileDialogCompleteHandler.numberOfFilesSelected - The number of files selected in the dialog.numberOfFilesQueued - The number of files that were queued as a result of the dialog
selection.totalFilesInQueue - The total number of files now in the queue.public int getNumberOfFilesQueued()
public int getNumberOfFilesSelected()
public int getTotalFilesInQueue()