Class FloatingEquipmentDatabaseDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
megamek.client.ui.dialogs.abstractDialogs.AbstractDialog
megameklab.ui.dialog.AbstractMMLDialog
megameklab.ui.dialog.FloatingEquipmentDatabaseDialog
All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class FloatingEquipmentDatabaseDialog extends AbstractMMLDialog
A dialog for the floating equipment database. This dialog is non-focusable so that shortcut keys of the main MML window continue to work when working with this dialog. As a consequence, the text filter cannot be used and pressing Enter to add equipment does not work in this dialog.
See Also:
  • Constructor Details

    • FloatingEquipmentDatabaseDialog

      public FloatingEquipmentDatabaseDialog(JFrame frame, AbstractEquipmentDatabaseView equipmentDatabase)
      Constructs a dialog for the floating equipment database. An AbstractEquipmentDatabaseView that is suitable for the displayed unit must be provided.
  • Method Details

    • setRefresh

      public void setRefresh(RefreshListener refresh)
    • refresh

      public void refresh()
    • createCenterPane

      protected Container createCenterPane()
      Specified by:
      createCenterPane in class megamek.client.ui.dialogs.abstractDialogs.AbstractDialog