Class ExternalTaxesSectionRenderer
- java.lang.Object
-
- de.hybris.platform.yacceleratorcockpits.productcockpit.editor.ExternalTaxesSectionRenderer
-
- All Implemented Interfaces:
SectionRenderer
public class ExternalTaxesSectionRenderer extends java.lang.Object implements SectionRenderer
Render for custom section with external tax product is configured byExternalTaxesSectionConfiguration.- Spring Bean ID:
- externalTaxSectionRenderer
-
-
Constructor Summary
Constructors Constructor Description ExternalTaxesSectionRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconstructHbox(SectionPanel panel, org.zkoss.zul.Div mainCnt, ExternalTaxesSectionConfiguration secConfig)protected org.zkoss.zul.DivcreateExternalTaxesEditor(ProductModel product)Creates a special editor with custom editor listener.ProductTaxCodeServicegetProductTaxCodeService()protected SystemServicegetSystemService()protected java.util.Collection<TypedObject>getTaxCodeForProduct(ProductModel product)TypeServicegetTypeService()voidrender(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)voidsetProductTaxCodeService(ProductTaxCodeService productTaxCodeService)voidsetSystemService(SystemService systemService)voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
getProductTaxCodeService
public ProductTaxCodeService getProductTaxCodeService()
-
setProductTaxCodeService
public void setProductTaxCodeService(ProductTaxCodeService productTaxCodeService)
-
render
public void render(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)
- Specified by:
renderin interfaceSectionRenderer
-
constructHbox
protected void constructHbox(SectionPanel panel, org.zkoss.zul.Div mainCnt, ExternalTaxesSectionConfiguration secConfig)
-
createExternalTaxesEditor
protected org.zkoss.zul.Div createExternalTaxesEditor(ProductModel product)
Creates a special editor with custom editor listener.
-
getTaxCodeForProduct
protected java.util.Collection<TypedObject> getTaxCodeForProduct(ProductModel product)
-
setTypeService
public void setTypeService(TypeService typeService)
-
getTypeService
public TypeService getTypeService()
-
setSystemService
public void setSystemService(SystemService systemService)
-
getSystemService
protected SystemService getSystemService()
-
-