public class Breadcrumbs extends BasicContentItem
BreadcrumbsHandler
output model.
Breadcrumbs model represents the active navigation state which could include
SearchBreadcrumb
RefinementBreadcrumb
RangeFilterBreadcrumb
GeoFilterBreadcrumb
Breadcrumbs also provides an action to clear the active navigation state.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Breadcrumbs(BreadcrumbsConfig pConfig)
Creates the
BreadcrumbsHandler output model, using the
type and data present in the input BreadcrumbsConfig . |
Modifier and Type | Method and Description |
---|---|
GeoFilterBreadcrumb |
getGeoFilterCrumb()
The active geo filter.
|
List<RangeFilterBreadcrumb> |
getRangeFilterCrumbs()
The list of active range filters.
|
List<RefinementBreadcrumb> |
getRefinementCrumbs()
The list of active dimensional refinements.
|
NavigationAction |
getRemoveAllAction()
Gets the action that will clear/remove all breadcrumbs.
|
List<SearchBreadcrumb> |
getSearchCrumbs()
The list of active search terms.
|
void |
setGeoFilterCrumb(GeoFilterBreadcrumb geoFilterCrumb)
Sets the active geo filter.
|
void |
setRangeFilterCrumbs(List<RangeFilterBreadcrumb> rangeFilterCrumbs)
Sets the list of active range filters.
|
void |
setRefinementCrumbs(List<RefinementBreadcrumb> refinementCrumbs)
Sets the list of active dimensional refinements.
|
void |
setRemoveAllAction(NavigationAction removeAllAction)
Sets the action that will clear/remove all breadcrumbs.
|
void |
setSearchCrumbs(List<SearchBreadcrumb> searchCrumbs)
Sets the list of active search terms.
|
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public Breadcrumbs(BreadcrumbsConfig pConfig)
BreadcrumbsHandler
output model, using the
type and data present in the input BreadcrumbsConfig
.public NavigationAction getRemoveAllAction()
public List<RefinementBreadcrumb> getRefinementCrumbs()
public List<SearchBreadcrumb> getSearchCrumbs()
public List<RangeFilterBreadcrumb> getRangeFilterCrumbs()
public GeoFilterBreadcrumb getGeoFilterCrumb()
public void setRemoveAllAction(NavigationAction removeAllAction)
public void setSearchCrumbs(List<SearchBreadcrumb> searchCrumbs)
public void setRefinementCrumbs(List<RefinementBreadcrumb> refinementCrumbs)
public void setRangeFilterCrumbs(List<RangeFilterBreadcrumb> rangeFilterCrumbs)
public void setGeoFilterCrumb(GeoFilterBreadcrumb geoFilterCrumb)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.