!--a11y-->
Web Dynpro AbstractButton API -
IWDAbstractButton 
The AbstractButton class which implements the IWDAbstractButton interface, is the abstract base class of buttons. It inherits the ability to display an icon from its base class AbstractCaption and adds the ability to display a text on the pushbutton and trigger an action. A pushbutton is activated when the action bound to it is activated. Subordinate interfaces such as pushbuttons inherit the propertiese of this interface.
·
text
Describes the label text of
the Button UI element.
Overview of Inherited and Additional Properties
Name |
Interface |
Type |
Initial Value |
Bindable |
Value Required |
IWDUIElement |
boolean |
true |
bindable |
No |
|
IWDAbstractCaption |
String |
|
bindable |
No |
|
IWDAbstractCaption |
boolean |
true |
bindable |
No |
|
IWDAbstractCaption |
String |
|
bindable |
No |
|
text |
IWDAbstractButton |
String |
|
bindable |
No |
IWDUIElement |
String |
|
bindable |
No |
|
IWDUIElement |
WDVisibility |
visible |
bindable |
No |
Events
·
onAction
This property can assign the
action to be executed when the user presses the button.
Method Name |
Parameter |
Return Value |
Short Description |
bindingOfText |
|
String |
Returns the path of the context element to which the text property is bound. Returns NULL if no binding exists. |
bindText |
(String path) |
|
Binds the text property to the context node specified by a path. |
getOnAction |
|
IWDAction |
Returns the action that is executed when the onAction event is triggered. |
getText |
|
String |
Returns the value of the text property. |
mappingOfOnAction |
|
IWDParameterMapping |
Returns the parameter mapping for the onAction action. |
setOnAction |
(IWDAction action) |
|
Sets the action that is executed if the onAction event is raised. |
setText |
(String text) |
|
Sets the value of the text property. |
Superinterfaces: IWDAbstractCaption, IWDUIElement, IWDViewElement.
