public class MapUIEditor extends GenericCollectionUIEditor
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv_100PERCENT, CELLPADDING, CELLSPACING, HEIGHT, SINGLE_VALUE_EDITOR_CODE, WIDTHATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAMINITIAL_EDIT_STRING| Constructor and Description |
|---|
MapUIEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected ListitemRenderer |
createCollectionItemListRenderer(Map<String,? extends Object> parameters,
EditorListener listener) |
void |
createEmptyRow(ListModelMap listmodel)
Adds null-null entry if map is missing such.
|
protected ListitemRenderer |
createListItemRenderer(Map<String,? extends Object> parameters,
EditorListener listener,
Listbox listBox) |
HtmlBasedComponent |
createViewComponent(Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
Creates a new editor component and attaches it to the specified
Page page. |
List<? extends Object> |
getAvailableValues() |
String |
getEditorType() |
boolean |
isInline()
Returns whether this editor is an inline editor or not.
|
void |
setAvailableValues(List<? extends Object> availableValues) |
createNewCollectionValuesList, createSingleValueEditor, getSingleValueEditorDescriptor, setSingleValueEditorDescriptor, updateCollectionItemsapplyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setFocus, setOptional, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValue, isEditable, isOptional, setEditable, setFocus, setOptional, setValuepublic HtmlBasedComponent createViewComponent(Object initialValue, Map<String,? extends Object> parameters, EditorListener listener)
UIEditorPage page.createViewComponent in interface UIEditorcreateViewComponent in class GenericCollectionUIEditorinitialValue - editor's initial valueparameters - parameters passed via configuration for particular editorlistener - the EditorListener that will receive events when the editor's value is changedprotected ListitemRenderer createCollectionItemListRenderer(Map<String,? extends Object> parameters, EditorListener listener)
createCollectionItemListRenderer in class GenericCollectionUIEditorprotected ListitemRenderer createListItemRenderer(Map<String,? extends Object> parameters, EditorListener listener, Listbox listBox)
public boolean isInline()
UIEditorisInline in interface UIEditorisInline in class GenericCollectionUIEditorpublic String getEditorType()
getEditorType in interface UIEditorgetEditorType in class GenericCollectionUIEditorpublic List<? extends Object> getAvailableValues()
getAvailableValues in interface ListUIEditorgetAvailableValues in class GenericCollectionUIEditorpublic void setAvailableValues(List<? extends Object> availableValues)
setAvailableValues in interface ListUIEditorsetAvailableValues in class GenericCollectionUIEditorpublic void createEmptyRow(ListModelMap listmodel)
Copyright © 2017 SAP SE. All Rights Reserved.