public class ConfigurableDropdownEditor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_BEAN_TYPE |
static String |
ATTR_NAMES_PROVIDER |
static String |
ATTR_PLACEHOLDER |
static String |
ATTR_VALUES_PROVIDER |
static String |
EMPTY_LABEL |
static Object |
EMPTY_OPTION |
static String |
TO_LOWER_CASE_OPTION |
| Constructor and Description |
|---|
ConfigurableDropdownEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected ListModel |
createComboModelWithSelection(List<Object> data,
Object initValue) |
protected ComboitemRenderer |
createComboRenderer(DropdownNamesProvider dropdownProvider,
String placeholderKey,
Map<String,String> options) |
protected EventListener |
createOnChangeHandler(EditorListener editorListener) |
protected String |
getDataName(Object data) |
protected Map<String,String> |
getDropdownOptions(String drodownOptions) |
protected List<Object> |
getValues(String dropDownValuesProvider,
String dropDownValueClassTypes,
Map<String,String> options) |
void |
render(Component parent,
<any> context,
<any> listener) |
public static final Object EMPTY_OPTION
public static final String ATTR_BEAN_TYPE
public static final String ATTR_VALUES_PROVIDER
public static final String ATTR_NAMES_PROVIDER
public static final String ATTR_PLACEHOLDER
public static final String TO_LOWER_CASE_OPTION
public static final String EMPTY_LABEL
public void render(Component parent,
<any> context,
<any> listener)
protected List<Object> getValues(String dropDownValuesProvider, String dropDownValueClassTypes, Map<String,String> options)
protected EventListener createOnChangeHandler(EditorListener editorListener)
protected ComboitemRenderer createComboRenderer(DropdownNamesProvider dropdownProvider, String placeholderKey, Map<String,String> options)
protected ListModel createComboModelWithSelection(List<Object> data, Object initValue)
Copyright © 2017 SAP SE. All Rights Reserved.