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 interfaceBuilds aTabbedDetailLayout.static final classThe controls. -
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.Fields inherited from interface is.codion.swing.framework.ui.EntityPanel.DetailLayout
NONE -
Method Summary
-
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.DetailLayoutUpdates 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:
updateUIin interfaceEntityPanel.DetailLayout
-
layout
Description copied from interface:EntityPanel.DetailLayoutLays 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:
layoutin 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:
controllerin interfaceEntityPanel.DetailLayout- Returns:
- the detail controller for this layout, an empty Optional if none is available
-
builder
- Returns:
- a
TabbedDetailLayout.Builder.PanelStepinstance
-