Class DefaultSectionSelectorSectionRenderer
- java.lang.Object
-
- de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
-
- de.hybris.platform.cockpit.components.navigationarea.renderer.DefaultSelectorSectionRenderer
-
- de.hybris.platform.cockpit.components.navigationarea.renderer.DefaultSectionSelectorSectionRenderer
-
- All Implemented Interfaces:
SectionRenderer
- Direct Known Subclasses:
DefaultDrillableSelectorSectionRenderer
public class DefaultSectionSelectorSectionRenderer extends DefaultSelectorSectionRenderer
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringON_DEMAND_ATTRprotected static java.lang.StringSELECTOR_SECTION_ITEM_SCLASSprotected static java.lang.StringSELECTOR_SECTION_SCLASS-
Fields inherited from class de.hybris.platform.cockpit.components.navigationarea.renderer.DefaultSelectorSectionRenderer
EMPTY_MESSAGE, lastSection, SELECTOR_ACTIVE_ITEM_SCLASS, SELECTOR_ITEM_SCLASS, SELECTOR_SCLASS
-
-
Constructor Summary
Constructors Constructor Description DefaultSectionSelectorSectionRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.zkoss.zul.ListboxgetListboxComponent()protected DefaultSectionSelectorSectiongetSection()Returns the last section which this renderer rendered.protected voidloadCaptionComponent(org.zkoss.zk.ui.Component parent)Loads custom section caption componentsvoidrender(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)protected voidrenderSubsections(org.zkoss.zk.ui.api.HtmlBasedComponent parent, TypedObject value)-
Methods inherited from class de.hybris.platform.cockpit.components.navigationarea.renderer.DefaultSelectorSectionRenderer
extractSelectedItems, getListRenderer, setListRenderer
-
Methods inherited from class de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
createBrowserItemTooltip, createList, getNavigationArea, getSectionPanelModel, setNavigationArea
-
-
-
-
Field Detail
-
ON_DEMAND_ATTR
protected static final java.lang.String ON_DEMAND_ATTR
- See Also:
- Constant Field Values
-
SELECTOR_SECTION_SCLASS
protected static final java.lang.String SELECTOR_SECTION_SCLASS
- See Also:
- Constant Field Values
-
SELECTOR_SECTION_ITEM_SCLASS
protected static final java.lang.String SELECTOR_SECTION_ITEM_SCLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
render
public void render(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)
- Specified by:
renderin interfaceSectionRenderer- Overrides:
renderin classDefaultSelectorSectionRenderer
-
getListboxComponent
protected org.zkoss.zul.Listbox getListboxComponent()
-
renderSubsections
protected void renderSubsections(org.zkoss.zk.ui.api.HtmlBasedComponent parent, TypedObject value)
-
getSection
protected DefaultSectionSelectorSection getSection()
Description copied from class:DefaultSelectorSectionRendererReturns the last section which this renderer rendered.- Overrides:
getSectionin classDefaultSelectorSectionRenderer- Returns:
- the last section
-
loadCaptionComponent
protected void loadCaptionComponent(org.zkoss.zk.ui.Component parent)
Loads custom section caption components Note:
Actually within this method we do nothing but we can easily override its within sub class in order to deliver custom caption component- Parameters:
parent- parent caption component
-
-