Class BreadcrumbPathEvent<T>

java.lang.Object
org.pushingpixels.radiance.component.api.bcb.BreadcrumbPathEvent<T>

public class BreadcrumbPathEvent<T> extends Object
Event on the breadcrumb bar path.
  • Field Details

    • src

      The model that fired this event.
    • indexOfFirstChange

      private int indexOfFirstChange
      The index of the first path item that has changed.
  • Constructor Details

    • BreadcrumbPathEvent

      public BreadcrumbPathEvent(BreadcrumbBarContentModel<T> src, int indexOfFirstChange)
      Creates a new breadcrumb bar path event.
      Parameters:
      src - Event source.
      indexOfFirstChange - The index of the first path item that has changed.
  • Method Details

    • getIndexOfFirstChange

      public int getIndexOfFirstChange()
      Returns the index of the first path item that has changed.
      Returns:
      The index of the first path item that has changed.
    • getSource

      public BreadcrumbBarContentModel<T> getSource()
      Returns the source model of this event.
      Returns:
      The source model of this event.