|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro FunctionKey API. FunctionKey is an invisible UIElement that allows applications to map a Reader's physical key to a Web Dynpro action.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
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 | |
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 |
getKeyCode()
Returns the value of the keyCode property. |
IWDAction |
getOnAction()
Returns the action to which the event onAction is mapped. |
IWDParameterMapping |
mappingOfOnAction()
Returns the parameter mapping of event onAction. |
void |
setKeyCode(java.lang.String value)
Sets property keyCode to the new value. |
void |
setOnAction(IWDAction action)
Maps the event onAction 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_KEY_CODE
keyCode.| Method Detail |
public IWDAction getOnAction()
onAction is mapped.
Event that will be triggered if the mapped function key is pressed.mappingOfOnAction()public void setOnAction(IWDAction action)
onAction to the given action.action - the action for the eventgetOnAction()public IWDParameterMapping mappingOfOnAction()
onAction.
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:getOnAction()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 | |||||||||