Foxit PDF RDK

Public Member Functions | Public Attributes | List of all members
WidgetChoiceOption Class Reference

## Public Member Functions
| constructor ()
| Constructor.
| constructor (option_label, selected)
| Constructor, with parameters. More...
| Set (option_label, selected)
| Set value. More...

## 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.

## 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.