public class BasicBreadcrumbBarUI extends BreadcrumbBarUI
JBreadcrumbBar
).Modifier and Type | Class | Description |
---|---|---|
protected class |
BasicBreadcrumbBarUI.BreadcrumbBarLayout |
Layout for the breadcrumb bar.
|
Modifier and Type | Field | Description |
---|---|---|
protected JBreadcrumbBar |
breadcrumbBar |
The associated breadcrumb bar.
|
protected java.util.LinkedList<JCommandButton> |
buttonStack |
|
protected java.awt.event.ComponentListener |
componentListener |
|
protected JCommandButton |
dummy |
|
protected javax.swing.JPanel |
mainPanel |
|
protected java.util.LinkedList |
modelStack |
Contains the item path.
|
protected BreadcrumbPathListener |
pathListener |
|
protected JScrollablePanel<javax.swing.JPanel> |
scrollerPanel |
Constructor | Description |
---|---|
BasicBreadcrumbBarUI() |
Modifier and Type | Method | Description |
---|---|---|
protected java.awt.LayoutManager |
createLayoutManager() |
Invoked by
installUI to create a layout manager object to
manage the JBreadcrumbBar . |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
|
protected void |
installComponents(JBreadcrumbBar bar) |
|
protected void |
installDefaults(JBreadcrumbBar bar) |
|
protected void |
installListeners(JBreadcrumbBar bar) |
|
void |
installUI(javax.swing.JComponent c) |
|
protected java.lang.Object |
pushChoice(BreadcrumbItem bi,
boolean toUpdateUI) |
Pushes an item to the top position of the stack.
|
protected java.lang.Object |
pushChoices(org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbItemChoices bic) |
Pushes a choice to the top position of the stack.
|
protected java.lang.Object |
pushChoices(org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbItemChoices bic,
boolean toUpdateUI) |
Pushes a choice to the top position of the stack.
|
protected void |
uninstallComponents(JBreadcrumbBar bar) |
|
protected void |
uninstallDefaults(JBreadcrumbBar bar) |
|
protected void |
uninstallListeners(JBreadcrumbBar bar) |
|
void |
uninstallUI(javax.swing.JComponent c) |
|
protected void |
updateComponents() |
protected JBreadcrumbBar breadcrumbBar
protected javax.swing.JPanel mainPanel
protected JScrollablePanel<javax.swing.JPanel> scrollerPanel
protected java.awt.event.ComponentListener componentListener
protected JCommandButton dummy
protected java.util.LinkedList modelStack
protected java.util.LinkedList<JCommandButton> buttonStack
protected BreadcrumbPathListener pathListener
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
protected void installDefaults(JBreadcrumbBar bar)
protected void installComponents(JBreadcrumbBar bar)
protected void installListeners(JBreadcrumbBar bar)
protected void uninstallDefaults(JBreadcrumbBar bar)
protected void uninstallComponents(JBreadcrumbBar bar)
protected void uninstallListeners(JBreadcrumbBar bar)
protected java.awt.LayoutManager createLayoutManager()
installUI
to create a layout manager object to
manage the JBreadcrumbBar
.BasicBreadcrumbBarUI.BreadcrumbBarLayout
protected void updateComponents()
protected java.lang.Object pushChoices(org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbItemChoices bic)
BreadcrumbItemChoices
, replace it.bic
- The choice item to push.protected java.lang.Object pushChoices(org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbItemChoices bic, boolean toUpdateUI)
BreadcrumbItemChoices
, replace it.bic
- The choice item to push.toUpdateUI
- Indication whether the bar should be repainted.protected java.lang.Object pushChoice(BreadcrumbItem bi, boolean toUpdateUI)
BreadcrumbItemChoices
, replace it.bi
- The item to push.toUpdateUI
- Indication whether the bar should be repainted.