Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityPanel.DetailController
- Enclosing class:
- EntityPanel
public static interface EntityPanel.DetailController
Controls the detail panels for a EntityPanel instance.
Provides a way to change the
EntityPanel.PanelState
and to
respond to detail panel activation.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
activated
(EntityPanel detailPanel) Called when the given detail panel is activated.default 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.
-
Method Details
-
panelState
Note that the detail panel state may be shared between detail panels, as they may be displayed in a shared window.- Parameters:
detailPanel
- the detail panel- Returns:
- the
Value
controlling the state of the given detail panel
-
activated
Called when the given detail panel is activated.- Parameters:
detailPanel
- the detail panel to select- See Also:
-