Class FactionComboBox

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox<megamek.common.enums.Faction>
megameklab.ui.util.CustomComboBox<megamek.common.enums.Faction>
megameklab.ui.util.FactionComboBox
All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener

public class FactionComboBox extends CustomComboBox<megamek.common.enums.Faction>
A ComboBox that provides a list of factions appropriate to a unit's intro year and with the era-appropriate name. The underlying data type is the ITechnology Faction ENUM.
See Also:
  • Constructor Details

    • FactionComboBox

      public FactionComboBox()
  • Method Details

    • refresh

      public void refresh(int year)