D - - the type of the item dataV - - the type of the item valuepublic class DefaultAsMultiReferenceItemDetailRenderer<D extends AbstractEditorData,V> extends java.lang.Object implements EditorRenderer<MultiReferenceEditorLogic<D,V>,D>
| Constructor and Description |
|---|
DefaultAsMultiReferenceItemDetailRenderer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRender(MultiReferenceEditorLogic<D,V> logic,
Component parent,
D data)
Checks if a specific item can be rendered.
|
boolean |
isEnabled(MultiReferenceEditorLogic<D,V> logic)
Checks if this renderer is enabled for a specific context.
|
void |
render(MultiReferenceEditorLogic<D,V> logic,
Component parent,
D data)
Creates a new editor item component and attaches it to the specified parent component.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeforeRenderpublic DefaultAsMultiReferenceItemDetailRenderer()
public boolean isEnabled(MultiReferenceEditorLogic<D,V> logic)
EditorRendererisEnabled in interface EditorRenderer<MultiReferenceEditorLogic<D extends AbstractEditorData,V>,D extends AbstractEditorData>logic - - the editor logictrue if the renderer is enabled, false otherwisepublic boolean canRender(MultiReferenceEditorLogic<D,V> logic, Component parent, D data)
EditorRenderercanRender in interface EditorRenderer<MultiReferenceEditorLogic<D extends AbstractEditorData,V>,D extends AbstractEditorData>logic - - the editor logicparent - - the parent componentdata - - the item datatrue if the item can be rendered, false otherwisepublic void render(MultiReferenceEditorLogic<D,V> logic, Component parent, D data)
EditorRendererrender in interface EditorRenderer<MultiReferenceEditorLogic<D extends AbstractEditorData,V>,D extends AbstractEditorData>logic - - the editor logicparent - - the parent componentdata - - the item dataCopyright © 2018 SAP SE. All Rights Reserved.