Module is.codion.swing.common.ui
Interface TabbedPaneBuilder.TabBuilder
- Enclosing interface:
TabbedPaneBuilder
public static interface TabbedPaneBuilder.TabBuilder
Builds a Tab for a
TabbedPaneBuilder.-
Method Summary
Modifier and TypeMethodDescriptionadd()Adds this tab and returns theTabbedPaneBuildercomponent(Supplier<? extends JComponent> component) component(@Nullable JComponent component) mnemonic(int mnemonic) tabComponent(@Nullable JComponent tabComponent) toolTipText(@Nullable String toolTipText)
-
Method Details
-
component
- Parameters:
component- the component- Returns:
- this builder instance
-
component
- Parameters:
component- the component- Returns:
- this builder instance
-
mnemonic
- Parameters:
mnemonic- the tab mnemonic- Returns:
- this builder instance
-
toolTipText
- Parameters:
toolTipText- the tab tool tip text- Returns:
- this builder instance
-
icon
- Parameters:
icon- the tab icon- Returns:
- this builder instance
-
tabComponent
- Parameters:
tabComponent- the tab component- Returns:
- this builder instance
- See Also:
-
add
TabbedPaneBuilder add()Adds this tab and returns theTabbedPaneBuilder- Returns:
- the
TabbedPaneBuilderinstance
-