Show TOC

Background documentationCheckBox Locate this document in the navigation structure

 

The checkbox enables the user to select a boolean value (true/false). The UI element consists of a graphic with text. The checkmark in the box indicates that the option is selected and the value is set to true. Definition The Web Dynpro class Checkbox which implements the IWDCheckBox interface is the base class of checkboxes.

Description of UI Element Properties

activateAccessKey

Indicates whether access key for this control is activated. More information: Enabling Access Keys

checked

Specifies whether or not a checkbox is selected. The boolean value true indicates that the option is selected. A checkmark appears in the graphic that is displayed on the screen.

explanation

Specifies the explanation text. More information: Explanation

readOnly

Specifies whether or not the user can check the checkbox.

state

Describes the error status of the UI element. The data type of this property corresponds to the enumeration type WDState.

explanation

Specifies the explanation text. More information: Explanation

readOnly

Specifies whether or not the user can check the checkbox.

state

Describes the error status of the UI element. The data type of this property corresponds to the enumeration type WDState.

Events

onToggle (boolean checked)

The onToggle event is triggered when the user clicks the CheckBox. The parameter is the new status.