Package mekhq.gui.enums
Enum Class MHQTabType
- All Implemented Interfaces:
- Serializable,- Comparable<MHQTabType>,- Constable
Identifies the standard tabs and provides a creation method. The mnemonics used in this are included in the list at
 
#initMenu(), and they MUST be unique on that list. The order in which the tabs appear on the
 CampaignGUI is determined by the order in which they are declared here.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptioncreateTab(CampaignGUI gui) intbooleanbooleanbooleanbooleanisHangar()booleanbooleanbooleanisMekLab()booleanbooleanbooleanbooleanisTOE()booleanstatic MHQTabTypeparseFromString(String source) toString()static MHQTabTypeReturns the enum constant of this class with the specified name.static MHQTabType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
COMMAND_CENTER
- 
INTERSTELLAR_MAP
- 
TOE
- 
BRIEFING_ROOM
- 
STRAT_CON
- 
PERSONNEL
- 
HANGAR
- 
REPAIR_BAY
- 
WAREHOUSE
- 
INFIRMARY
- 
FINANCES
- 
MEK_LAB
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getMnemonicpublic int getMnemonic()
- 
isCommandCenterpublic boolean isCommandCenter()
- 
isTOEpublic boolean isTOE()
- 
isBriefingRoompublic boolean isBriefingRoom()
- 
isInterstellarMappublic boolean isInterstellarMap()
- 
isPersonnelpublic boolean isPersonnel()
- 
isHangarpublic boolean isHangar()
- 
isWarehousepublic boolean isWarehouse()
- 
isRepairBaypublic boolean isRepairBay()
- 
isInfirmarypublic boolean isInfirmary()
- 
isFinancespublic boolean isFinances()
- 
isMekLabpublic boolean isMekLab()
- 
isStratConpublic boolean isStratCon()
- 
createTab
- 
toString- Overrides:
- toStringin class- Enum<MHQTabType>
 
- 
parseFromString
 
-