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 select one detail panel.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    activated(EntityPanel detailPanel)
    Called when the given detail panel is activated.
    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

      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.
      Parameters:
      detailPanel - the detail panel
      Returns:
      the value controlling the state of the given detail panel
    • activated

      default void activated(EntityPanel detailPanel)
      Called when the given detail panel is activated.
      Parameters:
      detailPanel - the detail panel to select
      See Also: