Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityApplicationPanel.ApplicationLayout
- All Known Implementing Classes:
TabbedApplicationLayout
- Enclosing class:
- EntityApplicationPanel<M extends SwingEntityApplicationModel>
public static interface EntityApplicationPanel.ApplicationLayout
Handles laying out an EntityApplicationPanel.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
activated
(EntityPanel entityPanel) Called when the given entity panel is activated, responsible for making sure it becomes visible.layout()
Lays out the main component for a given application panel.
-
Method Details
-
layout
JComponent layout()Lays out the main component for a given application panel. Note that this method is responsible for initializing any visible entity panels usingEntityPanel.initialize()
.- Returns:
- the main application component
- Throws:
IllegalStateException
- in case the panel has already been laid out
-
activated
Called when the given entity panel is activated, responsible for making sure it becomes visible.- Parameters:
entityPanel
- the entity panel being activated- See Also:
-