Class IView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
AbstractEquipmentDatabaseView, ASBuildView, ASCriticalView, BABuildView, BACriticalView, BMBuildView, BMCriticalView, BMLAMFuelView, CIAdvancedView, CIArmorView, CIAugmentationView, CIEquipmentView, CIFieldGunTableView, CIMountView, CISpecializationView, CVCriticalView, CVEquipmentView, CVWeaponView, LABuildView, LACriticalView, PMBuildView, PMCriticalView, SingleLocationEquipmentView, SummaryView, SVCriticalView, TransportTab, UnallocatedView

public class IView extends JPanel
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getEntity

      public megamek.common.Entity getEntity()
    • getMek

      public megamek.common.Mek getMek()
    • getProtoMek

      public megamek.common.ProtoMek getProtoMek()
    • getTank

      public megamek.common.Tank getTank()
    • getGunEmplacement

      public megamek.common.GunEmplacement getGunEmplacement()
    • getVTOL

      public megamek.common.VTOL getVTOL()
    • getAero

      public megamek.common.Aero getAero()
    • getSmallCraft

      public megamek.common.SmallCraft getSmallCraft()
    • getJumpship

      public megamek.common.Jumpship getJumpship()
    • getBattleArmor

      public megamek.common.BattleArmor getBattleArmor()
    • getInfantry

      public megamek.common.Infantry getInfantry()
    • isSmallCraft

      public boolean isSmallCraft()
      Returns:
      true if the entity has the Small Craft type flag (no instanceof check). This includes DropShips.
    • isJumpShip

      public boolean isJumpShip()
      Returns:
      true if the entity has the JumpShip type flag (no instanceof check). This includes WarShips and Space Stations.
    • isWarShip

      public boolean isWarShip()
      Returns:
      true if the entity has the WarShip type flag (no instanceof check).
    • isVTOL

      public boolean isVTOL()
      Returns:
      true if the entity is a VTOL Combat Vehicle. This is an instanceof check and includes Support VTOLs but not VTOL type Infantry.