|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.breadcrumbs.BaseCrumb com.atlassian.breadcrumbs.ProjectCrumb
public class ProjectCrumb
Crumb for a single Project
object.
Field Summary |
---|
Fields inherited from class com.atlassian.breadcrumbs.BaseCrumb |
---|
action, BROWSE_PREFIX, NUMBER_PREFIX, request |
Constructor Summary | |
---|---|
ProjectCrumb(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork.Action action)
|
Method Summary | |
---|---|
java.util.Collection<BreadCrumb> |
getChildCrumbs()
Returns the children crumbs. |
java.lang.String |
getId()
|
java.lang.String |
getLabel()
Returns the visible label for the bread crumb |
java.lang.String |
getTitle()
|
java.lang.String |
getUrl()
Returns the URL for the given label |
boolean |
isCurrentPage()
Returns true if the curren BreadCrumb should be selected |
boolean |
isShown()
Should the BreadCrumb be shown? |
Methods inherited from class com.atlassian.breadcrumbs.BaseCrumb |
---|
createUrl, createUrl, getAccessKey, getLabelWithAccessKeyUnderlined, getText, isAnyChildShown, isInCurrentPath, setAction, setRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectCrumb(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork.Action action)
Method Detail |
---|
public boolean isShown()
BreadCrumb
BreadCrumb
be shown?
public java.lang.String getTitle()
@Nullable public java.lang.String getId()
@Nullable public java.lang.String getLabel()
BreadCrumb
@Nullable public java.lang.String getUrl()
BreadCrumb
public boolean isCurrentPage()
BreadCrumb
BreadCrumb
should be selected
public java.util.Collection<BreadCrumb> getChildCrumbs()
BreadCrumb
BreadCrumb.isShown()
and then it'll follow down that crumb tree
Collection
of BreadCrumb
objects. Collections.emptyList()
if no child crumbs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |