public class CompareView extends Div implements EditableComponent
| Modifier and Type | Class and Description |
|---|---|
class |
CompareView.CompareGroupbox |
class |
CompareView.CompareLocalizedAttributeDiv |
class |
CompareView.CompareRowComponent |
static interface |
CompareView.CompareViewListener |
class |
CompareView.NewReferenceItemActionEventListener
Code taken from ContextAreaReferenceCollectionUIEditor.NewReferenceItemActionEventListener and then adapted
|
static interface |
CompareView.OpenChangeListener |
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Object> |
editedObjectCollection |
protected PropertyDescriptor |
propertyDescriptor |
protected TypedObject |
rootObject |
protected SearchType |
rootType |
| Constructor and Description |
|---|
CompareView(TypedObject sourceObject,
List<TypedObject> allItems,
Map<PropertyDescriptor,PropertyComparisonInfo> comparedAttributes,
CompareView.CompareViewListener listener) |
protected TypedObject rootObject
protected SearchType rootType
protected PropertyDescriptor propertyDescriptor
protected Collection<Object> editedObjectCollection
public CompareView(TypedObject sourceObject, List<TypedObject> allItems, Map<PropertyDescriptor,PropertyComparisonInfo> comparedAttributes, CompareView.CompareViewListener listener)
public void setWidth(String width)
public void initialize()
protected void render()
public void stopEditing()
stopEditing in interface EditableComponentprotected void renderActions(Component parent,
TypedObject item)
public void update()
public TypedObject getReferenceObject()
public Map<PropertyDescriptor,PropertyComparisonInfo> getComparedAttributes()
public void setReferenceObject(TypedObject referenceObject)
protected List<TypedObject> getAllItems()
public void setItems(List<TypedObject> items)
public void setComparedAttributes(Map<PropertyDescriptor,PropertyComparisonInfo> comparedAttributes)
public void setConfiguration(EditorConfiguration configuration)
public EditorConfiguration getConfiguration()
protected void fireValueChanged(ObjectValuePair value)
protected void fireReferenceItemChanged(TypedObject item)
protected void fireItemDropped(TypedObject dragged, TypedObject target)
protected void fireItemRemoved(TypedObject item)
public void setListener(CompareView.CompareViewListener listener)
public boolean isEditing()
isEditing in interface EditableComponentpublic void validate(ObjectValuePair valueInfo, PropertyDescriptor propertyDescriptor, UIEditor uiEditor, Object value, Div editorContainer, Set<String> forceWritePks)
protected void activateItemInPopupEditor(TypedObject item)
Copyright © 2017 SAP SE. All Rights Reserved.