java.lang.Object
is.codion.swing.framework.ui.TabbedDetailLayout
- All Implemented Interfaces:
EntityPanel.DetailLayout
A
EntityPanel.DetailLayout
implementation based on a JTabbedPane.The default layout is as follows: __________________________________ | edit |control| | | panel | panel | | |__________|_______| detail | | | panels | | table panel | | |(EntityTablePanel)| | | | | |__________________|_____________|
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Builds aTabbedDetailLayout
.static enum
The available keyboard shortcuts. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyValue<Boolean>
Specifies whether actions to hide detail panels or show them in a dialog should be available to the user, for example in a popup menu or on a toolbar.
Value type: Boolean
Default value: truestatic final KeyboardShortcuts<TabbedDetailLayout.KeyboardShortcut>
The default keyboard shortcut keyStrokes.Fields inherited from interface is.codion.swing.framework.ui.EntityPanel.DetailLayout
NONE
-
Method Summary
Modifier and TypeMethodDescriptionstatic TabbedDetailLayout.Builder
builder
(EntityPanel entityPanel) layout()
Lays out a given EntityPanel along with its detail panels.void
updateUI()
Updates the UI of all associated components.
-
Field Details
-
INCLUDE_CONTROLS
Specifies whether actions to hide detail panels or show them in a dialog should be available to the user, for example in a popup menu or on a toolbar.
Value type: Boolean
Default value: true -
KEYBOARD_SHORTCUTS
The default keyboard shortcut keyStrokes.
-
-
Method Details
-
updateUI
public void updateUI()Description copied from interface:EntityPanel.DetailLayout
Updates the UI of all associated components. Override to update the UI of components that may be hidden and therefore not updated along with the component tree.- Specified by:
updateUI
in interfaceEntityPanel.DetailLayout
-
layout
Description copied from interface:EntityPanel.DetailLayout
Lays out a given EntityPanel along with its detail panels. In case of no special detail panel layout requirements, this method should return an empty Optional.- Specified by:
layout
in interfaceEntityPanel.DetailLayout
- Returns:
- the panel laid out with it detail panels or an empty Optional in case of no special layout component.
-
controller
- Specified by:
controller
in interfaceEntityPanel.DetailLayout
- Returns:
- the detail controller for this layout, an empty Optional if none is available
-
builder
- Parameters:
entityPanel
- the entity panel- Returns:
- a new
TabbedDetailLayout.Builder
instance
-