Class LiveReadoutDialog

All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class LiveReadoutDialog extends AbstractDialog
A dialog showing the unit readout, TRO, AS Card and Faction info for a given unit. The Readout is kept updated until the window is closed. This dialog is always non-modal.
See Also:
  • Constructor Details

    • LiveReadoutDialog

      public LiveReadoutDialog(JFrame frame, Game game, int entityId)
      Constructs a non-modal dialog showing and updating the EntityReadout of the given entity.
  • Method Details

    • createCenterPane

      protected Container createCenterPane()
      Description copied from class: AbstractDialog
      This is used to create the dialog's center pane
      Specified by:
      createCenterPane in class AbstractDialog
      Returns:
      the center pane of the dialog
    • cancelAction

      protected void cancelAction()
      Description copied from class: AbstractDialog
      Action performed when the Cancel button is clicked, the dialog is closed by the X button, or the escape key is pressed
      Overrides:
      cancelAction in class AbstractDialog