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
Fields Modifier and Type Field Description protected java.util.Stack<TypedObject>drillableElementsprotected intdrilldownLevel-
Fields inherited from class de.hybris.platform.cockpit.components.navigationarea.DefaultSectionSelectorSection
multiselect, parentSection, relatedObject, relatedObjects, subSections
-
Fields inherited from class de.hybris.platform.cockpit.components.navigationarea.AbstractSelectorSection
selectedItems
-
-
Constructor Summary
Constructors Constructor Description AbstractDrillableSelectorSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendAsLastElement(TypedObject element)Appends given object as a last elementvoidclear()Clears current sectionintcurrentLevel()Returns current levelvoiddisable()Disabling current sectionintgetDrilldownLevel()Returns how many levels should be displayedTypedObjectgetLastElement()Returns last elementvoidremoveLastElement()Remove last elementvoidsetDrilldownLevel(int drilldownLevel)Sets how many levels should be displayed-
Methods 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, updateItems
-
Methods 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, wrapItems
-
Methods inherited from class de.hybris.platform.cockpit.components.navigationarea.NavigationPanelSection
getAttribute, getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setAttribute, setLabel, setLocalizedLabel, setOpen, setRenderer, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.components.sectionpanel.Section
getLabel, getLocalizedLabel, isInitialOpen, isOpen, isTabbed, isVisible, setOpen
-
Methods inherited from interface de.hybris.platform.cockpit.components.navigationarea.SectionSelectorSection
enable, getParentSection, getRelatedObject, getSubSections, isMultiselect, isSubSectionsVisible, refreshView, setParentSection, setRelatedObject, setSubSections
-
Methods inherited from interface de.hybris.platform.cockpit.components.navigationarea.SelectorSection
getItems, getSelectedItem, getSelectedItems, isInitiallySelected, isItemActive, isMultiple, selectionChanged, setInitiallySelected, setItems, setMultiple, setSelectedItem, setSelectedItems, setSelectedItemsDirectly
-
-
-
-
Field Detail
-
drillableElements
protected java.util.Stack<TypedObject> drillableElements
-
drilldownLevel
protected int drilldownLevel
-
-
Method Detail
-
getLastElement
public TypedObject getLastElement()
Description copied from interface:DrillableSelectorSectionReturns last element- Specified by:
getLastElementin interfaceDrillableSelectorSection- Returns:
- last element
-
appendAsLastElement
public void appendAsLastElement(TypedObject element)
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
-
-