|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jvnet.flamingo.bcb.ui.BreadcrumbBarUI
org.jvnet.flamingo.bcb.ui.BasicBreadcrumbBarUI
public class BasicBreadcrumbBarUI
Basic UI for breadcrumb bar (JBreadcrumbBar
).
Constructor Summary | |
---|---|
BasicBreadcrumbBarUI()
|
Method Summary | |
---|---|
JCommandButton |
createLeftScroller()
|
JCommandButton |
createRightScroller()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
BreadcrumbParticle |
getParticle(int selectorIndex)
|
javax.swing.JPopupMenu |
getPopup()
Returns the popup menu of this breadcrumb bar. |
int |
getPopupInitiatorIndex()
Returns the index of the popup initiator. |
ChoicesSelector |
getSelector(int selectorIndex)
|
void |
hidePopup()
Hides the popup menu. |
void |
installUI(javax.swing.JComponent c)
|
boolean |
popup(int componentIndex)
|
boolean |
showPopup(int selectorIndex,
BreadcrumbItemChoices bic)
Shows the popup menu based on the specified parameters. |
void |
uninstallUI(javax.swing.JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicBreadcrumbBarUI()
Method Detail |
---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
public javax.swing.JPopupMenu getPopup()
this
breadcrumb bar.
getPopup
in class BreadcrumbBarUI
this
breadcrumb bar.public void hidePopup()
hidePopup
in class BreadcrumbBarUI
public boolean popup(int componentIndex)
popup
in class BreadcrumbBarUI
public boolean showPopup(int selectorIndex, BreadcrumbItemChoices bic)
selectorIndex
- The index of the originating selector.bic
- The choice element.
true
, the popup was shown (the choice element was
not empty). If false
, the popup was not shown.public BreadcrumbParticle getParticle(int selectorIndex)
getParticle
in class BreadcrumbBarUI
public ChoicesSelector getSelector(int selectorIndex)
getSelector
in class BreadcrumbBarUI
public JCommandButton createLeftScroller()
createLeftScroller
in interface ScrollablePanel.ScrollableSupport
public JCommandButton createRightScroller()
createRightScroller
in interface ScrollablePanel.ScrollableSupport
public int getPopupInitiatorIndex()
getPopupInitiatorIndex
in class BreadcrumbBarUI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |