public class OrderDetailsListRenderer extends AbstractConfigurableItemWidgetDetailRenderer<TypedObject,Widget>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
COCKPIT_ID_ORDER_DETAILS_ORDER_NUMBER |
protected static String |
CSS_OBJECT_CONTAINER_SUFFIX |
protected static String |
CSS_OBJECT_PREFIX |
protected static String |
CSS_ORDER_DETAIL_ROW |
protected static String |
CSS_ORDER_LABEL_TITLE |
protected static String |
CSS_ORDER_LABEL_VALUE |
CSS_PROPERTY_PREFIX| Constructor and Description |
|---|
OrderDetailsListRenderer() |
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createContent(Object context,
TypedObject item,
Widget widget)
Create the content for the detail renderer.
|
Object |
createContext()
Create the context object that is passed back into the createContent calls.
|
protected Label |
createLabel(String value,
String cssClass) |
protected Label |
createTitleLabel(String value) |
protected Label |
createValueLabel(String value) |
CustomerModelLabelProvider |
getCustomerModelLabelProvider() |
protected String |
getCustomerNameValue(UserModel user) |
protected EnumerationService |
getEnumerationService() |
protected void |
populateKnownDetails(Object context,
TypedObject item,
Widget widget,
Div detailContainer) |
protected void |
renderRow(Label label,
Label value,
HtmlBasedComponent parent) |
void |
setCustomerModelLabelProvider(CustomerModelLabelProvider customerModelLabelProvider) |
void |
setEnumerationService(EnumerationService enumerationService) |
getColumnConfigurations, getConfigurationCode, setConfigurationCodegetCockpitTypeService, getColumnConfigurations, getPropertyEditorHelper, getPropertyRendererHelper, getSystemService, populateDataRow, populateHeaderRow, setCockpitTypeService, setPropertyEditorHelper, setPropertyRendererHelper, setSystemServiceprotected static final String CSS_OBJECT_PREFIX
protected static final String CSS_OBJECT_CONTAINER_SUFFIX
protected static final String CSS_ORDER_DETAIL_ROW
protected static final String CSS_ORDER_LABEL_TITLE
protected static final String CSS_ORDER_LABEL_VALUE
protected static final String COCKPIT_ID_ORDER_DETAILS_ORDER_NUMBER
protected EnumerationService getEnumerationService()
public void setEnumerationService(EnumerationService enumerationService)
public CustomerModelLabelProvider getCustomerModelLabelProvider()
public void setCustomerModelLabelProvider(CustomerModelLabelProvider customerModelLabelProvider)
public Object createContext()
WidgetDetailRendererpublic HtmlBasedComponent createContent(Object context, TypedObject item, Widget widget)
WidgetDetailRenderercontext - the context objectitem - the item to renderwidget - the widgetprotected void populateKnownDetails(Object context, TypedObject item, Widget widget, Div detailContainer)
protected Label createTitleLabel(String value)
protected Label createValueLabel(String value)
protected void renderRow(Label label,
Label value,
HtmlBasedComponent parent)
Copyright © 2017 SAP SE. All Rights Reserved.