Class IView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
AbstractEquipmentDatabaseView, ASBuildView, ASCriticalView, BABuildView, BACriticalView, BAManipulatorView, 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.units.Entity getEntity()
    • getMek

      public megamek.common.units.Mek getMek()
    • getProtoMek

      public megamek.common.units.ProtoMek getProtoMek()
    • getTank

      public megamek.common.units.Tank getTank()
    • getGunEmplacement

      public megamek.common.equipment.GunEmplacement getGunEmplacement()
    • getVTOL

      public megamek.common.units.VTOL getVTOL()
    • getAero

      public megamek.common.units.Aero getAero()
    • getSmallCraft

      public megamek.common.units.SmallCraft getSmallCraft()
    • getJumpship

      public megamek.common.units.Jumpship getJumpship()
    • getBattleArmor

      public megamek.common.battleArmor.BattleArmor getBattleArmor()
    • getInfantry

      public megamek.common.units.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.