Class MapUIEditorRowRenderer
java.lang.Object
de.hybris.platform.cockpit.model.editor.impl.MapUIEditorRowRenderer
- All Implemented Interfaces:
org.zkoss.zul.ListitemRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.zkoss.zul.ListcellcreateListCell(org.zkoss.zk.ui.Component editorView, org.zkoss.zul.Image image) protected org.zkoss.zul.ImagecreateRemoveImage(org.zkoss.zul.Listitem itemRow) protected AttributeDescriptorModelgetAttributeDescriptor(PropertyDescriptor propertyDescriptor) protected ListgetAvailableValues(TypeModel type) protected PropertyEditorDescriptorprotected PropertyEditorDescriptorvoidinit(MapUIEditor mapUIEditor, Map<String, ? extends Object> parameters, EditorListener listener, org.zkoss.zul.Listbox listBox) protected EditorListenerkeyListener(org.zkoss.zul.Listitem itemRow) voidprotected <T> Map<T,T> replaceKey(int index, T newKey, Map<T, T> map) protected <T> Map<T,T> replaceValue(int index, T newValue, Map<T, T> map) protected booleanvalueIsEmpty(Object value) protected EditorListenervalueListener(org.zkoss.zul.Listitem itemRow) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zkoss.zul.ListitemRenderer
render
-
Field Details
-
BEAN_ID
- See Also:
-
-
Constructor Details
-
MapUIEditorRowRenderer
public MapUIEditorRowRenderer()
-
-
Method Details
-
init
public void init(MapUIEditor mapUIEditor, Map<String, ? extends Object> parameters, EditorListener listener, org.zkoss.zul.Listbox listBox) -
render
- Throws:
Exception
-
getKeyPropertyEditorDescriptor
-
getValuePropertyEditorDescriptor
-
getAvailableValues
-
getAttributeDescriptor
-
createRemoveImage
protected org.zkoss.zul.Image createRemoveImage(org.zkoss.zul.Listitem itemRow) -
keyListener
-
valueListener
-
replaceKey
- Returns:
- new map with all values of given map but key at given index is replaced by given newKey.
-
replaceValue
- Returns:
- new map with all values of given map but value at given index is replaced by given newValue.
-
valueIsEmpty
-
createListCell
protected org.zkoss.zul.Listcell createListCell(org.zkoss.zk.ui.Component editorView, org.zkoss.zul.Image image)
-