Class
caplin.dom

FileDownloaderTarget

A target for the FileDownloader to post its download request to.

Constructor Summary

Attributes Name and Description
caplin.dom.FileDownloaderTarget(String targetName)

Method Summary

Attributes Name and Description
void downloadRequested()

Notifies the target that a download has been requested.

void onDownloadFailed()

This is called when a download fails.

void onDownloadPassed()

This is called when a download succeeds.

void removeFileDownloader()

Removes the file downloader.

Constructor Detail

caplin.dom.FileDownloaderTarget(String targetName)

Parameters
String targetName The name of the target element to be created.

Method Detail

void downloadRequested()

Notifies the target that a download has been requested. This should be called after submitting any forms using this object as the target.

void onDownloadFailed()

This is called when a download fails.

void onDownloadPassed()

This is called when a download succeeds.

void removeFileDownloader()

Removes the file downloader.