Class BasicCommandPopupMenuPanelUI.ScrollableCommandButtonPanel

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

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

    • maxDimension

      private Dimension maxDimension
      Maximum dimension of this button panel.
    • buttonPanel

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

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

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

    • ScrollableCommandButtonPanel

      private ScrollableCommandButtonPanel(JCommandButtonPanel iconPanel, int maxButtonColumns, int maxVisibleButtonRows)
      Creates a new 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.