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 Type
    Method
    Description
    default void
    activate(EntityPanel detailPanel)
    Called when the detail panel is activated.
    default void
    display(EntityPanel detailPanel)
    Called when the given detail panel should be displayed, responsible for making sure it becomes visible.
    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
    • display

      default void display(EntityPanel detailPanel)
      Called when the given detail panel should be displayed, responsible for making sure it becomes visible.
      Parameters:
      detailPanel - the detail panel to display
    • activate

      default void activate(EntityPanel detailPanel)
      Called when the detail panel is activated.
      Parameters:
      detailPanel - the detail panel to activate