Class EntityReadoutDialog

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

public class EntityReadoutDialog extends AbstractDialog
A dialog showing the unit readout for a given unit. It shows an EntityViewPane with the entity summary, TRO and AS card panels within a TabbedPane.
See Also:
  • Constructor Details

    • EntityReadoutDialog

      public EntityReadoutDialog(JFrame frame, Entity entity)
      Constructs a non-modal dialog showing the readout (TRO) of the given entity.
    • EntityReadoutDialog

      public EntityReadoutDialog(JFrame frame, boolean modal, Entity entity)
      Constructs a dialog showing the readout (TRO) of the given entity with the given modality.
  • 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
    • setCustomPreferences

      protected void setCustomPreferences(PreferencesNode preferences) throws Exception
      Description copied from class: AbstractDialog
      Adds custom preferences to the child dialog. By default, this dialog will track preferences related to the size and position of the dialog. Other preferences can be added by overriding this method.
      Overrides:
      setCustomPreferences in class AbstractDialog
      Parameters:
      preferences - the preference node for this dialog
      Throws:
      Exception - if there's an issue initializing the preferences. Normally this means a component has not had its name value set.