public class DefaultProductPriceCellRenderer extends Object implements CellRenderer
| Constructor and Description |
|---|
DefaultProductPriceCellRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getBasePrice(ProductModel pm) |
protected String |
getProductNamesShortened(Collection<TypedObject> associatedProducts) |
protected TypeService |
getTypeService() |
void |
render(TableModel model,
int colIndex,
int rowIndex,
Component parent)
Renders the cell content of the cell at position (
colIndex, rowIndex). |
public void render(TableModel model, int colIndex, int rowIndex, Component parent)
CellRenderercolIndex, rowIndex).render in interface CellRenderermodel - the underlying table model containing information about the cell that is to be renderedcolIndex - zero based column index of the cell to be renderedrowIndex - zero based row index of the cell to be renderedparent - the parent component that will contain the view components created by the rendererprotected String getProductNamesShortened(Collection<TypedObject> associatedProducts)
protected String getBasePrice(ProductModel pm)
protected TypeService getTypeService()
Copyright © 2017 SAP SE. All Rights Reserved.