Interface MenuItemBuilder<C extends JMenuItem,B extends MenuItemBuilder<C,B>>

All Superinterfaces:
ButtonBuilder<Void,C,B>, ComponentBuilder<Void,C,B>

public interface MenuItemBuilder<C extends JMenuItem,B extends MenuItemBuilder<C,B>> extends ButtonBuilder<Void,C,B>
Builds a JMenuItem.
  • Method Details

    • builder

      static <C extends JMenuItem, B extends MenuItemBuilder<C, B>> MenuItemBuilder<C,B> builder()
      Type Parameters:
      B - the builder type
      C - the component type
      Returns:
      a builder for a JMenuItem
    • builder

      static <C extends JMenuItem, B extends MenuItemBuilder<C, B>> MenuItemBuilder<C,B> builder(Action action)
      Type Parameters:
      B - the builder type
      C - the component type
      Parameters:
      action - the button action
      Returns:
      a builder for a JButton
    • builder

      static <C extends JMenuItem, B extends MenuItemBuilder<C, B>> MenuItemBuilder<C,B> builder(Control control)
      Type Parameters:
      B - the builder type
      C - the component type
      Parameters:
      control - the button control
      Returns:
      a builder for a JButton
    • builder

      static <C extends JMenuItem, B extends MenuItemBuilder<C, B>> MenuItemBuilder<C,B> builder(Control.Builder<?,?> controlBuilder)
      Type Parameters:
      B - the builder type
      C - the component type
      Parameters:
      controlBuilder - the button control builder
      Returns:
      a builder for a JButton