Foxit PDF SDK  9.1
FSWidgetChoiceOption Class Reference
Inheritance diagram for FSWidgetChoiceOption:

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(id) - init
 Constructor.
More...
 
(id) - initWithCptr:swigOwnCObject:
 
(id) - initWithOption:
 Constructor, with another choice option object.
More...
 
(id) - initWithOption_label:selected:
 
(void) - set:selected:
 Set value.
More...
 

Protected Attributes

BOOL swigCMemOwn
 
void * swigCPtr
 

Properties

NSString * option_label
 The displayed string value for the option.
More...
 
BOOL selected
 Used to indicate whether the option is selected or not.
More...
 

Detailed Description

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

Method Documentation

◆ dealloc

- (void) dealloc

◆ getCptr

- (void*) getCptr

◆ init

- (id) init

Constructor.

◆ initWithCptr:swigOwnCObject:

- (id) initWithCptr: (void *)  cptr
swigOwnCObject: (BOOL)  ownCObject 

◆ initWithOption:

- (id) initWithOption: (FSWidgetChoiceOption*)  option

Constructor, with another choice option object.

Parameters
[in]optionAnother choice option object.

◆ initWithOption_label:selected:

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

◆ set:selected:

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

Set value.

Parameters
[in]option_labelThe displayed string value for the option.
[in]selectedYES means the option is selected, and NO means the option is not selected.
Returns
None.

Member Data Documentation

◆ swigCMemOwn

- (BOOL) swigCMemOwn
protected

◆ swigCPtr

- (void*) swigCPtr
protected

Property Documentation

◆ option_label

- (NSString *) option_label
readwritenonatomiccopy

The displayed string value for the option.

◆ selected

- (BOOL) selected
readwritenonatomicassign

Used to indicate whether the option is selected or not.