Enum Class PreEndDeclarationsDisplay.PreEndCommand
java.lang.Object
java.lang.Enum<PreEndDeclarationsDisplay.PreEndCommand>
megamek.client.ui.panels.phaseDisplay.PreEndDeclarationsDisplay.PreEndCommand
- All Implemented Interfaces:
Serializable,Comparable<PreEndDeclarationsDisplay.PreEndCommand>,Constable,StatusBarPhaseDisplay.PhaseCommand
- Enclosing class:
PreEndDeclarationsDisplay
public static enum PreEndDeclarationsDisplay.PreEndCommand
extends Enum<PreEndDeclarationsDisplay.PreEndCommand>
implements StatusBarPhaseDisplay.PhaseCommand
-
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 p) 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
-
PREEND_INITIATE_INFANTRY_COMBAT
-
PREEND_NOVA_NETWORK
-
PREEND_VAR_RANGE_TARGETING
-
PREEND_ABANDON
-
PREEND_DETONATE_CHARGES
-
PREEND_MINESWEEPER
-
PREEND_DEPLOY_BRIDGE
-
PREEND_NEXT
-
-
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 p) - Specified by:
setPriorityin interfaceStatusBarPhaseDisplay.PhaseCommand
-
toString
- Overrides:
toStringin classEnum<PreEndDeclarationsDisplay.PreEndCommand>
-
getHotKeyDesc
-