Class DefaultSectionSelectorSection
java.lang.Object
de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
- All Implemented Interfaces:
SectionSelectorSection,SelectorSection,Section,CockpitEventAcceptor
- Direct Known Subclasses:
AbstractDrillableSelectorSection,CatalogVersionSectionSelectorSection,CategorySectionSelectorSection,LiveCatalogVersionSectionSelectorSection,LiveSiteSectionSelectorSection,SiteSectionSelectorSection,WebsiteCatalogVersionSelectorSection,WebsitesSelectorSection
public class DefaultSectionSelectorSection
extends AbstractSelectorSection
implements SectionSelectorSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected SectionSelectorSectionprotected TypedObjectprotected List<TypedObject>protected List<SectionSelectorSection>Fields inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
selectedItems -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToRelatedObjects(TypedObject relatedObject) voidclear()Clears current sectionvoiddisable()Disabling current sectionvoidvoidenable()Enabling current sectionvoidReturns parent sectionReturns related object with current sectionprotected SectionSelectorSectionReturns sub sections defined for current sectionbooleanIs multi select possiblebooleanChecks whether sub sections are visiblevoidRefreshes current sectionvoidremoveToRelatedObjects(TypedObject relatedObject) voidCalled whenever this selector's selection has changed.voidsetMultiselect(boolean multiselect) voidsetParentSection(SectionSelectorSection parentSection) Sets parent sectionvoidsetRelatedObject(TypedObject relatdObject) Sets related object for current sectionvoidsetRelatedObjects(List<TypedObject> relatedObjects) voidsetSubSections(List<SectionSelectorSection> subSections) Sets sub sections for current sectionvoidMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
getItems, getNavigationAreaModel, getRenderer, getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, onCockpitEvent, setInitiallySelected, setItems, setMultiple, setNavigationAreaModel, setSelectedItem, setSelectedItems, setSelectedItemsDirectly, wrapItemsMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
getAttribute, getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setAttribute, setLabel, setLocalizedLabel, setOpen, setRenderer, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.components.sectionpanel.Section
getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setOpenMethods inherited from interface de.hybris.platform.cockpit.components.navigationarea.SelectorSection
getItems, getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, setInitiallySelected, setItems, setMultiple, setSelectedItem, setSelectedItems, setSelectedItemsDirectly
-
Field Details
-
subSections
-
parentSection
-
multiselect
protected boolean multiselect
-
-
Constructor Details
-
DefaultSectionSelectorSection
public DefaultSectionSelectorSection()
-
-
Method Details
-
addToRelatedObjects
-
clear
public void clear()Description copied from interface:SectionSelectorSectionClears current section- Specified by:
clearin interfaceSectionSelectorSection
-
disable
public void disable()Description copied from interface:SectionSelectorSectionDisabling current section- Specified by:
disablein interfaceSectionSelectorSection
-
updateItems
public void updateItems() -
disableSubSections
public void disableSubSections() -
enable
public void enable()Description copied from interface:SectionSelectorSectionEnabling current section- Specified by:
enablein interfaceSectionSelectorSection
-
enableSubSections
public void enableSubSections() -
getParentSection
Description copied from interface:SectionSelectorSectionReturns parent section- Specified by:
getParentSectionin interfaceSectionSelectorSection- Returns:
- parent section
-
getRelatedObject
Description copied from interface:SectionSelectorSectionReturns related object with current section- Specified by:
getRelatedObjectin interfaceSectionSelectorSection- Returns:
- related object
-
getRelatedObjects
-
getRootSection
-
getSubSections
Description copied from interface:SectionSelectorSectionReturns sub sections defined for current section- Specified by:
getSubSectionsin interfaceSectionSelectorSection- Returns:
- sub sections
-
isMultiselect
public boolean isMultiselect()Description copied from interface:SectionSelectorSectionIs multi select possible- Specified by:
isMultiselectin interfaceSectionSelectorSection
-
isSubSectionsVisible
public boolean isSubSectionsVisible()Description copied from interface:SectionSelectorSectionChecks whether sub sections are visible- Specified by:
isSubSectionsVisiblein interfaceSectionSelectorSection- Returns:
- flag indicate whether sub sections are visible
-
refreshView
public void refreshView()Description copied from interface:SectionSelectorSectionRefreshes current section- Specified by:
refreshViewin interfaceSectionSelectorSection
-
removeToRelatedObjects
-
selectionChanged
public void selectionChanged()Description copied from interface:SelectorSectionCalled whenever this selector's selection has changed.- Specified by:
selectionChangedin interfaceSelectorSection- Specified by:
selectionChangedin classAbstractSelectorSection
-
setMultiselect
public void setMultiselect(boolean multiselect) -
setRelatedObject
Description copied from interface:SectionSelectorSectionSets related object for current section- Specified by:
setRelatedObjectin interfaceSectionSelectorSection- Parameters:
relatdObject- - related object
-
setRelatedObjects
-
setSubSections
Description copied from interface:SectionSelectorSectionSets sub sections for current section- Specified by:
setSubSectionsin interfaceSectionSelectorSection- Parameters:
subSections- - sub sections list
-