Class BreadCrumb

java.lang.Object
org.conical.common.bbl.web.util.BreadCrumb

public class BreadCrumb extends Object
Breadcrumbs are used to navigate webpages. This implementation uses levels to indicate how deep in the tree this breadcrumb is. BreadCrumbTrail then interprets this level and adds/removes breadcrumbs based on each one added. Also available are the link the breadcrumb is a reference to and the display value that should be shown.
Author:
rdoherty
  • Constructor Details

    • BreadCrumb

      public BreadCrumb(String link, String displayValue, int level)
      Constructor which takes all information contained in this instance.
      Parameters:
      link - link that should be navigated to when this breadcrumb is clicked
      displayValue - value displayed on button or link
      level - depth in the link tree
  • Method Details

    • getLink

      public String getLink()
    • setLink

      public void setLink(String link)
    • getDisplayValue

      public String getDisplayValue()
    • setDisplayValue

      public void setDisplayValue(String displayValue)
    • getLevel

      public int getLevel()
    • setLevel

      public void setLevel(int level)
    • toString

      public String toString()
      Overrides:
      toString in class Object