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 Type
    Method
    Description
    default void
    display(EntityPanel entityPanel)
    Called when the given entity panel should be displayed, responsible for making sure it can be displayed.
    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 using EntityPanel.initialize().
      Returns:
      the main application component
      Throws:
      IllegalStateException - in case the panel has already been laid out
    • display

      default void display(EntityPanel entityPanel)
      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: