Class BreadcrumbItemChoices<T>
java.lang.Object
org.pushingpixels.radiance.component.internal.ui.bcb.BreadcrumbItemChoices<T>
This is the model for the popup that is shown by clicking on the path
selector.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BreadcrumbItem<T> The ancestor item.private List<BreadcrumbItem<T>> Contains all possible choices.private intThe index ofthiselement. -
Constructor Summary
ConstructorsConstructorDescriptionBreadcrumbItemChoices(BreadcrumbItem<T> ancestor, List<BreadcrumbItem<T>> entries) -
Method Summary
Modifier and TypeMethodDescriptionReturns the item array oftruehis element.intvoidsetSelectedIndex(int index)
-
Field Details
-
choices
Contains all possible choices. -
ancestor
The ancestor item. This can benullonly for the root choices element. -
selectedIndex
private int selectedIndexThe index ofthiselement.
-
-
Constructor Details
-
BreadcrumbItemChoices
-
-
Method Details
-
setSelectedIndex
public void setSelectedIndex(int index) -
getSelectedIndex
public int getSelectedIndex() -
getChoices
Returns the item array oftruehis element.- Returns:
- The item array of
truehis element.
-
getAncestor
-