Foxit PDF SDK
com.foxit.sdk.addon.xfa.WidgetChoiceOption类 参考

Public 成员函数

 WidgetChoiceOption ()
 构造函数。

 
 WidgetChoiceOption (String option_label, boolean selected)
 构造函数,带参数。
更多...
 
 WidgetChoiceOption (WidgetChoiceOption option)
 构造函数,使用另一个选择选项对象。
更多...
 
synchronized void delete ()
 直接清除C++相关资源。 更多...
 
String getOption_label ()
 Get 选项的显示字符串值。
更多...
 
boolean getSelected ()
 Get 用于指示选项是否被选中。
更多...
 
void set (String option_label, boolean selected)
 设置值。
更多...
 
void setOption_label (String value)
 Set 选项的显示字符串值。
更多...
 
void setSelected (boolean value)
 Set 用于指示选项是否被选中。
更多...
 

详细描述

此类表示列表框或组合框中选项的数据。

构造及析构函数说明

◆ WidgetChoiceOption() [1/2]

com.foxit.sdk.addon.xfa.WidgetChoiceOption.WidgetChoiceOption ( String  option_label,
boolean  selected 
)

构造函数,带参数。

参数
[in]option_label选项的显示字符串值。
[in]selectedtrue 表示选项被选中,false 表示 选项未被选中。

◆ WidgetChoiceOption() [2/2]

com.foxit.sdk.addon.xfa.WidgetChoiceOption.WidgetChoiceOption ( WidgetChoiceOption  option)

构造函数,使用另一个选择选项对象。

参数
[in]option另一个选择选项对象。

成员函数说明

◆ delete()

synchronized void com.foxit.sdk.addon.xfa.WidgetChoiceOption.delete ( )

直接清除C++相关资源。

返回
无。
注解
一旦这个接口被调用,这个对象将不能再被使用。

◆ getOption_label()

com.foxit.sdk.addon.xfa.WidgetChoiceOption.getOption_label ( )

Get 选项的显示字符串值。

返回
选项的显示字符串值。

◆ getSelected()

com.foxit.sdk.addon.xfa.WidgetChoiceOption.getSelected ( )

Get 用于指示选项是否被选中。

返回
用于指示选项是否被选中。

◆ set()

void com.foxit.sdk.addon.xfa.WidgetChoiceOption.set ( String  option_label,
boolean  selected 
)

设置值。

参数
[in]option_label选项的显示字符串值。
[in]selectedtrue 表示选项被选中,false 表示 选项未被选中。
返回
无。

◆ setOption_label()

com.foxit.sdk.addon.xfa.WidgetChoiceOption.setOption_label ( String  value)

Set 选项的显示字符串值。

参数
[in]value选项的显示字符串值。
返回
None.

◆ setSelected()

com.foxit.sdk.addon.xfa.WidgetChoiceOption.setSelected ( boolean  value)

Set 用于指示选项是否被选中。

参数
[in]value用于指示选项是否被选中。
返回
None.