Package megamek.client.ratgenerator
Enum Class FormationNamingConvention.DesignatorStyle
java.lang.Object
java.lang.Enum<FormationNamingConvention.DesignatorStyle>
megamek.client.ratgenerator.FormationNamingConvention.DesignatorStyle
- All Implemented Interfaces:
Serializable,Comparable<FormationNamingConvention.DesignatorStyle>,Constable
- Enclosing class:
FormationNamingConvention
public static enum FormationNamingConvention.DesignatorStyle
extends Enum<FormationNamingConvention.DesignatorStyle>
How the formations at one echelon are designated relative to their siblings.
Only ALPHABET consults the consumer's user-facing naming preference; every other
value is fixed by the faction's own tradition. That split is deliberate - it lets a player
choose between the CCB, ICAO, plain-letter and Greek alphabets for Inner Sphere companies
without that choice overwriting canon Clan or ComStar designations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe consumer's selected naming alphabet: Able/Baker, Alpha/Bravo, A/B, or Alpha/Beta.Keep the ruleset's own name.Greek letters: Alpha, Beta, Gamma.Arabic numerals: 1, 2, 3.Numeric ordinals: 1st, 2nd, 3rd - the form regimental designations conventionally take.Spelled ordinals: First, Second, Third.Roman numerals: I, II, III. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENGINE
Keep the ruleset's own name. The consumer disambiguates only when two siblings collide, and never rewrites a name that is already unique among them. -
ALPHABET
The consumer's selected naming alphabet: Able/Baker, Alpha/Bravo, A/B, or Alpha/Beta. -
ORDINAL
Spelled ordinals: First, Second, Third. -
NUMERIC_ORDINAL
Numeric ordinals: 1st, 2nd, 3rd - the form regimental designations conventionally take. -
ROMAN
Roman numerals: I, II, III. -
GREEK
Greek letters: Alpha, Beta, Gamma. Fixed regardless of the consumer's alphabet preference, because the factions that use it (Clan galaxies) use it canonically. -
NUMBER
Arabic numerals: 1, 2, 3.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-