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 voiddisplay(EntityPanel entityPanel) Called when the given entity panel should be displayed, responsible for making sure it can be displayed.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
-
display
Called when the given entity panel should be displayed, responsible for making sure it can be displayed.- Parameters:
entityPanel- the entity panel to display- See Also:
-