Interface TabbedPaneBuilder

All Superinterfaces:
ComponentBuilder<JTabbedPane,TabbedPaneBuilder>, Supplier<JTabbedPane>

public interface TabbedPaneBuilder extends ComponentBuilder<JTabbedPane,TabbedPaneBuilder>
A builder for a JTabbedPane.
Components.tabbedPane()
				.tab("First Tab", new JLabel("First"))
				.tab("Second Tab", new JLabel("Second"))
				.build();

Components.tabbedPane()
				.tabPlacement(SwingConstants.TOP)
				.tabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT)
				.tab("First Tab")
				.component(new JLabel("First"))
				.mnemonic(KeyEvent.VK_1)
				.toolTipText("This is the first tab")
				.icon(firstTabIcon)
				.add()
				.tab("Second Tab")
				.component(new JLabel("Second"))
				.mnemonic(KeyEvent.VK_2)
				.toolTipText("This is the second tab")
				.icon(secondTabIcon)
				.add()
				.build();