|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
public abstract class AbstractBreadcrumb
| Field Summary | |
|---|---|
protected String |
displayTitle
|
protected String |
target
|
protected String |
title
|
protected String |
tooltip
|
| Constructor Summary | |
|---|---|
protected |
AbstractBreadcrumb()
|
protected |
AbstractBreadcrumb(String title,
String target)
|
protected |
AbstractBreadcrumb(String title,
String target,
String tooltip)
|
| Method Summary | |
|---|---|
List<Breadcrumb> |
getBreadcrumbsTrail()
Gets all the breadcrumbs required for displaying this breadcrumb. |
String |
getDisplayTitle()
Gets the display title of the breadcrumb for user display. |
protected List<Breadcrumb> |
getMyCrumbs()
Returns a list of breadcrumbs for the current breadcrumb. |
protected abstract Breadcrumb |
getParent()
Gets the parent breadcrumb. |
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String title
protected String target
protected String tooltip
protected String displayTitle
| Constructor Detail |
|---|
protected AbstractBreadcrumb()
protected AbstractBreadcrumb(String title,
String target)
protected AbstractBreadcrumb(String title,
String target,
String tooltip)
| Method Detail |
|---|
public String getTarget()
Breadcrumb
getTarget in interface Breadcrumbpublic String getTitle()
BreadcrumbBreadcrumb.getDisplayTitle() for
titles that don't need to be translated.
getTitle in interface Breadcrumbpublic String getTooltip()
Breadcrumb
getTooltip in interface Breadcrumbpublic String getDisplayTitle()
Breadcrumb
getDisplayTitle in interface Breadcrumbpublic List<Breadcrumb> getBreadcrumbsTrail()
getMyCrumbs()).
getBreadcrumbsTrail in interface BreadcrumbList of breadcrumbs for displayprotected List<Breadcrumb> getMyCrumbs()
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.
protected abstract Breadcrumb getParent()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||