Class BreadcrumbPathEvent<T>
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.bcb.BreadcrumbPathEvent<T>
-
public class BreadcrumbPathEvent<T> extends java.lang.Object
Event on the breadcrumb bar path.
-
-
Field Summary
Fields Modifier and Type Field Description private int
indexOfFirstChange
The index of the first path item that has changed.private BreadcrumbBarContentModel<T>
src
The model that firedthis
event.
-
Constructor Summary
Constructors Constructor Description BreadcrumbPathEvent(BreadcrumbBarContentModel<T> src, int indexOfFirstChange)
Creates a new breadcrumb bar path event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndexOfFirstChange()
Returns the index of the first path item that has changed.BreadcrumbBarContentModel<T>
getSource()
Returns the source model ofthis
event.
-
-
-
Field Detail
-
src
private BreadcrumbBarContentModel<T> src
The model that firedthis
event.
-
indexOfFirstChange
private int indexOfFirstChange
The index of the first path item that has changed.
-
-
Constructor Detail
-
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 Detail
-
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 ofthis
event.- Returns:
- The source model of
this
event.
-
-