Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface TabbedPanelLayout.Builder
- Enclosing class:
- TabbedPanelLayout
public static interface TabbedPanelLayout.Builder
Builds a
TabbedPanelLayout.-
Method Summary
Modifier and TypeMethodDescriptionbuild()detailPanelState(EntityPanel.PanelState detailPanelState) includeDetailControls(boolean includeDetailControls) includeDetailTabPane(boolean includeDetailTabPane) keyStroke(TabbedPanelLayout.KeyboardShortcut keyboardShortcut, KeyStroke keyStroke) splitPaneResizeWeight(double splitPaneResizeWeight)
-
Method Details
-
detailPanelState
- Parameters:
detailPanelState- the initial detail panel state- Returns:
- this builder instance
-
splitPaneResizeWeight
- Parameters:
splitPaneResizeWeight- the detail panel split pane size weight- Returns:
- this builder instance
-
includeDetailTabPane
- Parameters:
includeDetailTabPane- true if the detail panel tab pane should be included- Returns:
- this builder instance
-
includeDetailControls
- Parameters:
includeDetailControls- true if detail panel controls should be available- Returns:
- this builder instance
-
keyStroke
TabbedPanelLayout.Builder keyStroke(TabbedPanelLayout.KeyboardShortcut keyboardShortcut, KeyStroke keyStroke) - Parameters:
keyboardShortcut- the keyboard shortcut keykeyStroke- the keyStroke to assign to the given shortcut key, null resets to the default one- Returns:
- this builder instance
-
build
TabbedPanelLayout build()- Returns:
- a new
TabbedPanelLayoutinstance based on this builder
-