Class BasicBreadcrumbBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbBarUI
org.pushingpixels.flamingo.internal.ui.bcb.BasicBreadcrumbBarUI
Basic UI for breadcrumb bar (
JBreadcrumbBar
).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
Layout for the breadcrumb bar. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JBreadcrumbBar
The associated breadcrumb bar.protected LinkedList<JCommandButton>
protected ComponentListener
protected JCommandButton
protected JPanel
protected LinkedList
Contains the item path.protected BreadcrumbPathListener
protected JScrollablePanel<JPanel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManager
Invoked byinstallUI
to create a layout manager object to manage theJBreadcrumbBar
.static ComponentUI
protected void
protected void
protected void
void
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
protected void
protected void
void
protected void
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
Field Details
-
breadcrumbBar
The associated breadcrumb bar. -
mainPanel
-
scrollerPanel
-
componentListener
-
dummy
-
modelStack
Contains the item path. -
buttonStack
-
pathListener
-
-
Constructor Details
-
BasicBreadcrumbBarUI
public BasicBreadcrumbBarUI()
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in classComponentUI
-
installDefaults
-
installComponents
-
installListeners
-
uninstallDefaults
-
uninstallComponents
-
uninstallListeners
-
createLayoutManager
Invoked byinstallUI
to create a layout manager object to manage theJBreadcrumbBar
.- Returns:
- a layout manager object
- See Also:
-
updateComponents
protected void updateComponents() -
pushChoices
Pushes a choice to the top position of the stack. If the current top is already aBreadcrumbItemChoices
, replace it.- Parameters:
bic
- The choice item to push.- Returns:
- The item that has been pushed.
-
pushChoices
protected Object pushChoices(org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbItemChoices bic, boolean toUpdateUI) Pushes a choice to the top position of the stack. If the current top is already aBreadcrumbItemChoices
, replace it.- Parameters:
bic
- The choice item to push.toUpdateUI
- Indication whether the bar should be repainted.- Returns:
- The item that has been pushed.
-
pushChoice
Pushes an item to the top position of the stack. If the current top is already aBreadcrumbItemChoices
, replace it.- Parameters:
bi
- The item to push.toUpdateUI
- Indication whether the bar should be repainted.- Returns:
- The item that has been pushed.
-