Class SimpleBreadcrumb

  extended by com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
      extended by com.atlassian.confluence.util.breadcrumbs.SimpleBreadcrumb
All Implemented Interfaces:

public final class SimpleBreadcrumb
extends AbstractBreadcrumb

Simple or default breadcrumb just wraps a i18n key and path.

Field Summary
Fields inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
displayTitle, target, title, tooltip
Constructor Summary
SimpleBreadcrumb(String i18nKey, String path)
          Constructs a simple breadcrumb with parent Dashboard and the given text and URL.
Method Summary
protected  Breadcrumb getParent()
          Gets the parent breadcrumb.
Methods inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
getBreadcrumbsTrail, getDisplayTitle, getMyCrumbs, getTarget, getTitle, getTooltip, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public SimpleBreadcrumb(String i18nKey,
                        String path)
Constructs a simple breadcrumb with parent Dashboard and the given text and URL.

i18nKey - eg ""
path - eg "/peopledirectory.action"
Method Detail


protected Breadcrumb getParent()
Description copied from class: AbstractBreadcrumb
Gets the parent breadcrumb. By default the dashboard breadcrumb is returned.

Specified by:
getParent in class AbstractBreadcrumb
the parent breadcrumb.

Copyright © 2003-2012 Atlassian. All Rights Reserved.