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 theTabbedPaneBuilder
mnemonic
(int mnemonic) tabComponent
(JComponent tabComponent) toolTipText
(String toolTipText)
-
Method Details
-
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
TabbedPaneBuilder
instance
-