nextapp.echo.filetransfer
Class FilePane

java.lang.Object
  extended by nextapp.echo.AbstractComponent
      extended by nextapp.echo.AbstractPane
          extended by nextapp.echo.filetransfer.FilePane
All Implemented Interfaces:
java.io.Serializable, Component

public class FilePane
extends AbstractPane

A pane that displays content retrieved from a File request.

See Also:
Serialized Form

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
 
Fields inherited from interface nextapp.echo.Component
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, SELECTABLE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
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 nextapp.echo.AbstractComponent
add, add, addHierarchyListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getClientId, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getListenerList, getLocale, getParent, indexOf, init, isAncestorOf, isDifferent, isEnabled, isFocused, isRecursivelyVisible, isRegistered, isSelectableForScriptRecorder, isShowing, isVisible, processHierarchyEvent, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setClientId, setEnabled, setFocused, setFont, setForeground, setIdentifier, setLocale, setParent, setRegistered, setSelectableForScriptRecorder, setVisible, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEIGHT_CHANGED_PROPERTY

public static final java.lang.String HEIGHT_CHANGED_PROPERTY
See Also:
Constant Field Values

WIDTH_CHANGED_PROPERTY

public static final java.lang.String WIDTH_CHANGED_PROPERTY
See Also:
Constant Field Values
Constructor Detail

FilePane

public FilePane()
Creates a new FilePane with no download provider.


FilePane

public FilePane(DownloadProvider provider)
Creates a new FilePane component with the specified download provider.

Parameters:
provider - The DownloadProvider that will provide the file download.
Method Detail

getHeight

public int getHeight()
Returns the height of the pane.

Overrides:
getHeight in class AbstractPane
Returns:
The height of the pane.

getProvider

public DownloadProvider getProvider()
Returns the DownloadProvider that will provide the file download.

Returns:
The DownloadProvider that will provide the file download.

getWidth

public int getWidth()
Returns the width of the pane.

Overrides:
getWidth in class AbstractPane
Returns:
The width of the pane.

setHeight

public void setHeight(int newValue)
Sets the height of the pane.

Parameters:
newValue - The new height of the pane in pixels.

setProvider

public void setProvider(DownloadProvider newValue)
Sets the DownloadProvider that will provide the file download.

Parameters:
newValue - A DownloadProvider that will provide the file download.

setWidth

public void setWidth(int newValue)
Sets the width of the pane.

Parameters:
newValue - The new width of the pane in pixels.