Class DefaultAsMultiReferenceItemDetailRenderer<D extends AbstractEditorData,V>
- java.lang.Object
-
- de.hybris.platform.adaptivesearchbackoffice.editors.configurablemultireference.DefaultAsMultiReferenceItemDetailRenderer<D,V>
-
- Type Parameters:
D- - the type of the item dataV- - the type of the item value
- All Implemented Interfaces:
EditorRenderer<MultiReferenceEditorLogic<D,V>,D>
public class DefaultAsMultiReferenceItemDetailRenderer<D extends AbstractEditorData,V> extends java.lang.Object implements EditorRenderer<MultiReferenceEditorLogic<D,V>,D>
Default renderer for the item detail section.
-
-
Constructor Summary
Constructors Constructor Description DefaultAsMultiReferenceItemDetailRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanRender(MultiReferenceEditorLogic<D,V> logic, org.zkoss.zk.ui.Component parent, D data)Checks if a specific item can be rendered.booleanisEnabled(MultiReferenceEditorLogic<D,V> logic)Checks if this renderer is enabled for a specific context.voidrender(MultiReferenceEditorLogic<D,V> logic, org.zkoss.zk.ui.Component parent, D data)Creates a new editor item component and attaches it to the specified parent component.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.adaptivesearchbackoffice.editors.EditorRenderer
beforeRender
-
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled(MultiReferenceEditorLogic<D,V> logic)
Description copied from interface:EditorRendererChecks if this renderer is enabled for a specific context.- Specified by:
isEnabledin interfaceEditorRenderer<D extends AbstractEditorData,V>- Parameters:
logic- - the editor logic- Returns:
trueif the renderer is enabled,falseotherwise
-
canRender
public boolean canRender(MultiReferenceEditorLogic<D,V> logic, org.zkoss.zk.ui.Component parent, D data)
Description copied from interface:EditorRendererChecks if a specific item can be rendered.- Specified by:
canRenderin interfaceEditorRenderer<D extends AbstractEditorData,V>- Parameters:
logic- - the editor logicparent- - the parent componentdata- - the item data- Returns:
trueif the item can be rendered,falseotherwise
-
render
public void render(MultiReferenceEditorLogic<D,V> logic, org.zkoss.zk.ui.Component parent, D data)
Description copied from interface:EditorRendererCreates a new editor item component and attaches it to the specified parent component.- Specified by:
renderin interfaceEditorRenderer<D extends AbstractEditorData,V>- Parameters:
logic- - the editor logicparent- - the parent componentdata- - the item data
-
-