Class BreadcrumbItem

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, ContentElement, LifecycleElement, org.springframework.core.Ordered

public class BreadcrumbItem extends ContentElementBase
BreadcrumbItem represents a single item in the breadcrumb list that is generated by the breadcrumbs widget.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • BreadcrumbItem

      public BreadcrumbItem()
  • Method Details

    • performApplyModel

      public void performApplyModel(Object model, LifecycleElement parent)
      The following updates are done here:
      • Evaluate expressions on url object
      The following updates are done here:
      • Evaluate the progressive render condition (if set) and combine with the current render status to set the render status
      Called after the initialize phase to perform conditional logic based on the model data

      Where components can perform conditional logic such as dynamically generating new fields or setting field state based on the given data

      Specified by:
      performApplyModel in interface LifecycleElement
      Overrides:
      performApplyModel in class ComponentBase
      Parameters:
      model - - Top level object containing the data (could be the form or a top level business object, dto)
      parent - parent lifecycle element
    • getLabel

      public String getLabel()
      The label for this breadcrumbItem. The label is the textual content that will be displayed for the breadcrumb.
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Set the label for this breadcrumbItem. The label is the textual content that will be displayed for the breadcrumb.
      Parameters:
      label -
    • getUrl

      public UrlInfo getUrl()
      The url used for the breadcrumb link represented by this item
      Returns:
      the url object
    • setUrl

      public void setUrl(UrlInfo urlObject)
      Set the url object
      Parameters:
      urlObject -
    • getSiblingBreadcrumbComponent

      public Component getSiblingBreadcrumbComponent()
      Set the breadcrumb component for this breadcrumbs sibling content/navigation. This content will appear in a pop-up menu.
      Returns:
      the sibling component to appear in a popup menu
    • setSiblingBreadcrumbComponent

      public void setSiblingBreadcrumbComponent(Component siblingBreadcrumbComponent)
      Set the sibling breadcrumb component
      Parameters:
      siblingBreadcrumbComponent -
    • isRenderAsLink

      public boolean isRenderAsLink()
      If true, the breadcrumbItem will render as a link, otherwise it will render as a span (not-clickable). By default, the last BreadcrumbItem in the list will ALWAYS render as span regardless of this property's value.
      Returns:
      true if rendering as a link, false otherwise
    • setRenderAsLink

      public void setRenderAsLink(boolean renderAsLink)
      Set to true to render as a link, false otherwise
      Parameters:
      renderAsLink -