Class BasicBreadcrumbBarUI

    • Field Detail

      • breadcrumbBar

        private JBreadcrumbBar<java.lang.Object> breadcrumbBar
        The associated breadcrumb bar.
      • mainPanel

        private javax.swing.JPanel mainPanel
      • componentListener

        private java.awt.event.ComponentListener componentListener
      • modelStack

        private java.util.LinkedList<java.lang.Object> modelStack
        Contains the item path.
      • buttonStack

        private java.util.LinkedList<JCommandButton> buttonStack
      • commandStack

        private java.util.LinkedList<Command> commandStack
      • atomicCounter

        private java.util.concurrent.atomic.AtomicInteger atomicCounter
      • loadingTimer

        private javax.swing.Timer loadingTimer
      • isShowingProgress

        private boolean isShowingProgress
      • pathChangeWorker

        private javax.swing.SwingWorker<java.lang.Void,​java.lang.Object> pathChangeWorker
      • preferredHeight

        private int preferredHeight
    • Constructor Detail

      • BasicBreadcrumbBarUI

        public BasicBreadcrumbBarUI()
    • Method Detail

      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.ComponentUI
      • uninstallUI

        public void uninstallUI​(javax.swing.JComponent c)
        Overrides:
        uninstallUI in class javax.swing.plaf.ComponentUI
      • installDefaults

        protected void installDefaults​(JBreadcrumbBar<?> bar)
      • installComponents

        protected void installComponents​(JBreadcrumbBar<?> bar)
      • installListeners

        protected void installListeners​(JBreadcrumbBar<?> bar)
      • initAndRunPathChangeWorker

        private void initAndRunPathChangeWorker​(int indexOfFirstChange)
      • uninstallDefaults

        protected void uninstallDefaults​(JBreadcrumbBar<?> bar)
      • uninstallComponents

        protected void uninstallComponents​(JBreadcrumbBar<?> bar)
      • uninstallListeners

        protected void uninstallListeners​(JBreadcrumbBar<?> bar)
      • startLoadingTimer

        private void startLoadingTimer()
      • stopLoadingTimer

        private void stopLoadingTimer()
      • updateComponents

        protected void updateComponents()
      • configureMainAction

        private void configureMainAction​(Command command,
                                         BreadcrumbItem<java.lang.Object> bi)
      • configurePopupRollover

        private void configurePopupRollover​(JCommandButton button)
      • configureBreadcrumbButton

        private void configureBreadcrumbButton​(JCommandButton button)
      • pushChoices

        protected java.lang.Object pushChoices​(BreadcrumbItemChoices<java.lang.Object> bic)
        Pushes a choice to the top position of the stack. If the current top is already a BreadcrumbItemChoices, replace it.
        Parameters:
        bic - The choice item to push.
        Returns:
        The item that has been pushed.
      • pushChoices

        protected java.lang.Object pushChoices​(BreadcrumbItemChoices<java.lang.Object> bic,
                                               boolean toUpdateUI)
        Pushes a choice to the top position of the stack. If the current top is already a BreadcrumbItemChoices, 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

        protected java.lang.Object pushChoice​(BreadcrumbItem bi)
        Pushes an item to the top position of the stack. If the current top is already a BreadcrumbItemChoices, replace it.
        Parameters:
        bi - The item to push.
        Returns:
        The item that has been pushed.