nextapp.echoservlet.filetransferui
Class UploadSelectUI

java.lang.Object
  extended by nextapp.echoservlet.AbstractComponentPeer
      extended by nextapp.echoservlet.filetransferui.UploadSelectUI
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, ClientActionProducer, ComponentPeer

public class UploadSelectUI
extends AbstractComponentPeer
implements ClientActionProducer, java.beans.PropertyChangeListener

A peer for UploadSelect component.

See Also:
Serialized Form

Field Summary
protected  UploadForm form
           
static java.lang.String PARAMETER_FILE
           
protected  UploadReceiver receiver
           
static Service SERVICE_UPLOADSELECT_SCRIPT
           
 
Fields inherited from interface nextapp.echoservlet.ComponentPeer
IGNORE_PROPERTY_CHANGE
 
Constructor Summary
UploadSelectUI()
           
 
Method Summary
 void clientAction(java.lang.String command)
          Called when the user causes an action from the client.
 UploadForm getForm()
          Returns the UploadForm object that will be used to render an HTML document containing a form with a file upload element.
 UploadReceiver getReceiver()
          Returns the UploadReceiver object that will be used to handle files uploaded using this upload select component.
static boolean isIE(RenderingContext rc)
           
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void registered()
          Called when the component is registered.
 void render(RenderingContext rc, Element parent)
          A method that should be overridden for the ComponentPeer to produce HTML output.
 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, setComponent, setId, setInstancePeer, unregisterAncillaryServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_FILE

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

receiver

protected UploadReceiver receiver

form

protected UploadForm form

SERVICE_UPLOADSELECT_SCRIPT

public static final Service SERVICE_UPLOADSELECT_SCRIPT
Constructor Detail

UploadSelectUI

public UploadSelectUI()
Method Detail

clientAction

public void clientAction(java.lang.String command)
Description copied from interface: ClientActionProducer
Called when the user causes an action from the client.

Specified by:
clientAction in interface ClientActionProducer
Parameters:
command - The action command generated by the client.
See Also:
ClientActionProducer.clientAction(String)

getForm

public UploadForm getForm()
Returns the UploadForm object that will be used to render an HTML document containing a form with a file upload element.


getReceiver

public UploadReceiver getReceiver()
Returns the UploadReceiver object that will be used to handle files uploaded using this upload select component.


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()

render

public void render(RenderingContext rc,
                   Element parent)
Description copied from interface: ComponentPeer
A method that should be overridden for the ComponentPeer to produce HTML output.

Specified by:
render in interface ComponentPeer
Overrides:
render in class AbstractComponentPeer
Parameters:
rc - A rendering context provided by the Connection.
parent - The element that will contain content rendered by this ComponentPeer.
See Also:
ComponentPeer.render(RenderingContext, Element)

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()

isIE

public static boolean isIE(RenderingContext rc)