Class BasicCommandPopupMenuUI.ScrollableCommandButtonPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.pushingpixels.flamingo.internal.ui.common.popup.BasicCommandPopupMenuUI.ScrollableCommandButtonPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable
Enclosing class:
BasicCommandPopupMenuUI

protected static class BasicCommandPopupMenuUI.ScrollableCommandButtonPanel extends JComponent
Popup panel that hosts groups of icons.
See Also:
  • Field Details

    • maxDimension

      protected Dimension maxDimension
      Maximum dimension of this popup gallery.
    • buttonPanel

      protected JCommandButtonPanel buttonPanel
      The internal panel that hosts the icon command buttons. Is hosted in the scroll.
    • maxVisibleButtonRows

      protected int maxVisibleButtonRows
      The maximum number of visible button rows.
    • scroll

      protected JScrollPane scroll
      Scroll panel that hosts buttonPanel.
  • Constructor Details

    • ScrollableCommandButtonPanel

      public ScrollableCommandButtonPanel(JCommandButtonPanel iconPanel, int maxButtonColumns, int maxVisibleButtonRows)
      Creates new a icon popup panel.
      Parameters:
      iconPanel - The internal panel that hosts icon command buttons.
      maxButtonColumns - The maximum number of button columns.
      maxVisibleButtonRows - The maximum number of visible button rows.
  • Method Details

    • updateMaxDimension

      public void updateMaxDimension()
      Updates the max dimension of this panel. This method is for internal use only.