java.lang.Object
de.hybris.platform.configurablebundlecockpits.productcockpit.model.listview.impl.DefaultProductPriceCellRenderer
All Implemented Interfaces:
CellRenderer

public class DefaultProductPriceCellRenderer extends Object implements CellRenderer
Simple cell renderer that renders a string representation of the value of interest.
  • Constructor Details

    • DefaultProductPriceCellRenderer

      public DefaultProductPriceCellRenderer()
  • Method Details

    • render

      public void render(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
      Description copied from interface: CellRenderer
      Renders the cell content of the cell at position (colIndex, rowIndex).
      Specified by:
      render in interface CellRenderer
      Parameters:
      model - the underlying table model containing information about the cell that is to be rendered
      colIndex - zero based column index of the cell to be rendered
      rowIndex - zero based row index of the cell to be rendered
      parent - the parent component that will contain the view components created by the renderer
    • getProductNamesShortened

      protected String getProductNamesShortened(Collection<TypedObject> associatedProducts)
    • getBasePrice

      protected String getBasePrice(ProductModel pm)
    • getTypeService

      protected TypeService getTypeService()