public interface SWFUploadLoadedHandler
uploader.setSWFUploadLoadedHandler(new SWFUploadLoadedHandler() {
public boolean onSWFUploadLoaded(SWFUploadLoadedEvent event) {
Window.alert("Uploader is ready to go");
return true;
}
});
Note that the 'swfUploadLoaded' event is fired by the Uploader component's internal 'flashReady'
event to let you know that it is safe to call Uploader methods. Also note that these events
are currently only fired when the Uploader component determines that the browser does not support
the Ajax upload technique and is therefore utilizing the SWFUpload/Flash technique for handling
the upload. If you need to determine which state the Uploader component is in, you can
make use of the .Uploader#isAjaxUploadWithProgressEventsSupported() method.
See the documentation on the SWFUploadLoadedEvent class for more details on the data
available when an Uploader loaded event occurs.
| Modifier and Type | Method and Description |
|---|---|
boolean |
onSWFUploadLoaded(SWFUploadLoadedEvent swfUploadLoadedEvent)
This method is fired whenever a Uploader loaded event occurs in the Uploader component.
|
boolean onSWFUploadLoaded(SWFUploadLoadedEvent swfUploadLoadedEvent)
SWFUploadLoadedEvent class for more details on the data available when this
event is fired.swfUploadLoadedEvent - The details of the event that occurred.