Foxit PDF SDK

Instance Methods | Properties | List of all members
FSWidgetChoiceOption Class Reference

Inherits NSObject.

## Instance Methods
(id) | - init
| Constructor.
(id) | - initWithOption:
| Constructor, with another choice option object. More...
(id) | - initWithOption_label:selected:
| Constructor, with parameters. More...
(void) | - set:selected:
| Set value. More...

## Properties
NSString * | option_label
| The displayed string value for the option.
BOOL | 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.

## Method Documentation

## ◆ initWithOption:()

- (id) initWithOption: |  | (FSWidgetChoiceOption*) | option |

Constructor, with another choice option object.

Parameters

  [in] | option | Another choice option object.

## ◆ initWithOption_label:selected:()

- (id) initWithOption_label: |  | (NSString *) | option_label
selected: |  | (BOOL) | selected

Constructor, with parameters.

Parameters

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

## ◆ set:selected:()

- (void) set: |  | (NSString *) | option_label
selected: |  | (BOOL) | selected

Set value.

Parameters

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

Returns
  None.