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 Object
implements EditorRenderer<MultiReferenceEditorLogic<D,V>,D>
Default renderer for the item detail section.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRender(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, waitMethods inherited from interface de.hybris.platform.adaptivesearchbackoffice.editors.EditorRenderer
beforeRender
-
Constructor Details
-
DefaultAsMultiReferenceItemDetailRenderer
public DefaultAsMultiReferenceItemDetailRenderer()
-
-
Method Details
-
isEnabled
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
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
-