public class SelectType extends Object implements SingleFieldType
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectType.SelectInputEntry |
static class |
SelectType.SelectInputEntryGroup |
| Modifier and Type | Field and Description |
|---|---|
List<SelectType.SelectInputEntry> |
entries |
List<SelectType.SelectInputEntryGroup> |
groups |
OneValueTypeProcessor |
oneValueType |
| Constructor and Description |
|---|
SelectType(String name,
List<SelectType.SelectInputEntryGroup> groups,
String initialValue) |
SelectType(String name,
String initialValue,
List<SelectType.SelectInputEntry> entries) |
SelectType(String name,
String initialValue,
String[] keys,
String[] values) |
| Modifier and Type | Method and Description |
|---|---|
FieldResult |
apply(Env.EnvWithSubmitInfo env) |
SelectType.SelectInputEntry |
generateEntry(String key,
String value) |
List<SelectType.SelectInputEntry> |
getSelectListWithSelected(String selectedKey) |
String |
toString() |
public final List<SelectType.SelectInputEntry> entries
public final OneValueTypeProcessor oneValueType
public final List<SelectType.SelectInputEntryGroup> groups
public SelectType(String name, String initialValue, List<SelectType.SelectInputEntry> entries)
public SelectType(String name, List<SelectType.SelectInputEntryGroup> groups, String initialValue)
public FieldResult apply(Env.EnvWithSubmitInfo env)
apply in interface SingleFieldTypepublic SelectType.SelectInputEntry generateEntry(String key, String value)
public List<SelectType.SelectInputEntry> getSelectListWithSelected(String selectedKey)
Copyright © 2019. All rights reserved.