Interface ButtonPanelBuilder

All Superinterfaces:
ComponentBuilder<Void,JPanel,ButtonPanelBuilder>, ControlPanelBuilder<JPanel,ButtonPanelBuilder>

public interface ButtonPanelBuilder extends ControlPanelBuilder<JPanel,ButtonPanelBuilder>
Builds a JPanel with buttons.
  • Method Details

    • buttonGap

      ButtonPanelBuilder buttonGap(int buttonGap)
      Default is Layouts.GAP.
      Parameters:
      buttonGap - the gap between buttons in pixels
      Returns:
      this builder instance
    • builder

      static ButtonPanelBuilder builder()
      Returns:
      a new button panel builder
    • builder

      static ButtonPanelBuilder builder(Action... actions)
      Parameters:
      actions - the actions
      Returns:
      a new button panel builder
    • builder

      static ButtonPanelBuilder builder(Controls controls)
      Parameters:
      controls - the controls
      Returns:
      a new button panel builder
    • builder

      static ButtonPanelBuilder builder(Controls.ControlsBuilder controlsBuilder)
      Parameters:
      controlsBuilder - the controls builder
      Returns:
      a new button panel builder