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 ActionColumnConfiguration
getActionConfiguration(GridViewConfiguration config)
TypedObject
getCurrentObject()
protected UIEditorArea
getEditorArea()
ActionColumnConfiguration
getStatusConfiguration(GridViewConfiguration config)
void
render(java.lang.String label, java.lang.String imageUrl, org.zkoss.zk.ui.Component parent)
protected void
renderActions(org.zkoss.zk.ui.Component parent, TypedObject item)
Render actions related iconsprotected void
renderStatus(org.zkoss.zk.ui.Component parent, TypedObject item)
void
setCurrentObject(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:
render
in 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
-
-