public class ProductSearchProductDetailRenderer extends Object implements WidgetDetailRenderer<TypedObject,Widget>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProductSearchProductDetailRenderer.Context |
static class |
ProductSearchProductDetailRenderer.NullTableModel |
protected class |
ProductSearchProductDetailRenderer.ShowProductEventListener |
static class |
ProductSearchProductDetailRenderer.SingleValueTableModel |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CSS_BLUE_LINK |
protected static String |
CSS_GROUP_LABEL |
protected static String |
CSS_PRODUCT_LINK |
| Constructor and Description |
|---|
ProductSearchProductDetailRenderer() |
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createContent(Object context,
TypedObject item,
Widget widget)
Create the content for the detail renderer.
|
ProductSearchProductDetailRenderer.Context |
createContext()
Create the context object that is passed back into the createContent calls.
|
protected EventListener |
createShowProductEventListener(TypedObject item,
Widget widget) |
protected TableModel |
createSingleValueTableModel(Object value) |
protected String |
getConfigurationCode() |
protected String |
getProductUrl(TypedObject item,
Widget widget) |
protected UrlStrategy<TypedObject> |
getUrlStrategy() |
protected void |
handleShowProductEvent(Event event,
TypedObject item,
Widget widget) |
void |
setConfigurationCode(String configurationCode) |
void |
setUrlStrategy(UrlStrategy<TypedObject> urlStrategy) |
protected static final String CSS_GROUP_LABEL
protected static final String CSS_PRODUCT_LINK
protected static final String CSS_BLUE_LINK
protected String getConfigurationCode()
public void setConfigurationCode(String configurationCode)
protected UrlStrategy<TypedObject> getUrlStrategy()
public void setUrlStrategy(UrlStrategy<TypedObject> urlStrategy)
public ProductSearchProductDetailRenderer.Context createContext()
WidgetDetailRenderercreateContext in interface WidgetDetailRenderer<TypedObject,Widget>public HtmlBasedComponent createContent(Object context, TypedObject item, Widget widget)
WidgetDetailRenderercreateContent in interface WidgetDetailRenderer<TypedObject,Widget>context - the context objectitem - the item to renderwidget - the widgetprotected String getProductUrl(TypedObject item, Widget widget)
widget - item - protected EventListener createShowProductEventListener(TypedObject item, Widget widget)
protected void handleShowProductEvent(Event event,
TypedObject item,
Widget widget)
protected TableModel createSingleValueTableModel(Object value)
Copyright © 2017 SAP SE. All Rights Reserved.