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:
CatalogVersionSectionSelectorSectionRenderer,CategorySectionSelectorSectionRenderer,DefaultDrillableSelectorSectionRenderer,SiteSectionSelectorSectionRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final StringFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected org.zkoss.zul.Listboxprotected DefaultSectionSelectorSectionReturns 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, setListRendererMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
createBrowserItemTooltip, createList, getNavigationArea, getSectionPanelModel, setNavigationArea
-
Field Details
-
ON_DEMAND_ATTR
- See Also:
-
SELECTOR_SECTION_SCLASS
- See Also:
-
SELECTOR_SECTION_ITEM_SCLASS
- See Also:
-
-
Constructor Details
-
DefaultSectionSelectorSectionRenderer
public DefaultSectionSelectorSectionRenderer()
-
-
Method Details
-
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
-
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
-