|
||||||||||
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 |
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. |
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 title of the breadcrumb for user display. |
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
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 Breadcrumb
public String getTitle()
Breadcrumb
getTitle
in interface Breadcrumb
public String getTooltip()
Breadcrumb
getTooltip
in interface Breadcrumb
public List<Breadcrumb> getBreadcrumbsTrail()
getMyCrumbs()
).
getBreadcrumbsTrail
in interface Breadcrumb
List
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 |