Package org.kuali.rice.krad.uif.element
Class PageBreadcrumbOptions
java.lang.Object
org.kuali.rice.krad.uif.element.BreadcrumbOptions
org.kuali.rice.krad.uif.element.PageBreadcrumbOptions
- All Implemented Interfaces:
Serializable,Cloneable,Copyable
BreadcrumbOptions specific to page. Render options are only available at the page level.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalizeBreadcrumbs(Object model, Container parent, BreadcrumbItem breadcrumbItem) Finalize the setup of the BreadcrumbOptions and the BreadcrumbItem for the PageGroup.booleanIf true, render the homewardPathBreadcrumbs (if any are set), otherwise do not render thembooleanIf true, render the parent location breadcrumbs.booleanIf true, render the prePageBreadcrumbs (if any are set), otherwise do not render thembooleanIf true, render the preViewBreadcrumbs (if any are set), otherwise do not render thembooleanWhether or not to render the view breadcrumb at this levelvoidsetRenderHomewardPathBreadcrumbs(boolean renderHomewardPathBreadcrumbs) Set renderHomewardPathBreadcrumbsvoidsetRenderParentLocations(boolean renderParentLocations) Set renderParentLocationsvoidsetRenderPrePageBreadcrumbs(boolean renderPrePageBreadcrumbs) Set renderPrePageBreadcrumbsvoidsetRenderPreViewBreadcrumbs(boolean renderPreViewBreadcrumbs) Set renderPreViewBreadcrumbsvoidsetRenderViewBreadcrumb(boolean renderViewBreadcrumb) Set renderViewBreadcrumbvoidsetupBreadcrumbs(Object model) Setup the BreadcrumbOptions and BreadcrumbItem for a PageGroup.Methods inherited from class org.kuali.rice.krad.uif.element.BreadcrumbOptions
clone, finalizeBreadcrumbsUrl, getBreadcrumbOverrides, getHomewardPathBreadcrumbs, getPrePageBreadcrumbs, getPreViewBreadcrumbs, setBreadcrumbOverrides, setHomewardPathBreadcrumbs, setPrePageBreadcrumbs, setPreViewBreadcrumbs
-
Constructor Details
-
PageBreadcrumbOptions
public PageBreadcrumbOptions()
-
-
Method Details
-
setupBreadcrumbs
Setup the BreadcrumbOptions and BreadcrumbItem for a PageGroup. To be called from performInitialization.- Overrides:
setupBreadcrumbsin classBreadcrumbOptions- Parameters:
model- the model
-
finalizeBreadcrumbs
Finalize the setup of the BreadcrumbOptions and the BreadcrumbItem for the PageGroup. To be called from the performFinalize method.- Overrides:
finalizeBreadcrumbsin classBreadcrumbOptions- Parameters:
model- the modelparent- parent containerbreadcrumbItem- breadcrumb item to finalize
-
isRenderViewBreadcrumb
public boolean isRenderViewBreadcrumb()Whether or not to render the view breadcrumb at this level- Returns:
- true if rendering the view breadcrumb, false otherwise
-
setRenderViewBreadcrumb
public void setRenderViewBreadcrumb(boolean renderViewBreadcrumb) Set renderViewBreadcrumb- Parameters:
renderViewBreadcrumb-
-
isRenderHomewardPathBreadcrumbs
public boolean isRenderHomewardPathBreadcrumbs()If true, render the homewardPathBreadcrumbs (if any are set), otherwise do not render them- Returns:
- true if rendering homewardPathBreadcrumbs, false otherwise
-
setRenderHomewardPathBreadcrumbs
public void setRenderHomewardPathBreadcrumbs(boolean renderHomewardPathBreadcrumbs) Set renderHomewardPathBreadcrumbs- Parameters:
renderHomewardPathBreadcrumbs-
-
isRenderPreViewBreadcrumbs
public boolean isRenderPreViewBreadcrumbs()If true, render the preViewBreadcrumbs (if any are set), otherwise do not render them- Returns:
- true if rendering preViewBreadcrumbs, false otherwise
-
setRenderPreViewBreadcrumbs
public void setRenderPreViewBreadcrumbs(boolean renderPreViewBreadcrumbs) Set renderPreViewBreadcrumbs- Parameters:
renderPreViewBreadcrumbs-
-
isRenderPrePageBreadcrumbs
public boolean isRenderPrePageBreadcrumbs()If true, render the prePageBreadcrumbs (if any are set), otherwise do not render them- Returns:
- true if rendering prePageBreadcrumbs, false otherwise
-
setRenderPrePageBreadcrumbs
public void setRenderPrePageBreadcrumbs(boolean renderPrePageBreadcrumbs) Set renderPrePageBreadcrumbs- Parameters:
renderPrePageBreadcrumbs-
-
isRenderParentLocations
public boolean isRenderParentLocations()If true, render the parent location breadcrumbs. These BreadcrumbItems are automatically generated based on the view's parentLocation property settings by traversing parent views/pages or based on a history path.- Returns:
- true if rendering the parent location breadcrumbs, false otherwise
-
setRenderParentLocations
public void setRenderParentLocations(boolean renderParentLocations) Set renderParentLocations- Parameters:
renderParentLocations-
-