public interface MultiReferenceEditorLogic<D extends AbstractEditorData,V> extends EditorLogic<java.util.Collection<V>>
| Modifier and Type | Method and Description |
|---|---|
Editor |
findEditor(Component component)
Finds the nearest editor component.
|
Component |
findEditorItem(Component component)
Finds the nearest editor item component.
|
java.util.Collection<java.lang.String> |
getColumns()
Returns the columns.
|
java.lang.String |
getContext()
Returns the editor context.
|
DataHandler<D,V> |
getDataHandler()
Returns the data handler.
|
java.util.Collection<java.lang.String> |
getEditableColumns()
Returns the editable columns.
|
EditorRenderer |
getItemDetailRenderer()
Returns the renderer for the item detail section.
|
EditorRenderer |
getItemMasterRenderer()
Returns the renderer for the item master section.
|
<any> |
getListModel()
Returns the list model.
|
boolean |
isOpen(Component component)
Returns whether the given component is open.
|
boolean |
isSortable()
Returns whether the editor items can be sorted.
|
void |
setOpen(Component component,
boolean open)
Changes the open status of a component.
|
void |
triggerCreateReference()
Triggers the creation of a new item.
|
void |
triggerUpdateReference(D data)
Triggers the update of an existing item.
|
void |
updateAttributeValue(D data,
java.lang.String attributeName,
java.lang.Object attributeValue)
Updates the value of an item attribute.
|
void |
updateValue(java.util.Collection<V> value)
Updates the value of the editor.
|
getEditorContext, getEditorListener, getWidgetInstanceManagerjava.lang.String getContext()
boolean isSortable()
true if the editor items can be sorted, false otherwisejava.util.Collection<java.lang.String> getColumns()
java.util.Collection<java.lang.String> getEditableColumns()
DataHandler<D,V> getDataHandler()
<any> getListModel()
EditorRenderer getItemMasterRenderer()
EditorRenderer getItemDetailRenderer()
boolean isOpen(Component component)
component - - the componenttrue if the component is open, false otherwisevoid setOpen(Component component,
boolean open)
component - - the componentopen - - the new open statusEditor findEditor(Component component)
null if it could not be foundComponent findEditorItem(Component component)
null if it could not be foundvoid updateValue(java.util.Collection<V> value)
value - - the valuevoid updateAttributeValue(D data, java.lang.String attributeName, java.lang.Object attributeValue)
data - - the item dataattributeName - - the attribute nameattributeValue - - the attribute valuevoid triggerCreateReference()
void triggerUpdateReference(D data)
data - - the item dataCopyright © 2018 SAP SE. All Rights Reserved.