public class CompositeBreadcrumb extends AbstractBreadcrumb
cssClass, displayTitle, filterTrailingBreadcrumb, MAX_BREADCRUMBS, target, title, tooltip
Constructor and Description |
---|
CompositeBreadcrumb(List<Breadcrumb> originalTrail,
Breadcrumb topmostParent) |
Modifier and Type | Method and Description |
---|---|
protected List<Breadcrumb> |
getMyCrumbs()
Returns a list of breadcrumbs for the current breadcrumb.
|
protected Breadcrumb |
getParent()
Gets the parent breadcrumb.
|
void |
setFilterTrailingBreadcrumb(boolean filterTrailingBreadcrumb)
Override the breadcrumb's default value for whether or not the last breadcrumb in the trail
should be filtered out.
|
filterTrailingBreadcrumb, getBreadcrumbsTrail, getCssClass, getDisplayTitle, getTarget, getTitle, getTooltip, setCssClass, toString
public CompositeBreadcrumb(List<Breadcrumb> originalTrail, Breadcrumb topmostParent)
protected Breadcrumb getParent()
AbstractBreadcrumb
getParent
in class AbstractBreadcrumb
protected List<Breadcrumb> getMyCrumbs()
AbstractBreadcrumb
BlogPostBreadcrumb
overrides this method and returns 4 crumbs altogether to represent itself: 2007 > 11 > 28 > BlogTitle.
By default my crumbs will be a list with size 1, containing itself, unless the current breadcrumb has no title.
getMyCrumbs
in class AbstractBreadcrumb
public void setFilterTrailingBreadcrumb(boolean filterTrailingBreadcrumb)
Breadcrumb
setFilterTrailingBreadcrumb
in interface Breadcrumb
setFilterTrailingBreadcrumb
in class AbstractBreadcrumb
filterTrailingBreadcrumb
- true if the last breadcrumb in the trail should be filtered out.Copyright © 2003–2016 Atlassian. All rights reserved.