java.lang.Object
is.codion.swing.framework.ui.WindowDetailLayout
- All Implemented Interfaces:
EntityPanel.DetailLayout,EntityPanel.Selector
A detail layout which displays detail panels in a window, opened via the table popup menu.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilds aWindowDetailLayoutinstance.static enumSpecifies the window type. -
Method Summary
Modifier and TypeMethodDescriptionstatic WindowDetailLayout.Builderbuilder()layout(EntityPanel entityPanel) Creates and lays out the component to use as the main component of the given entity panel, including its detail panels.is.codion.common.value.Value<EntityPanel.PanelState>panelState(EntityPanel detailPanel) Note that the detail panel state may be shared between detail panels, as they may be displayed in a shared window.voidselect(EntityPanel entityPanel) Selects the given entity panel.static WindowDetailLayoutstatic WindowDetailLayoutwindowDetailLayout(WindowDetailLayout.WindowType windowType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface is.codion.swing.framework.ui.EntityPanel.DetailLayout
updateUI
-
Method Details
-
layout
Description copied from interface:EntityPanel.DetailLayoutCreates and lays out the component to use as the main component of the given entity panel, including its detail panels. In case of no detail panels, this method should return theEntityPanel.mainPanel().- Specified by:
layoutin interfaceEntityPanel.DetailLayout- Parameters:
entityPanel- the panel to lay out and configure- Returns:
- the main component
-
panelState
Description copied from interface:EntityPanel.DetailLayoutNote that the detail panel state may be shared between detail panels, as they may be displayed in a shared window.- Specified by:
panelStatein interfaceEntityPanel.DetailLayout- Parameters:
detailPanel- the detail panel- Returns:
- the value controlling the state of the given detail panel
-
select
Description copied from interface:EntityPanel.SelectorSelects the given entity panel. If the entityPanel is not available, calling this method has no effect.- Specified by:
selectin interfaceEntityPanel.Selector- Parameters:
entityPanel- the entity panel to select
-
windowDetailLayout
- Returns:
- a new
WindowDetailLayoutinstance based onWindowDetailLayout.WindowType.DIALOG.
-
windowDetailLayout
- Parameters:
windowType- the window type- Returns:
- a new
WindowDetailLayoutinstance based on the given window type.
-
builder
- Returns:
- a new
WindowDetailLayout.Builderinstance
-