Class PMEquipmentTab

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PMEquipmentTab extends AbstractEquipmentTab
The Equipment Tab for ProtoMek units showing the equipment database and the current loadout list.
See Also:
  • Constructor Details

    • PMEquipmentTab

      public PMEquipmentTab(EntitySource eSource)
  • Method Details

    • getEquipmentDatabaseView

      protected AbstractEquipmentDatabaseView getEquipmentDatabaseView()
      Specified by:
      getEquipmentDatabaseView in class AbstractEquipmentTab
    • showInLoadOut

      protected boolean showInLoadOut(megamek.common.Mounted<?> mount)
      Description copied from class: AbstractEquipmentTab
      This method is called for all of a unit's equipment to determine if it is to be shown in the load out view. It may be overridden to hide some equipment in the Equipment Tab's load out view to prevent it from being removed here. Use to hide equipment that is controlled from the Structure Tab. By default, this method returns true.
      Overrides:
      showInLoadOut in class AbstractEquipmentTab
      Parameters:
      mount - the mounted to be checked
      Returns:
      true when the given mounted may be shown in the load out view