Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface TabbedDetailLayout.Builder
- Enclosing class:
- TabbedDetailLayout
public static interface TabbedDetailLayout.Builder
Builds a
TabbedDetailLayout
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
includeControls
(boolean includeControls) keyStroke
(TabbedDetailLayout.KeyboardShortcut keyboardShortcut, KeyStroke keyStroke) panelState
(EntityPanel.PanelState panelState) splitPaneResizeWeight
(double splitPaneResizeWeight)
-
Method Details
-
panelState
- Parameters:
panelState
- the initial detail panel state- Returns:
- this builder instance
-
splitPaneResizeWeight
- Parameters:
splitPaneResizeWeight
- the detail panel split pane size weight- Returns:
- this builder instance
-
includeControls
- Parameters:
includeControls
- true if detail panel controls should be available- Returns:
- this builder instance
-
keyStroke
TabbedDetailLayout.Builder keyStroke(TabbedDetailLayout.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
TabbedDetailLayout build()- Returns:
- a new
TabbedDetailLayout
instance based on this builder
-