|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro AbstractButton API. Abstract base class of all buttons.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_TEXT
Default value of property text. |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractCaption |
DEFAULT_IMAGE_ALT, DEFAULT_IMAGE_FIRST, DEFAULT_IMAGE_SOURCE, DEFAULT_TEXT_DIRECTION |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
java.lang.String |
bindingOfText()
Binding path of property text. |
void |
bindText(IWDAttributeInfo attributeInfo)
Binds property text to the context attribute
specified by the given attribute info. |
void |
bindText(java.lang.String path)
Binds property text to the context attribute
specified by path. |
IWDAction |
getOnAction()
Returns the action to which the event onAction is mapped. |
java.lang.String |
getText()
Returns the value of the text property. |
IWDParameterMapping |
mappingOfOnAction()
Returns the parameter mapping of event onAction. |
void |
setOnAction(IWDAction action)
Maps the event onAction to the given action. |
void |
setText(java.lang.String value)
Sets property text to the new value. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractCaption |
bindImageAlt, bindImageAlt, bindImageFirst, bindImageFirst, bindImageSource, bindImageSource, bindingOfImageAlt, bindingOfImageFirst, bindingOfImageSource, bindingOfTextDirection, bindTextDirection, bindTextDirection, getImageAlt, getImageFirst, getImageSource, getTextDirection, setImageAlt, setImageFirst, setImageSource, setTextDirection |
| 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_TEXT
text.| Method Detail |
public IWDAction getOnAction()
onAction is mapped.
The action performed when the button 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 bindText(java.lang.String path)
text to the context attribute
specified by path.path - the path of the context attribute to which the text
property is boundpublic void bindText(IWDAttributeInfo attributeInfo)
text to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
text property is boundpublic java.lang.String bindingOfText()
text.public java.lang.String getText()
text property.
The initial value is null.
The text of the button.setText(String)public void setText(java.lang.String value)
text to the new value.value - the new value of the text propertygetText()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||