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