Select language:

Background documentationAbstractButton

 

AbstractButton is the abstract base UI element of a Button. From AbstractCaption it inherits the ability to display a symbol, and adds the ability to display a text on the Button and trigger an action. A Button is activated when the action bound to it is activated.

Implementation Details

Runtime Class

CL_WD_ABSTRACT_BUTTON

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

activateAccessKey

WDY_BOOLEAN

false

No

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

No

enabled

WDY_BOOLEAN

true

Yes

explanation

Translatable text

No

hotkey

WDUI_HOTKEY

none

No

imageFirst

WDY_BOOLEAN

true

Yes

imageSource

STRING

Yes

text

Translatable text

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

tooltip

Translatable text

Yes

visible

WDUI_VISIBILITY

visible

Yes

Events in View Designer

Name

onAction

Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:

Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in the View Designer. Note the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

activateAccessKey

ACTIVATE_ACCESS_KEY

WDY_BOOLEAN

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

contextMenuBehaviour: inherit

CL_WD_ABSTRACT_BUTTON=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

contextMenuBehaviour: provide

CL_WD_ABSTRACT_BUTTON=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

contextMenuBehaviour: suppress

CL_WD_ABSTRACT_BUTTON=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

enabled

ENABLED

WDY_BOOLEAN

explanation

EXPLANATION

WDY_MD_TRANSLATABLE_TEXT

hotkey

HOTKEY

WDUI_HOTKEY

hotkey: ctrl_0

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_0

hotkey: ctrl_1

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_1

hotkey: ctrl_2

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_2

hotkey: ctrl_3

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_3

hotkey: ctrl_4

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_4

hotkey: ctrl_5

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_5

hotkey: ctrl_6

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_6

hotkey: ctrl_7

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_7

hotkey: ctrl_8

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_8

hotkey: ctrl_9

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_9

hotkey: ctrl_a

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_A

hotkey: ctrl_b

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_B

hotkey: ctrl_c

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_C

hotkey: ctrl_d

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_D

hotkey: ctrl_e

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_E

hotkey: ctrl_f

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F

hotkey: ctrl_f10

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F10

hotkey: ctrl_f11

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F11

hotkey: ctrl_f12

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F12

hotkey: ctrl_f2

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F2

hotkey: ctrl_f3

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F3

hotkey: ctrl_f4

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F4

hotkey: ctrl_f5

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F5

hotkey: ctrl_f6

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F6

hotkey: ctrl_f7

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F7

hotkey: ctrl_f8

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F8

hotkey: ctrl_f9

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_F9

hotkey: ctrl_g

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_G

hotkey: ctrl_h

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_H

hotkey: ctrl_i

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_I

hotkey: ctrl_j

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_J

hotkey: ctrl_k

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_K

hotkey: ctrl_l

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_L

hotkey: ctrl_m

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_M

hotkey: ctrl_n

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_N

hotkey: ctrl_o

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_O

hotkey: ctrl_p

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_P

hotkey: ctrl_q

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_Q

hotkey: ctrl_r

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_R

hotkey: ctrl_s

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_S

hotkey: ctrl_shift_f1

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F1

hotkey: ctrl_shift_f10

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F10

hotkey: ctrl_shift_f11

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F11

hotkey: ctrl_shift_f12

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F12

hotkey: ctrl_shift_f2

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F2

hotkey: ctrl_shift_f3

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F3

hotkey: ctrl_shift_f4

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F4

hotkey: ctrl_shift_f5

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F5

hotkey: ctrl_shift_f6

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F6

hotkey: ctrl_shift_f7

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F7

hotkey: ctrl_shift_f8

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F8

hotkey: ctrl_shift_f9

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_SHIFT_F9

hotkey: ctrl_t

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_T

hotkey: ctrl_u

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_U

hotkey: ctrl_v

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_V

hotkey: ctrl_w

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_W

hotkey: ctrl_x

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_X

hotkey: ctrl_y

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_Y

hotkey: ctrl_z

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-CTRL_Z

hotkey: none

CL_WD_ABSTRACT_BUTTON=>E_HOTKEY-NONE

imageFirst

IMAGE_FIRST

WDY_BOOLEAN

imageSource

IMAGE_SOURCE

STRING

text

TEXT

WDY_MD_TRANSLATABLE_TEXT

textDirection

TEXT_DIRECTION

WDUI_TEXT_DIRECTION

textDirection: inherit

CL_WD_ABSTRACT_BUTTON=>E_TEXT_DIRECTION-INHERIT

textDirection: ltr

CL_WD_ABSTRACT_BUTTON=>E_TEXT_DIRECTION-LTR

textDirection: rtl

CL_WD_ABSTRACT_BUTTON=>E_TEXT_DIRECTION-RTL

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_ABSTRACT_BUTTON=>E_VISIBLE-NONE

visible: visible

CL_WD_ABSTRACT_BUTTON=>E_VISIBLE-VISIBLE

Dynamic Programming of Events

View Designer Name

Runtime Name

onAction

ON_ACTION

Was this page helpful to you?