Class BasicRibbonBandUI.CollapsedButtonPopupPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
BasicRibbonBandUI

protected static class BasicRibbonBandUI.CollapsedButtonPopupPanel extends JPopupPanel
Popup panel that shows the contents of the ribbon band when it is in a collapsed state.
See Also:
  • Field Details

    • component

      protected Component component
      The main component of this popup panel. Can be null.
  • Constructor Details

    • CollapsedButtonPopupPanel

      public CollapsedButtonPopupPanel(Component component, Dimension originalSize)
      Creates popup gallery with the specified component.
      Parameters:
      component - The main component of the popup gallery.
      originalSize - The original dimension of the main component.
  • Method Details

    • removeComponent

      public Component removeComponent()
      Removes the main component of this popup gallery.
      Returns:
      The removed main component.
    • getComponent

      public Component getComponent()
      Returns the main component of this popup gallery.
      Returns:
      The main component.