Class BasicBandControlPanelUI


public class BasicBandControlPanelUI extends BandControlPanelUI
Basic UI for control panel of ribbon band JBandControlPanel.
  • Field Details

  • Constructor Details

    • BasicBandControlPanelUI

      public BasicBandControlPanelUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
    • createLayoutManager

      protected LayoutManager createLayoutManager()
      Invoked by installUI to create a layout manager object to manage the JBandControlPanel.
      Returns:
      a layout manager object
    • installListeners

      protected void installListeners()
      Installs listeners on the associated control panel of a ribbon band.
    • uninstallListeners

      protected void uninstallListeners()
      Uninstalls listeners from the associated control panel of a ribbon band.
    • installComponents

      protected void installComponents()
      Installs components on the associated control panel of a ribbon band.
    • uninstallComponents

      protected void uninstallComponents()
      Uninstalls components from the associated control panel of a ribbon band.
    • syncGroupHeaders

      protected void syncGroupHeaders()
    • 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()
      Installs default parameters on the associated control panel of a ribbon band.
    • uninstallDefaults

      protected void uninstallDefaults()
      Uninstalls default parameters from the associated control panel.
    • paint

      public void paint(Graphics g, JComponent c)
      Overrides:
      paint in class ComponentUI
    • paintBandBackground

      protected void paintBandBackground(Graphics graphics, Rectangle toFill)
      Paints band background.
      Parameters:
      graphics - Graphics context.
      toFill - Rectangle for the background.
    • getLayoutGap

      public int getLayoutGap()
      Description copied from class: BandControlPanelUI
      Returns the layout gap for the controls in the associated control panel.
      Specified by:
      getLayoutGap in class BandControlPanelUI
      Returns:
      The layout gap for the controls in the associated control panel.