Class BasicBreadcrumbBarUI

java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.bcb.BreadcrumbBarUI
org.pushingpixels.radiance.component.internal.ui.bcb.BasicBreadcrumbBarUI
Direct Known Subclasses:
RadianceBreadcrumbBarUI

public abstract class BasicBreadcrumbBarUI extends BreadcrumbBarUI
Basic UI for breadcrumb bar (JBreadcrumbBar).
  • Field Details

  • Constructor Details

    • BasicBreadcrumbBarUI

      public BasicBreadcrumbBarUI()
  • Method Details

    • installUI

      public void installUI(JComponent c)
      Overrides:
      installUI in class ComponentUI
    • uninstallUI

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class 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()
    • createLayoutManager

      protected LayoutManager createLayoutManager()
      Invoked by installUI to create a layout manager object to manage the JBreadcrumbBar.
      Returns:
      a layout manager object
      See Also:
    • updateComponents

      protected void updateComponents()
    • configureMainAction

      private void configureMainAction(Command command, BreadcrumbItem<Object> bi)
    • configurePopupAction

      private void configurePopupAction(Command command, BreadcrumbItemChoices<Object> bic)
    • configurePopupRollover

      private void configurePopupRollover(JCommandButton button)
    • configureBreadcrumbButton

      private void configureBreadcrumbButton(JCommandButton button)
    • pushChoices

      protected Object pushChoices(BreadcrumbItemChoices<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 Object pushChoices(BreadcrumbItemChoices<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 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.