Foxit PDF RDK

Public Member Functions | Public Attributes | List of all members
WidgetChoiceOption Class Reference
Inheritance diagram for WidgetChoiceOption:

## Public Member Functions
| constructor ()
| Constructor.
| constructor (option_label, selected)
| Constructor, with parameters. More...
| Set (option_label, selected)
| Set value. More...
Public Member Functions inherited from NativeObjectWrapper
| constructor (r)
| GetPointerAsNumber ()

## Public Attributes
| option_label
| The displayed string value for the option.
| selected
| Used to indicate whether the option is selected or not.

## Detailed Description

This class represents the data of an option in list box or combo box.

Examples
  /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.

## Member Function Documentation

## ◆ constructor()

WidgetChoiceOption.constructor | ( | option_label | ,
|  | selected |
| ) |  |

Constructor, with parameters.

Parameters

  [in] | option_label | The displayed string value for the option.
  [in] | selected | true means the option is selected, and false means the option is not selected.

## ◆ Set()

WidgetChoiceOption.Set | ( | option_label | ,
|  | selected |
| ) |  |

Set value.

Parameters

  [in] | option_label | The displayed string value for the option.
  [in] | selected | true means the option is selected, and false means the option is not selected.

Returns
  None.