|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.flamingo.bcb.ui.BreadcrumbItemChoices<T>
public final class BreadcrumbItemChoices<T>
This is the model for the popup that is shown by clicking on the path selector.
Constructor Summary | |
---|---|
BreadcrumbItemChoices(BreadcrumbItem ancestor,
java.util.List<StringValuePair<T>> entries)
|
Method Summary | |
---|---|
BreadcrumbItem |
getAncestor()
|
BreadcrumbItem[] |
getChoices()
Returns the item array of true his element. |
int |
getIndex()
Returns the index of this element. |
int |
getPosition(java.lang.String s)
Returns the 0-based index of the first BreadcrumbItem whose
display name matches the specified string. |
void |
setIndex(int index)
Sets the index of this element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BreadcrumbItemChoices(BreadcrumbItem ancestor, java.util.List<StringValuePair<T>> entries)
Method Detail |
---|
public int getPosition(java.lang.String s)
BreadcrumbItem
whose
display name matches the specified string.
s
- String.
BreadcrumbItem
whose
display name matches the specified string.public int getIndex()
this
element.
this
element.public void setIndex(int index)
this
element.
index
- The new index of this
element.public BreadcrumbItem[] getChoices()
true
his element.
true
his element.public BreadcrumbItem getAncestor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |