Class DefaultSectionPanelRenderer
- java.lang.Object
-
- de.hybris.platform.productcockpit.components.sectionpanel.DefaultSectionPanelRenderer
-
- All Implemented Interfaces:
SectionPanelLabelRenderer
public class DefaultSectionPanelRenderer extends java.lang.Object implements SectionPanelLabelRenderer
-
-
Constructor Summary
Constructors Constructor Description DefaultSectionPanelRenderer(UIEditorArea editorArea)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionColumnConfigurationgetActionConfiguration(GridViewConfiguration config)TypedObjectgetCurrentObject()protected UIEditorAreagetEditorArea()ActionColumnConfigurationgetStatusConfiguration(GridViewConfiguration config)voidrender(java.lang.String label, java.lang.String imageUrl, org.zkoss.zk.ui.Component parent)protected voidrenderActions(org.zkoss.zk.ui.Component parent, TypedObject item)Render actions related iconsprotected voidrenderStatus(org.zkoss.zk.ui.Component parent, TypedObject item)voidsetCurrentObject(TypedObject currentObject)
-
-
-
Constructor Detail
-
DefaultSectionPanelRenderer
public DefaultSectionPanelRenderer(UIEditorArea editorArea)
-
-
Method Detail
-
render
public void render(java.lang.String label, java.lang.String imageUrl, org.zkoss.zk.ui.Component parent)- Specified by:
renderin interfaceSectionPanelLabelRenderer
-
renderActions
protected void renderActions(org.zkoss.zk.ui.Component parent, TypedObject item)Render actions related icons- Parameters:
parent-item-
-
renderStatus
protected void renderStatus(org.zkoss.zk.ui.Component parent, TypedObject item)
-
getActionConfiguration
public ActionColumnConfiguration getActionConfiguration(GridViewConfiguration config)
-
getStatusConfiguration
public ActionColumnConfiguration getStatusConfiguration(GridViewConfiguration config)
-
getEditorArea
protected UIEditorArea getEditorArea()
-
getCurrentObject
public TypedObject getCurrentObject()
- Returns:
- the currentObject
-
setCurrentObject
public void setCurrentObject(TypedObject currentObject)
- Parameters:
currentObject- the currentObject to set
-
-