Enum Class FuelTank
- All Implemented Interfaces:
- Serializable,- Comparable<FuelTank>,- Constable,- ComboAlias
An enumeration to store MS Flight Simulator Fuel Tank codes.
- Since:
- 2.0
- Version:
- 7.2
- Author:
- Luke
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionintcode()Returns the tank code.static FuelTankRetreives a Fuel Tank by name.Returns the alias to use in the HTML <OPTION> element.Returns the visible name to use in the HTML <OPTION> element.getName()Returns the tank name.static FuelTankReturns the enum constant of this class with the specified name.static FuelTank[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
CENTER
- 
CENTER_2
- 
CENTER_3
- 
LEFT_MAIN
- 
LEFT_AUX
- 
LEFT_TIP
- 
RIGHT_MAIN
- 
RIGHT_AUX
- 
RIGHT_TIP
- 
EXTERNAL
- 
EXTERNAL_2
 
- 
- 
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
 
- 
codepublic int code()Returns the tank code.- Returns:
- the code
 
- 
getName
- 
getComboNameDescription copied from interface:ComboAliasReturns the visible name to use in the HTML <OPTION> element.- Specified by:
- getComboNamein interface- ComboAlias
- Returns:
- The visible name for this entry
 
- 
getComboAliasDescription copied from interface:ComboAliasReturns the alias to use in the HTML <OPTION> element.- Specified by:
- getComboAliasin interface- ComboAlias
- Returns:
- The alias for this entry
 
- 
get
 
-