|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractComponent
nextapp.echo.AbstractPane
nextapp.echo.filetransfer.FilePane
public class FilePane
A pane that displays content retrieved from a File request.
Field Summary | |
---|---|
static java.lang.String |
HEIGHT_CHANGED_PROPERTY
|
static java.lang.String |
WIDTH_CHANGED_PROPERTY
|
Fields inherited from class nextapp.echo.AbstractPane |
---|
PROPORTIONAL, RESIZABLE_CHANGED_PROPERTY, STYLE_RESIZABLE |
Constructor Summary | |
---|---|
FilePane()
Creates a new FilePane with no download provider. |
|
FilePane(DownloadProvider provider)
Creates a new FilePane component with the specified
download provider. |
Method Summary | |
---|---|
int |
getHeight()
Returns the height of the pane. |
DownloadProvider |
getProvider()
Returns the DownloadProvider that will provide the file
download. |
int |
getWidth()
Returns the width of the pane. |
void |
setHeight(int newValue)
Sets the height of the pane. |
void |
setProvider(DownloadProvider newValue)
Sets the DownloadProvider that will provide the file
download. |
void |
setWidth(int newValue)
Sets the width of the pane. |
Methods inherited from class nextapp.echo.AbstractPane |
---|
applyStyle, getHeightExtent, getWidthExtent, isResizable, setResizable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String HEIGHT_CHANGED_PROPERTY
public static final java.lang.String WIDTH_CHANGED_PROPERTY
Constructor Detail |
---|
public FilePane()
FilePane
with no download provider.
public FilePane(DownloadProvider provider)
FilePane
component with the specified
download provider.
provider
- The DownloadProvider
that will provide the
file download.Method Detail |
---|
public int getHeight()
getHeight
in class AbstractPane
public DownloadProvider getProvider()
DownloadProvider
that will provide the file
download.
DownloadProvider
that will provide the file
download.public int getWidth()
getWidth
in class AbstractPane
public void setHeight(int newValue)
newValue
- The new height of the pane in pixels.public void setProvider(DownloadProvider newValue)
DownloadProvider
that will provide the file
download.
newValue
- A DownloadProvider
that will provide the file
download.public void setWidth(int newValue)
newValue
- The new width of the pane in pixels.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |