Class PatchworkArmorView

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class PatchworkArmorView extends BuildView implements ActionListener
Displays a list of ComboBoxes with labels that displays the current armor type per location for patchwork armor and allows it to be changed.
See Also:
  • Constructor Details

    • PatchworkArmorView

      public PatchworkArmorView(megamek.common.interfaces.ITechManager techManager)
  • Method Details

    • addListener

      public void addListener(ArmorAllocationListener l)
    • removeListener

      public void removeListener(ArmorAllocationListener l)
    • setFromEntity

      public void setFromEntity(megamek.common.units.Entity en)
    • getArmor

      public megamek.common.equipment.ArmorType getArmor(int location)
    • setArmorType

      public void setArmorType(megamek.common.equipment.ArmorType armor, int location)
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener