Interface ComboBox
- All Superinterfaces:
FormField
Combo Box (Dropdown) Form Field
下拉框表单字段
Features | 主要功能:
- Dropdown option list access - 下拉选项列表访问
- Editable (custom input) support - 可编辑(自定义输入)支持
Usage Examples | 使用示例:
ComboBox combo = (ComboBox) form.getField("country");
List<String> options = combo.getOptions();
combo.setValue("USA");
Security | 安全性:
- Thread-safe: Depends on implementation - 线程安全: 取决于实现
- Null-safe: Depends on implementation - 空值安全: 取决于实现
- Since:
- JDK 25, opencode-base-pdf V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface FormField
FormField.FieldType -
Method Summary
Modifier and TypeMethodDescriptionGets available options 获取可用选项default FormField.FieldTypegetType()Gets field type 获取字段类型booleanChecks if editable (allows custom input) 检查是否可编辑(允许自定义输入)Methods inherited from interface FormField
getName, getRectangle, getTooltip, getValue, isReadOnly, isRequired, setValue
-
Method Details