|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro RFIDReader API. RFIDReader is an invisible UIElement that enables a RFID Reader to be used within Pocket PC Internet Explorer. As prerequisite the ActiveX control provided by SAP AG must be installed on the local device.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_CLASS_ID
Default value of property classId. |
static java.lang.String |
DEFAULT_KEY_CODE
Default value of property keyCode. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindClassId(IWDAttributeInfo attributeInfo)
Binds property classId to the context attribute
specified by the given attribute info. |
void |
bindClassId(java.lang.String path)
Binds property classId to the context attribute
specified by path. |
java.lang.String |
bindingOfClassId()
Binding path of property classId. |
java.lang.String |
bindingOfKeyCode()
Binding path of property keyCode. |
void |
bindKeyCode(IWDAttributeInfo attributeInfo)
Binds property keyCode to the context attribute
specified by the given attribute info. |
void |
bindKeyCode(java.lang.String path)
Binds property keyCode to the context attribute
specified by path. |
java.lang.String |
getClassId()
Returns the value of the classId property. |
java.lang.String |
getKeyCode()
Returns the value of the keyCode property. |
IWDAction |
getOnRead()
Returns the action to which the event onRead is mapped. |
IWDParameterMapping |
mappingOfOnRead()
Returns the parameter mapping of event onRead. |
void |
setClassId(java.lang.String value)
Sets property classId to the new value. |
void |
setKeyCode(java.lang.String value)
Sets property keyCode to the new value. |
void |
setOnRead(IWDAction action)
Maps the event onRead to the given action. |
| 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_CLASS_ID
classId.public static final java.lang.String DEFAULT_KEY_CODE
keyCode.| Method Detail |
public IWDAction getOnRead()
onRead is mapped.
Event that will be triggered if RFID tags are read by pressing the RFID key, for example.mappingOfOnRead()public void setOnRead(IWDAction action)
onRead to the given action.action - the action for the eventgetOnRead()public IWDParameterMapping mappingOfOnRead()
onRead.
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:getOnRead()public void bindClassId(java.lang.String path)
classId to the context attribute
specified by path.path - the path of the context attribute to which the classId
property is boundpublic void bindClassId(IWDAttributeInfo attributeInfo)
classId to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
classId property is boundpublic java.lang.String bindingOfClassId()
classId.public java.lang.String getClassId()
classId property.
The initial value is "".
Must be set to the ActiveX control name that is used to create the RFIDReader object. In the following example the classId is et to be SAP.RfidG4.
var reader = new ActiveXObject('SAP.RfidG4');setClassId(String)public void setClassId(java.lang.String value)
classId to the new value.value - the new value of the classId propertygetClassId()public void bindKeyCode(java.lang.String path)
keyCode to the context attribute
specified by path.path - the path of the context attribute to which the keyCode
property is boundpublic void bindKeyCode(IWDAttributeInfo attributeInfo)
keyCode to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
keyCode property is boundpublic java.lang.String bindingOfKeyCode()
keyCode.public java.lang.String getKeyCode()
keyCode property.
The initial value is "".
Property to specify the function key representation in the browser for the key mapping. It is vendor and browser dependent and corresponds exactly to the meta tag attribute name http-equiv. For example, the keyCode is IBrowse_OnKey49 in the follwoing example.
setKeyCode(String)public void setKeyCode(java.lang.String value)
keyCode to the new value.value - the new value of the keyCode propertygetKeyCode()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||