Class AbstractDrillableSelectorSection
java.lang.Object
de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
de.hybris.platform.cockpit.components.navigationarea.AbstractDrillableSelectorSection
- All Implemented Interfaces:
DrillableSelectorSection,SectionSelectorSection,SelectorSection,Section,CockpitEventAcceptor
- Direct Known Subclasses:
CategoryDrillableSelectorSection
public class AbstractDrillableSelectorSection
extends DefaultSectionSelectorSection
implements DrillableSelectorSection
-
Field Summary
FieldsFields inherited from class de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
multiselect, parentSection, relatedObject, relatedObjects, subSectionsFields inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
selectedItems -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendAsLastElement(TypedObject element) Appends given object as a last elementvoidclear()Clears current sectionintReturns current levelvoiddisable()Disabling current sectionintReturns how many levels should be displayedReturns last elementvoidRemove last elementvoidsetDrilldownLevel(int drilldownLevel) Sets how many levels should be displayedMethods inherited from class de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
addToRelatedObjects, disableSubSections, enable, enableSubSections, getParentSection, getRelatedObject, getRelatedObjects, getRootSection, getSubSections, isMultiselect, isSubSectionsVisible, refreshView, removeToRelatedObjects, selectionChanged, setMultiselect, setParentSection, setRelatedObject, setRelatedObjects, setSubSections, updateItemsMethods 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.SectionSelectorSection
enable, getParentSection, getRelatedObject, getSubSections, isMultiselect, isSubSectionsVisible, refreshView, setParentSection, setRelatedObject, setSubSectionsMethods inherited from interface de.hybris.platform.cockpit.components.navigationarea.SelectorSection
getItems, getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, selectionChanged, setInitiallySelected, setItems, setMultiple, setSelectedItem, setSelectedItems, setSelectedItemsDirectly
-
Field Details
-
drillableElements
-
drilldownLevel
protected int drilldownLevel
-
-
Constructor Details
-
AbstractDrillableSelectorSection
public AbstractDrillableSelectorSection()
-
-
Method Details
-
getLastElement
Description copied from interface:DrillableSelectorSectionReturns last element- Specified by:
getLastElementin interfaceDrillableSelectorSection- Returns:
- last element
-
appendAsLastElement
Description copied from interface:DrillableSelectorSectionAppends given object as a last element- Specified by:
appendAsLastElementin interfaceDrillableSelectorSection- Parameters:
element- - given object
-
removeLastElement
public void removeLastElement()Description copied from interface:DrillableSelectorSectionRemove last element- Specified by:
removeLastElementin interfaceDrillableSelectorSection
-
disable
public void disable()Description copied from interface:SectionSelectorSectionDisabling current section- Specified by:
disablein interfaceSectionSelectorSection- Overrides:
disablein classDefaultSectionSelectorSection
-
clear
public void clear()Description copied from interface:SectionSelectorSectionClears current section- Specified by:
clearin interfaceSectionSelectorSection- Overrides:
clearin classDefaultSectionSelectorSection
-
getDrilldownLevel
public int getDrilldownLevel()Description copied from interface:DrillableSelectorSectionReturns how many levels should be displayed- Specified by:
getDrilldownLevelin interfaceDrillableSelectorSection- Returns:
- - how many levels
-
setDrilldownLevel
public void setDrilldownLevel(int drilldownLevel) Description copied from interface:DrillableSelectorSectionSets how many levels should be displayed- Specified by:
setDrilldownLevelin interfaceDrillableSelectorSection- Parameters:
drilldownLevel- - how many levels
-
currentLevel
public int currentLevel()Description copied from interface:DrillableSelectorSectionReturns current level- Specified by:
currentLevelin interfaceDrillableSelectorSection- Returns:
- current level
-