Web Dynpro API Documentation

com.sap.tc.webdynpro.clientserver.uielib.standard.api
Interface IWDFileUpload

All Superinterfaces:
IWDUIElement, IWDViewElement

public interface IWDFileUpload
extends IWDUIElement

Web Dynpro FileUpload API. Used to upload files from the client to the server. The attribute data determines the data sink in the context. The Attribute fileName contains the filename of the uploaded file. The content-mime-type are saved on the server in the data type.

This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!


Field Summary
static java.lang.String DEFAULT_FILE_NAME
          Default value of property fileName.
static WDTextDirection DEFAULT_TEXT_DIRECTION
          Default value of property textDirection.
static java.lang.String DEFAULT_WIDTH
          Default value of property width.
 
Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE
 
Method Summary
 void bindData(IWDAttributeInfo attributeInfo)
          Note: This property must be bound to the context! Binds property data to the context attribute specified by the given attribute info.
 void bindData(java.lang.String path)
          Note: This property must be bound to the context! Binds property data to the context attribute specified by path.
 void bindFileName(IWDAttributeInfo attributeInfo)
          Binds property fileName to the context attribute specified by the given attribute info.
 void bindFileName(java.lang.String path)
          Binds property fileName to the context attribute specified by path.
 java.lang.String bindingOfData()
          Note: This property must be bound to the context! Binding path of property data.
 java.lang.String bindingOfFileName()
          Binding path of property fileName.
 java.lang.String bindingOfTextDirection()
          Binding path of property textDirection.
 java.lang.String bindingOfWidth()
          Binding path of property width.
 void bindTextDirection(IWDAttributeInfo attributeInfo)
          Binds property textDirection to the context attribute specified by the given attribute info.
 void bindTextDirection(java.lang.String path)
          Binds property textDirection to the context attribute specified by path.
 void bindWidth(IWDAttributeInfo attributeInfo)
          Binds property width to the context attribute specified by the given attribute info.
 void bindWidth(java.lang.String path)
          Binds property width to the context attribute specified by path.
 java.lang.Object getData()
          Note: This property must be bound to the context! Returns the value of the data property.
 java.lang.String getFileName()
          Returns the value of the fileName property.
 WDTextDirection getTextDirection()
          Returns the value of the textDirection property.
 java.lang.String getWidth()
          Returns the value of the width property.
 void setData(java.lang.Object value)
          Note: This property must be bound to the context! Sets property data to the new value.
 void setFileName(java.lang.String value)
          Sets property fileName to the new value.
 void setTextDirection(WDTextDirection value)
          Sets property textDirection to the new value.
 void setWidth(java.lang.String value)
          Sets property width to the new value.
 
Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement
bindEnabled, bindEnabled, bindingOfEnabled, bindingOfTooltip, bindingOfVisible, bindTooltip, bindTooltip, bindVisible, bindVisible, createLayoutData, getContainer, getEnabled, getLayoutData, getTooltip, getVisible, setEnabled, setTooltip, setVisible
 
Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement
getId, getView, requestFocus
 

Field Detail

DEFAULT_FILE_NAME

public static final java.lang.String DEFAULT_FILE_NAME
Default value of property fileName.

DEFAULT_TEXT_DIRECTION

public static final WDTextDirection DEFAULT_TEXT_DIRECTION
Default value of property textDirection.

DEFAULT_WIDTH

public static final java.lang.String DEFAULT_WIDTH
Default value of property width.
Method Detail

bindData

public void bindData(java.lang.String path)
Note: This property must be bound to the context! Binds property data to the context attribute specified by path.
Parameters:
path - the path of the context attribute to which the data property is bound

bindData

public void bindData(IWDAttributeInfo attributeInfo)
Note: This property must be bound to the context! Binds property data to the context attribute specified by the given attribute info.
Parameters:
attributeInfo - the info of the context attribute to which the data property is bound

bindingOfData

public java.lang.String bindingOfData()
Note: This property must be bound to the context! Binding path of property data.
Returns:
the path of the context attribute to which the data is currently bound

getData

public java.lang.Object getData()
Note: This property must be bound to the context! Returns the value of the data property. The initial value is null. Determines the uploaded data value. It's a readOnly attribute.
Returns:
the current value of the data property
See Also:
setData(Object)

setData

public void setData(java.lang.Object value)
Note: This property must be bound to the context! Sets property data to the new value.
Parameters:
value - the new value of the data property
See Also:
getData()

bindFileName

public void bindFileName(java.lang.String path)
Binds property fileName to the context attribute specified by path.
Parameters:
path - the path of the context attribute to which the fileName property is bound

bindFileName

public void bindFileName(IWDAttributeInfo attributeInfo)
Binds property fileName to the context attribute specified by the given attribute info.
Parameters:
attributeInfo - the info of the context attribute to which the fileName property is bound

bindingOfFileName

public java.lang.String bindingOfFileName()
Binding path of property fileName.
Returns:
the path of the context attribute to which the fileName is currently bound

getFileName

public java.lang.String getFileName()
Returns the value of the fileName property. The initial value is "". Determines the name of the selected file which should be uploaded. It's a readOnly field.
Returns:
the current value of the fileName property
See Also:
setFileName(String)

setFileName

public void setFileName(java.lang.String value)
Sets property fileName to the new value.
Parameters:
value - the new value of the fileName property
See Also:
getFileName()

bindTextDirection

public void bindTextDirection(java.lang.String path)
Binds property textDirection to the context attribute specified by path.
Parameters:
path - the path of the context attribute to which the textDirection property is bound

bindTextDirection

public void bindTextDirection(IWDAttributeInfo attributeInfo)
Binds property textDirection to the context attribute specified by the given attribute info.
Parameters:
attributeInfo - the info of the context attribute to which the textDirection property is bound

bindingOfTextDirection

public java.lang.String bindingOfTextDirection()
Binding path of property textDirection.
Returns:
the path of the context attribute to which the textDirection is currently bound

getTextDirection

public WDTextDirection getTextDirection()
Returns the value of the textDirection property. The initial value is WDTextDirection.INHERIT. Determines the direction of displayed text.
Returns:
the current value of the textDirection property
See Also:
setTextDirection(WDTextDirection)

setTextDirection

public void setTextDirection(WDTextDirection value)
Sets property textDirection to the new value.
Parameters:
value - the new value of the textDirection property
See Also:
getTextDirection()

bindWidth

public void bindWidth(java.lang.String path)
Binds property width to the context attribute specified by path.
Parameters:
path - the path of the context attribute to which the width property is bound

bindWidth

public void bindWidth(IWDAttributeInfo attributeInfo)
Binds property width to the context attribute specified by the given attribute info.
Parameters:
attributeInfo - the info of the context attribute to which the width property is bound

bindingOfWidth

public java.lang.String bindingOfWidth()
Binding path of property width.
Returns:
the path of the context attribute to which the width is currently bound

getWidth

public java.lang.String getWidth()
Returns the value of the width property. The initial value is "". Determines the width (CSS size) of this fileUpload control
Returns:
the current value of the width property
See Also:
setWidth(String)

setWidth

public void setWidth(java.lang.String value)
Sets property width to the new value.
Parameters:
value - the new value of the width property
See Also:
getWidth()

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15