|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro InteractiveForm API.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static WDInteractiveFormMode |
DEFAULT_MODE
Default value of property mode. |
static java.lang.Object |
DEFAULT_PDF_SOURCE
Default value of property pdfSource. |
static java.lang.String |
DEFAULT_TEMPLATE_SOURCE
Default value of property templateSource. |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.activecomp.api.IWDAbstractActiveComponent |
DEFAULT_HEIGHT, DEFAULT_WIDTH |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindDataSource(IWDNodeInfo nodeInfo)
Note: This property must be bound to the context! Binds property dataSource to the context node
specified by the given node info. |
void |
bindDataSource(java.lang.String path)
Note: This property must be bound to the context! Binds property dataSource to the context attribute
specified by path. |
java.lang.String |
bindingOfDataSource()
Note: This property must be bound to the context! Binding path of property dataSource. |
java.lang.String |
bindingOfMode()
Binding path of property mode. |
java.lang.String |
bindingOfPdfSource()
Binding path of property pdfSource. |
void |
bindMode(IWDAttributeInfo attributeInfo)
Binds property mode to the context attribute
specified by the given attribute info. |
void |
bindMode(java.lang.String path)
Binds property mode to the context attribute
specified by path. |
void |
bindPdfSource(IWDAttributeInfo attributeInfo)
Binds property pdfSource to the context attribute
specified by the given attribute info. |
void |
bindPdfSource(java.lang.String path)
Binds property pdfSource to the context attribute
specified by path. |
WDInteractiveFormMode |
getMode()
Returns the value of the mode property. |
IWDAction |
getOnCheck()
Returns the action to which the event onCheck is mapped. |
IWDAction |
getOnSubmit()
Returns the action to which the event onSubmit is mapped. |
java.lang.Object |
getPdfSource()
Returns the value of the pdfSource property. |
java.lang.String |
getTemplateSource()
Returns the value of the templateSource property. |
IWDParameterMapping |
mappingOfOnCheck()
Returns the parameter mapping of event onCheck. |
IWDParameterMapping |
mappingOfOnSubmit()
Returns the parameter mapping of event onSubmit. |
void |
setMode(WDInteractiveFormMode value)
Sets property mode to the new value. |
void |
setOnCheck(IWDAction action)
Maps the event onCheck to the given action. |
void |
setOnSubmit(IWDAction action)
Maps the event onSubmit to the given action. |
void |
setPdfSource(java.lang.Object value)
Sets property pdfSource to the new value. |
void |
suppressPrint(boolean suppress)
Method suppressPrint can be called to avoid the PrintButton within Acrobat Reader. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.activecomp.api.IWDAbstractActiveComponent |
bindHeight, bindHeight, bindingOfHeight, bindingOfWidth, bindWidth, bindWidth, getHeight, getWidth, setHeight, setWidth |
| 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 WDInteractiveFormMode DEFAULT_MODE
mode.public static final java.lang.Object DEFAULT_PDF_SOURCE
pdfSource.public static final java.lang.String DEFAULT_TEMPLATE_SOURCE
templateSource.| Method Detail |
public IWDAction getOnCheck()
onCheck is mapped.
mappingOfOnCheck()public void setOnCheck(IWDAction action)
onCheck to the given action.action - the action for the eventgetOnCheck()public IWDParameterMapping mappingOfOnCheck()
onCheck.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnCheck()public IWDAction getOnSubmit()
onSubmit is mapped.
mappingOfOnSubmit()public void setOnSubmit(IWDAction action)
onSubmit to the given action.action - the action for the eventgetOnSubmit()public IWDParameterMapping mappingOfOnSubmit()
onSubmit.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnSubmit()public void bindDataSource(java.lang.String path)
dataSource to the context attribute
specified by path.path - the path of the context attribute to which the dataSource
property is boundpublic void bindDataSource(IWDNodeInfo nodeInfo)
dataSource to the context node
specified by the given node info.nodeInfo - the info of the context node to which the
dataSource property is boundpublic java.lang.String bindingOfDataSource()
dataSource.public void bindMode(java.lang.String path)
mode to the context attribute
specified by path.path - the path of the context attribute to which the mode
property is boundpublic void bindMode(IWDAttributeInfo attributeInfo)
mode to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
mode property is boundpublic java.lang.String bindingOfMode()
mode.public WDInteractiveFormMode getMode()
mode property.
The initial value is WDInteractiveFormMode.UPDATE_DATA_IN_PDF.
Note that the default is to generate a new PDF in case none exists.setMode(WDInteractiveFormMode)public void setMode(WDInteractiveFormMode value)
mode to the new value.value - the new value of the mode propertygetMode()public void bindPdfSource(java.lang.String path)
pdfSource to the context attribute
specified by path.path - the path of the context attribute to which the pdfSource
property is boundpublic void bindPdfSource(IWDAttributeInfo attributeInfo)
pdfSource to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
pdfSource property is boundpublic java.lang.String bindingOfPdfSource()
pdfSource.public java.lang.Object getPdfSource()
pdfSource property.
The initial value is null.
This property must usually be bound against a context attribute of type "binary" that contains the initial PDF document. That attribute is later updated when the PDF document is changed e.g. by user input.
You can leave this property unbound in case you are not interested in updates to the PDF document, but only in data updates via the dataSource property.setPdfSource(Object)public void setPdfSource(java.lang.Object value)
pdfSource to the new value.value - the new value of the pdfSource propertygetPdfSource()public java.lang.String getTemplateSource()
templateSource property.
The initial value is "".
This property must be set only once, when the interactive form is created. It contains the URL of the template.#setTemplateSource(String)public void suppressPrint(boolean suppress)
wdDoModifyView of the View. To change the state again,
the method must be called again.suppress -
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||