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 classLayout for the breadcrumb bar. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JBreadcrumbBarThe associated breadcrumb bar.protected LinkedList<JCommandButton>protected ComponentListenerprotected JCommandButtonprotected JPanelprotected LinkedListContains the item path.protected BreadcrumbPathListenerprotected JScrollablePanel<JPanel> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManagerInvoked byinstallUIto create a layout manager object to manage theJBreadcrumbBar.static ComponentUIprotected voidprotected voidprotected voidvoidprotected ObjectpushChoice(BreadcrumbItem bi, boolean toUpdateUI) Pushes an item to the top position of the stack.protected ObjectpushChoices(org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbItemChoices bic) Pushes a choice to the top position of the stack.protected ObjectpushChoices(org.pushingpixels.flamingo.internal.ui.bcb.BreadcrumbItemChoices bic, boolean toUpdateUI) Pushes a choice to the top position of the stack.protected voidprotected voidprotected voidvoidprotected voidMethods 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:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
installDefaults
-
installComponents
-
installListeners
-
uninstallDefaults
-
uninstallComponents
-
uninstallListeners
-
createLayoutManager
Invoked byinstallUIto 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.
-