public interface Breadcrumb
BreadcrumbGenerator
as of 5.0).
Be aware that the last breadcrumb in the trail is filtered out by default, unless the implementation of filterTrailingBreadcrumb returns false.
Modifier and Type | Method and Description |
---|---|
boolean |
filterTrailingBreadcrumb()
Whether or not the last breadcrumb in the breadcrumbs trail should be filtered out.
|
List<Breadcrumb> |
getBreadcrumbsTrail()
Gets all the breadcrumbs trail (including itself) required for display.
|
String |
getCssClass()
CSS class to apply to the breadcrumb
|
String |
getDisplayTitle()
Gets the display title of the breadcrumb for user display.
|
String |
getTarget()
Gets the relative url for the target which a breadcrumb points to.
|
String |
getTitle()
Gets the i18n key for the title of the breadcrumb.
|
String |
getTooltip()
Gets the breadcrumb's tooltip.
|
void |
setCssClass(String css)
Override the default CSS class of the 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.
|
String getTarget()
String getTitle()
getDisplayTitle()
for
titles that don't need to be translated.String getDisplayTitle()
String getTooltip()
List<Breadcrumb> getBreadcrumbsTrail()
Breadcrumb
s with this object being the last item.List
of breadcrumbs for displayString getCssClass()
void setCssClass(String css)
css
- the default string to write in the class attributevoid setFilterTrailingBreadcrumb(boolean filterTrailingBreadcrumb)
filterTrailingBreadcrumb
- true if the last breadcrumb in the trail should be filtered out.boolean filterTrailingBreadcrumb()
Copyright © 2003–2020 Atlassian. All rights reserved.