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
Modifier and TypeClassDescriptionstatic interface
Builds aTabbedDetailLayout
.static final class
The controls. -
Field Summary
Modifier 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.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
-
-
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
-