Class ExternalTaxesSectionRenderer
java.lang.Object
de.hybris.platform.yacceleratorcockpits.productcockpit.editor.ExternalTaxesSectionRenderer
- All Implemented Interfaces:
SectionRenderer
Render for custom section with external tax product is configured by
ExternalTaxesSectionConfiguration.
- Spring Bean ID:
- externalTaxSectionRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.protected SystemServiceprotected Collection<TypedObject>getTaxCodeForProduct(ProductModel product) 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)
-
Constructor Details
-
ExternalTaxesSectionRenderer
public ExternalTaxesSectionRenderer()
-
-
Method Details
-
getProductTaxCodeService
-
setProductTaxCodeService
-
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
Creates a special editor with custom editor listener. -
getTaxCodeForProduct
-
setTypeService
-
getTypeService
-
setSystemService
-
getSystemService
-