Class DefaultKitCampaignOptionsChangedConfirmationDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
mekhq.gui.campaignOptions.optionChangeDialogs.DefaultKitCampaignOptionsChangedConfirmationDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class DefaultKitCampaignOptionsChangedConfirmationDialog extends JDialog
Confirmation dialog shown when one or more default kit options are switched from one real kit to another, offering to move everyone carrying the old default onto the new one. The new kits come from stores; any shortfall is ordered and paid for as usual.
Since:
0.51.01
See Also:
  • Field Details

    • IMAGE_WIDTH

      protected static final int IMAGE_WIDTH
    • CENTER_WIDTH

      protected static final int CENTER_WIDTH
  • Constructor Details

    • DefaultKitCampaignOptionsChangedConfirmationDialog

      public DefaultKitCampaignOptionsChangedConfirmationDialog(Campaign campaign, List<DefaultKitChanges.Change> changes)
      Parameters:
      campaign - the campaign whose options changed
      changes - the switched defaults; the dialog should only be shown when this is non-empty
      Since:
      0.51.01