|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public static final java.lang.String DEFAULT_FILE_NAME
fileName.public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection.public static final java.lang.String DEFAULT_WIDTH
width.| Method Detail |
public void bindData(java.lang.String path)
data to the context attribute
specified by path.path - the path of the context attribute to which the data
property is boundpublic void bindData(IWDAttributeInfo attributeInfo)
data to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
data property is boundpublic java.lang.String bindingOfData()
data.public java.lang.Object getData()
data property.
The initial value is null.
Determines the uploaded data value. It's a readOnly attribute.setData(Object)public void setData(java.lang.Object value)
data to the new value.value - the new value of the data propertygetData()public void bindFileName(java.lang.String path)
fileName to the context attribute
specified by path.path - the path of the context attribute to which the fileName
property is boundpublic void bindFileName(IWDAttributeInfo attributeInfo)
fileName to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
fileName property is boundpublic java.lang.String bindingOfFileName()
fileName.public java.lang.String getFileName()
fileName property.
The initial value is "".
Determines the name of the selected file which should be uploaded. It's a readOnly field.setFileName(String)public void setFileName(java.lang.String value)
fileName to the new value.value - the new value of the fileName propertygetFileName()public void bindTextDirection(java.lang.String path)
textDirection to the context attribute
specified by path.path - the path of the context attribute to which the textDirection
property is boundpublic void bindTextDirection(IWDAttributeInfo attributeInfo)
textDirection to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
textDirection property is boundpublic java.lang.String bindingOfTextDirection()
textDirection.public WDTextDirection getTextDirection()
textDirection property.
The initial value is WDTextDirection.INHERIT.
Determines the direction of displayed text.setTextDirection(WDTextDirection)public void setTextDirection(WDTextDirection value)
textDirection to the new value.value - the new value of the textDirection propertygetTextDirection()public void bindWidth(java.lang.String path)
width to the context attribute
specified by path.path - the path of the context attribute to which the width
property is boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
width property is boundpublic java.lang.String bindingOfWidth()
width.public java.lang.String getWidth()
width property.
The initial value is "".
Determines the width (CSS size) of this fileUpload controlsetWidth(String)public void setWidth(java.lang.String value)
width to the new value.value - the new value of the width propertygetWidth()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||