nextapp.echoservlet.filetransferui
Class FilePaneUI

java.lang.Object
  extended by nextapp.echoservlet.AbstractComponentPeer
      extended by nextapp.echoservlet.filetransferui.FilePaneUI
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, CacheableService, ComponentPeer, PaneUI, Service

public class FilePaneUI
extends AbstractComponentPeer
implements PaneUI, java.beans.PropertyChangeListener, CacheableService

A peer object for FilePanes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface nextapp.echoservlet.PaneUI
SCROLLING_ALWAYS, SCROLLING_AUTO, SCROLLING_NEVER
 
Fields inherited from interface nextapp.echoservlet.ComponentPeer
IGNORE_PROPERTY_CHANGE
 
Constructor Summary
FilePaneUI()
          Creates a new FilePaneUI.
 
Method Summary
 java.lang.String getScrolling()
          Returns the scrolling property of the pane.
 java.lang.String getUri(Connection conn)
          Returns the URI from which the pane's service may be rendered.
 int getVersion()
          Returns the version of the service to be retrieved.
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void registered()
          Called when the component is registered.
 void service(Connection conn)
          Services an HTTP request.
 void unregistered()
          Called when the component is unregistered.
 
Methods inherited from class nextapp.echoservlet.AbstractComponentPeer
addAncillaryService, generateId, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getChildCount, getChildren, getComponent, getFocusedElementId, getId, getInstancePeer, getParentComponentPeer, getPeer, redraw, registerAncillaryServices, removeAncillaryService, render, setComponent, setId, setInstancePeer, unregisterAncillaryServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nextapp.echoservlet.PaneUI
getId
 
Methods inherited from interface nextapp.echoservlet.Service
getId
 

Constructor Detail

FilePaneUI

public FilePaneUI()
Creates a new FilePaneUI.

Method Detail

getScrolling

public java.lang.String getScrolling()
Description copied from interface: PaneUI
Returns the scrolling property of the pane.

Specified by:
getScrolling in interface PaneUI
Returns:
The scrolling property of the pane, one of the following values:
  • SCROLLING_AUTO
  • SCROLLING_ALWAYS
  • SCROLLING_NEVER
See Also:
PaneUI.getScrolling()

getUri

public java.lang.String getUri(Connection conn)
Description copied from interface: PaneUI
Returns the URI from which the pane's service may be rendered.

Specified by:
getUri in interface PaneUI
Parameters:
conn - The connection from which to derive the URI.
Returns:
The URI from which the pane's service may be rendered.
See Also:
PaneUI.getUri(Connection)

getVersion

public int getVersion()
Description copied from interface: CacheableService
Returns the version of the service to be retrieved. When a service is requested with an updated version number, a non-cached copy will be used. getVersion() should return distinct values whenever the service's content may have changed.

Specified by:
getVersion in interface CacheableService
Returns:
The current version number of the service.
See Also:
CacheableService.getVersion()

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(PropertyChangeEvent)

registered

public void registered()
Description copied from class: AbstractComponentPeer
Called when the component is registered. This method should be overridden if necessary.

Specified by:
registered in interface ComponentPeer
Overrides:
registered in class AbstractComponentPeer
See Also:
ComponentPeer.registered()

service

public void service(Connection conn)
             throws java.io.IOException
Description copied from interface: Service
Services an HTTP request. Information about the HTTP request as well as methods for issuing a response are available from the provided Connection object.

Specified by:
service in interface Service
Parameters:
conn - A Connection object which wraps HttpServletRequest and HttpServletResponse objects and provides access to the facilities of the Echo application container.
Throws:
java.io.IOException - in the event of errors related to processing the HTTP request or producing a response.
See Also:
Service.service(Connection)

unregistered

public void unregistered()
Description copied from class: AbstractComponentPeer
Called when the component is unregistered. This method should be overridden if necessary.

Specified by:
unregistered in interface ComponentPeer
Overrides:
unregistered in class AbstractComponentPeer
See Also:
ComponentPeer.unregistered()