Package mekhq.campaign.campaignOptions
Enum Class CampaignOptionsSystemChanges.FollowUp
java.lang.Object
java.lang.Enum<CampaignOptionsSystemChanges.FollowUp>
mekhq.campaign.campaignOptions.CampaignOptionsSystemChanges.FollowUp
- All Implemented Interfaces:
Serializable,Comparable<CampaignOptionsSystemChanges.FollowUp>,Constable
- Enclosing class:
CampaignOptionsSystemChanges
public static enum CampaignOptionsSystemChanges.FollowUp
extends Enum<CampaignOptionsSystemChanges.FollowUp>
When a system's change opens a follow-up dialog.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSwitching the system on or off opens a dialog.The change never opens a dialog.Only switching the system on opens a dialog. -
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
-
NEVER
The change never opens a dialog. -
WHEN_TURNED_ON
Only switching the system on opens a dialog. -
ALWAYS
Switching the system on or off opens a dialog.
-
-
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
-