|
Foxit PDF SDK
|
Public 成员函数 | |
| ChoiceOption () | |
| 构造函数 | |
| ChoiceOption (String option_value, String option_label, boolean selected, boolean default_selected) | |
| 带参数的构造函数。 更多... | |
| ChoiceOption (ChoiceOption option) | |
| 复制构造函数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| boolean | getDefault_selected () |
| Get 用于指示选项是否默认被选择。 更多... | |
| String | getOption_label () |
| Get 选项的显示字符串值。 更多... | |
| String | getOption_value () |
| Get 选项字符串值。 更多... | |
| boolean | getSelected () |
| Get 用于指示选项是否被选择。 更多... | |
| void | set (String option_value, String option_label, boolean selected, boolean default_selected) |
| 设置值。 更多... | |
| void | setDefault_selected (boolean value) |
| Set 用于指示选项是否默认被选择。 更多... | |
| void | setOption_label (String value) |
| Set 选项的显示字符串值。 更多... | |
| void | setOption_value (String value) |
| Set 选项字符串值。 更多... | |
| void | setSelected (boolean value) |
| Set 用于指示选项是否被选择。 更多... | |
此类表示列表框或组合框中选项的数据。
| com.foxit.sdk.pdf.interform.ChoiceOption.ChoiceOption | ( | String | option_value, |
| String | option_label, | ||
| boolean | selected, | ||
| boolean | default_selected | ||
| ) |
带参数的构造函数。
| [in] | option_value | 选项字符串值。 |
| [in] | option_label | 选项的显示字符串值。 |
| [in] | selected | true 表示选项被选择,false 表示 选项未被选择。 |
| [in] | default_selected | true 表示选项默认被选择,false 表示 选项默认不被选择。 |
| com.foxit.sdk.pdf.interform.ChoiceOption.ChoiceOption | ( | ChoiceOption | option | ) |
复制构造函数。
| [in] | option | 另一个选择选项对象。 |
| synchronized void com.foxit.sdk.pdf.interform.ChoiceOption.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.pdf.interform.ChoiceOption.getDefault_selected | ( | ) |
Get 用于指示选项是否默认被选择。
| com.foxit.sdk.pdf.interform.ChoiceOption.getOption_label | ( | ) |
Get 选项的显示字符串值。
| com.foxit.sdk.pdf.interform.ChoiceOption.getOption_value | ( | ) |
Get 选项字符串值。
| com.foxit.sdk.pdf.interform.ChoiceOption.getSelected | ( | ) |
Get 用于指示选项是否被选择。
| void com.foxit.sdk.pdf.interform.ChoiceOption.set | ( | String | option_value, |
| String | option_label, | ||
| boolean | selected, | ||
| boolean | default_selected | ||
| ) |
设置值。
| [in] | option_value | 选项字符串值。 |
| [in] | option_label | 选项的显示字符串值。 |
| [in] | selected | true 表示选项被选择,false 表示 选项未被选择。 |
| [in] | default_selected | true 表示选项默认被选择,false 表示 选项默认不被选择。 |
| com.foxit.sdk.pdf.interform.ChoiceOption.setDefault_selected | ( | boolean | value | ) |
Set 用于指示选项是否默认被选择。
| [in] | value | 用于指示选项是否默认被选择。 |
| com.foxit.sdk.pdf.interform.ChoiceOption.setOption_label | ( | String | value | ) |
Set 选项的显示字符串值。
| [in] | value | 选项的显示字符串值。 |
| com.foxit.sdk.pdf.interform.ChoiceOption.setOption_value | ( | String | value | ) |
Set 选项字符串值。
| [in] | value | 选项字符串值。 |
| com.foxit.sdk.pdf.interform.ChoiceOption.setSelected | ( | boolean | value | ) |
Set 用于指示选项是否被选择。
| [in] | value | 用于指示选项是否被选择。 |