|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro OfficeControl API. This component may be used to display an office document in-place inside the browser. This component is the backend stub for the client side ActiveX control or the Java applet.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static boolean |
DEFAULT_ACTIVATE_IN_PLACE
Default value of property activateInPlace. |
static java.lang.String |
DEFAULT_CONTROL_ID
Default value of property controlId. |
static java.lang.String |
DEFAULT_DOCUMENT_NAME
Default value of property documentName. |
static WDOfficeDocumentType |
DEFAULT_DOCUMENT_TYPE
Default value of property documentType. |
static boolean |
DEFAULT_ENABLE_READ_WRITE
Default value of property enableReadWrite. |
static boolean |
DEFAULT_SHOW_DECORATION
Default value of property showDecoration. |
| 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 |
bindActivateInPlace(IWDAttributeInfo attributeInfo)
Binds property activateInPlace to the context attribute
specified by the given attribute info. |
void |
bindActivateInPlace(java.lang.String path)
Binds property activateInPlace to the context attribute
specified by path. |
void |
bindDataSource(IWDAttributeInfo attributeInfo)
Note: This property must be bound to the context! Binds property dataSource to the context attribute
specified by the given attribute 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. |
void |
bindDocumentName(IWDAttributeInfo attributeInfo)
Binds property documentName to the context attribute
specified by the given attribute info. |
void |
bindDocumentName(java.lang.String path)
Binds property documentName to the context attribute
specified by path. |
void |
bindDocumentType(IWDAttributeInfo attributeInfo)
Binds property documentType to the context attribute
specified by the given attribute info. |
void |
bindDocumentType(java.lang.String path)
Binds property documentType to the context attribute
specified by path. |
void |
bindEnableReadWrite(IWDAttributeInfo attributeInfo)
Binds property enableReadWrite to the context attribute
specified by the given attribute info. |
void |
bindEnableReadWrite(java.lang.String path)
Binds property enableReadWrite to the context attribute
specified by path. |
java.lang.String |
bindingOfActivateInPlace()
Binding path of property activateInPlace. |
java.lang.String |
bindingOfDataSource()
Note: This property must be bound to the context! Binding path of property dataSource. |
java.lang.String |
bindingOfDocumentName()
Binding path of property documentName. |
java.lang.String |
bindingOfDocumentType()
Binding path of property documentType. |
java.lang.String |
bindingOfEnableReadWrite()
Binding path of property enableReadWrite. |
java.lang.String |
bindingOfShowDecoration()
Binding path of property showDecoration. |
void |
bindShowDecoration(IWDAttributeInfo attributeInfo)
Binds property showDecoration to the context attribute
specified by the given attribute info. |
void |
bindShowDecoration(java.lang.String path)
Binds property showDecoration to the context attribute
specified by path. |
boolean |
getActivateInPlace()
Returns the value of the activateInPlace property. |
java.lang.String |
getControlId()
Returns the value of the controlId property. |
java.lang.Object |
getDataSource()
Note: This property must be bound to the context! Returns the value of the dataSource property. |
java.lang.String |
getDocumentName()
Returns the value of the documentName property. |
WDOfficeDocumentType |
getDocumentType()
Returns the value of the documentType property. |
boolean |
getEnableReadWrite()
Returns the value of the enableReadWrite property. |
IWDAction |
getOnClose()
Returns the action to which the event onClose is mapped. |
IWDAction |
getOnSave()
Returns the action to which the event onSave is mapped. |
boolean |
getShowDecoration()
Returns the value of the showDecoration property. |
IWDParameterMapping |
mappingOfOnClose()
Returns the parameter mapping of event onClose. |
IWDParameterMapping |
mappingOfOnSave()
Returns the parameter mapping of event onSave. |
void |
setActivateInPlace(boolean value)
Sets property activateInPlace to the new value. |
void |
setControlId(java.lang.String controlId)
Sets property controlId to the given value. |
void |
setDataSource(java.lang.Object value)
Note: This property must be bound to the context! Sets property dataSource to the new value. |
void |
setDocumentName(java.lang.String value)
Sets property documentName to the new value. |
void |
setDocumentType(WDOfficeDocumentType value)
Sets property documentType to the new value. |
void |
setEnableReadWrite(boolean value)
Sets property enableReadWrite to the new value. |
void |
setOnClose(IWDAction action)
Maps the event onClose to the given action. |
void |
setOnSave(IWDAction action)
Maps the event onSave to the given action. |
void |
setShowDecoration(boolean value)
Sets property showDecoration to the new value. |
| 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 boolean DEFAULT_ACTIVATE_IN_PLACE
activateInPlace.public static final java.lang.String DEFAULT_CONTROL_ID
controlId.public static final java.lang.String DEFAULT_DOCUMENT_NAME
documentName.public static final WDOfficeDocumentType DEFAULT_DOCUMENT_TYPE
documentType.public static final boolean DEFAULT_ENABLE_READ_WRITE
enableReadWrite.public static final boolean DEFAULT_SHOW_DECORATION
showDecoration.| Method Detail |
public IWDAction getOnClose()
onClose is mapped.
This is the event raised by the client control or the applet when the user closes the document.mappingOfOnClose()public void setOnClose(IWDAction action)
onClose to the given action.action - the action for the eventgetOnClose()public IWDParameterMapping mappingOfOnClose()
onClose.
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:getOnClose()public IWDAction getOnSave()
onSave is mapped.
This is the event raised by the client side ActiveX control or the applet when the user does a save on the openend documentmappingOfOnSave()public void setOnSave(IWDAction action)
onSave to the given action.action - the action for the eventgetOnSave()public IWDParameterMapping mappingOfOnSave()
onSave.
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:getOnSave()public void bindActivateInPlace(java.lang.String path)
activateInPlace to the context attribute
specified by path.path - the path of the context attribute to which the activateInPlace
property is boundpublic void bindActivateInPlace(IWDAttributeInfo attributeInfo)
activateInPlace to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
activateInPlace property is boundpublic java.lang.String bindingOfActivateInPlace()
activateInPlace.public boolean getActivateInPlace()
activateInPlace property.
The initial value is true.
Boolean property to specify whether the document has to be activated in place or in a separate window.setActivateInPlace(boolean)public void setActivateInPlace(boolean value)
activateInPlace to the new value.value - the new value of the activateInPlace propertygetActivateInPlace()public java.lang.String getControlId()
controlId property.
The initial value is "".
This is to be discarded because UIElement already has an id property.setControlId(String)public void setControlId(java.lang.String controlId)
controlId to the given value.controlId - the new controlId valuegetControlId()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(IWDAttributeInfo attributeInfo)
dataSource to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
dataSource property is boundpublic java.lang.String bindingOfDataSource()
dataSource.public java.lang.Object getDataSource()
dataSource property.
The initial value is null.
This is a binary property to hold the mass data of the document that is displayed.setDataSource(Object)public void setDataSource(java.lang.Object value)
dataSource to the new value.value - the new value of the dataSource propertygetDataSource()public void bindDocumentName(java.lang.String path)
documentName to the context attribute
specified by path.path - the path of the context attribute to which the documentName
property is boundpublic void bindDocumentName(IWDAttributeInfo attributeInfo)
documentName to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
documentName property is boundpublic java.lang.String bindingOfDocumentName()
documentName.public java.lang.String getDocumentName()
documentName property.
The initial value is "".
This property associates a name to the document.setDocumentName(String)public void setDocumentName(java.lang.String value)
documentName to the new value.value - the new value of the documentName propertygetDocumentName()public void bindDocumentType(java.lang.String path)
documentType to the context attribute
specified by path.path - the path of the context attribute to which the documentType
property is boundpublic void bindDocumentType(IWDAttributeInfo attributeInfo)
documentType to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
documentType property is boundpublic java.lang.String bindingOfDocumentType()
documentType.public WDOfficeDocumentType getDocumentType()
documentType property.
The initial value is WDOfficeDocumentType.MS_WORD.
This is the type of the document to be displayed, e.g. MS_WORD, MS_EXCEL, STAR_CALC, STAR_WRITER.setDocumentType(WDOfficeDocumentType)public void setDocumentType(WDOfficeDocumentType value)
documentType to the new value.value - the new value of the documentType propertygetDocumentType()public void bindEnableReadWrite(java.lang.String path)
enableReadWrite to the context attribute
specified by path.path - the path of the context attribute to which the enableReadWrite
property is boundpublic void bindEnableReadWrite(IWDAttributeInfo attributeInfo)
enableReadWrite to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
enableReadWrite property is boundpublic java.lang.String bindingOfEnableReadWrite()
enableReadWrite.public boolean getEnableReadWrite()
enableReadWrite property.
The initial value is true.
This property enables or disables the write operation on the document that is displayed in the ActiveX or the Java applet.setEnableReadWrite(boolean)public void setEnableReadWrite(boolean value)
enableReadWrite to the new value.value - the new value of the enableReadWrite propertygetEnableReadWrite()public void bindShowDecoration(java.lang.String path)
showDecoration to the context attribute
specified by path.path - the path of the context attribute to which the showDecoration
property is boundpublic void bindShowDecoration(IWDAttributeInfo attributeInfo)
showDecoration to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
showDecoration property is boundpublic java.lang.String bindingOfShowDecoration()
showDecoration.public boolean getShowDecoration()
showDecoration property.
The initial value is true.
This property has to be discarded.setShowDecoration(boolean)public void setShowDecoration(boolean value)
showDecoration to the new value.value - the new value of the showDecoration propertygetShowDecoration()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||