|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.AbstractComponent
nextapp.echo.filetransfer.Download
public class Download
A component that causes the client to download a file. Emebedding this component within a displayed ContentPane will direct the client browser to download file. This component does not have any visual appearance.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Download()
Creates a new inactive Download component with no download
provider. |
|
Download(DownloadProvider provider,
boolean active)
Creates a new Download component with the specified
prodcuer and active state. |
|
| Method Summary | |
|---|---|
DownloadProvider |
getProvider()
Returns the DownloadProvider that will provide the file
download. |
boolean |
isActive()
Returns whether the download component is "active". |
void |
setActive(boolean newValue)
Sets whether the download component is "active". |
void |
setProvider(DownloadProvider newValue)
Sets the DownloadProvider that will provide the file
download. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Download()
Download component with no download
provider.
public Download(DownloadProvider provider,
boolean active)
Download component with the specified
prodcuer and active state.
provider - The DownloadProvider that will provide the
file download.active - True if the file should be immediately downloaded by the
client.| Method Detail |
|---|
public DownloadProvider getProvider()
DownloadProvider that will provide the file
download.
DownloadProvider that will provide the file
download.public boolean isActive()
public void setActive(boolean newValue)
newValue - True if the file should be immediately downloaded by
the client.public void setProvider(DownloadProvider newValue)
DownloadProvider that will provide the file
download.
newValue - A DownloadProvider that will provide the file
download.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||