Enum Class SelectArtyAutoHitHexDisplay.ArtyAutoHitCommand
java.lang.Object
java.lang.Enum<SelectArtyAutoHitHexDisplay.ArtyAutoHitCommand>
megamek.client.ui.panels.phaseDisplay.SelectArtyAutoHitHexDisplay.ArtyAutoHitCommand
- All Implemented Interfaces:
Serializable,Comparable<SelectArtyAutoHitHexDisplay.ArtyAutoHitCommand>,Constable,StatusBarPhaseDisplay.PhaseCommand
- Enclosing class:
SelectArtyAutoHitHexDisplay
public static enum SelectArtyAutoHitHexDisplay.ArtyAutoHitCommand
extends Enum<SelectArtyAutoHitHexDisplay.ArtyAutoHitCommand>
implements StatusBarPhaseDisplay.PhaseCommand
This enumeration lists all the possible ActionCommands that can be carried out during the select arty auto hit
phase. Each command has a string for the command plus a flag that determines what unit type it is appropriate
for.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetCmd()intvoidsetPriority(int priority) toString()Returns 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
-
SET_HIT_HEX
-
-
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
-
getCmd
- Specified by:
getCmdin interfaceStatusBarPhaseDisplay.PhaseCommand
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceStatusBarPhaseDisplay.PhaseCommand
-
setPriority
public void setPriority(int priority) - Specified by:
setPriorityin interfaceStatusBarPhaseDisplay.PhaseCommand
-
toString
- Overrides:
toStringin classEnum<SelectArtyAutoHitHexDisplay.ArtyAutoHitCommand>
-
getHotKeyDesc
-