public class SelectorConfig extends Object implements ControlConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectorConfig.Wrapper
The type Wrapper.
|
| Modifier and Type | Field and Description |
|---|---|
private SelectorConfig.Wrapper |
selector |
| Constructor and Description |
|---|
SelectorConfig(SelectorConfig.Wrapper selector)
Instantiates a new Selector config.
|
| Modifier and Type | Method and Description |
|---|---|
SelectorValue |
fromKey(List<String> keys)
从选项中生成填充值
|
static SelectorConfig |
multiple(List<CtrlOption> options)
多选配置选项
|
static SelectorConfig |
multiple(List<CtrlOption> options,
List<OpRelation> opRelations)
多选配置选项,并关联选项
|
static SelectorConfig |
multiple(String externalUrl)
多选关联外部选项,此时手动配置和关联控件失效
|
static SelectorConfig |
single(List<CtrlOption> options)
单选配置选项
|
static SelectorConfig |
single(List<CtrlOption> options,
List<OpRelation> opRelations)
单选配置选项,并关联选项
|
static SelectorConfig |
single(String externalUrl)
单选关联外部选项,此时手动配置和关联控件失效
|
private final SelectorConfig.Wrapper selector
SelectorConfig(SelectorConfig.Wrapper selector)
selector - the selectorpublic static SelectorConfig single(List<CtrlOption> options)
options - the optionspublic static SelectorConfig single(List<CtrlOption> options, List<OpRelation> opRelations)
options - the optionsopRelations - the op relationspublic static SelectorConfig single(String externalUrl)
配置后,点击控件将跳转至该页面externalUrl进行选择,相关文档
externalUrl - the external urlpublic static SelectorConfig multiple(List<CtrlOption> options)
options - the optionspublic static SelectorConfig multiple(List<CtrlOption> options, List<OpRelation> opRelations)
options - the optionsopRelations - the op relationspublic static SelectorConfig multiple(String externalUrl)
配置后,点击控件将跳转至该页面externalUrl进行选择,相关文档
externalUrl - the external urlpublic SelectorValue fromKey(List<String> keys)
keys - the keysCopyright © 2025. All rights reserved.