Class BreadcrumbItemChoices<T>
- java.lang.Object
-
- org.pushingpixels.radiance.component.internal.ui.bcb.BreadcrumbItemChoices<T>
-
final class BreadcrumbItemChoices<T> extends java.lang.Object
This is the model for the popup that is shown by clicking on the path selector.
-
-
Field Summary
Fields Modifier and Type Field Description private BreadcrumbItem<T>
ancestor
The ancestor item.private java.util.List<BreadcrumbItem<T>>
choices
Contains all possible choices.private int
selectedIndex
The index ofthis
element.
-
Constructor Summary
Constructors Constructor Description BreadcrumbItemChoices(BreadcrumbItem<T> ancestor, java.util.List<BreadcrumbItem<T>> entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BreadcrumbItem<T>
getAncestor()
java.util.List<BreadcrumbItem<T>>
getChoices()
Returns the item array oftrue
his element.int
getSelectedIndex()
void
setSelectedIndex(int index)
-
-
-
Field Detail
-
choices
private java.util.List<BreadcrumbItem<T>> choices
Contains all possible choices.
-
ancestor
private BreadcrumbItem<T> ancestor
The ancestor item. This can benull
only for the root choices element.
-
selectedIndex
private int selectedIndex
The index ofthis
element.
-
-
Constructor Detail
-
BreadcrumbItemChoices
public BreadcrumbItemChoices(BreadcrumbItem<T> ancestor, java.util.List<BreadcrumbItem<T>> entries)
-
-
Method Detail
-
setSelectedIndex
public void setSelectedIndex(int index)
-
getSelectedIndex
public int getSelectedIndex()
-
getChoices
public java.util.List<BreadcrumbItem<T>> getChoices()
Returns the item array oftrue
his element.- Returns:
- The item array of
true
his element.
-
getAncestor
public BreadcrumbItem<T> getAncestor()
-
-