Enum Class InteractiveUI.UILifetime
- All Implemented Interfaces:
Serializable, Comparable<InteractiveUI.UILifetime>, Constable
- Enclosing class:
InteractiveUI
UI lifetime options.
- Since:
- 1.0.5
- Version:
- 1.0.6
- Author:
- HytaleLoader
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlayer can dismiss the UI (e.g., pressing escape).UI can be dismissed or closed through interaction.Player cannot close the UI. -
Method Summary
Modifier and TypeMethodDescriptionstatic InteractiveUI.UILifetimeReturns the enum constant of this class with the specified name.static InteractiveUI.UILifetime[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAN_DISMISS
Player can dismiss the UI (e.g., pressing escape). -
CANNOT_CLOSE
Player cannot close the UI. -
CAN_DISMISS_OR_CLOSE_THROUGH_INTERACTION
UI can be dismissed or closed through interaction.
-
-
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
-