Enum Class InteractiveUI.UILifetime

java.lang.Object
java.lang.Enum<InteractiveUI.UILifetime>
fr.hytale.loader.api.ui.InteractiveUI.UILifetime
All Implemented Interfaces:
Serializable, Comparable<InteractiveUI.UILifetime>, Constable
Enclosing class:
InteractiveUI

public static enum InteractiveUI.UILifetime extends Enum<InteractiveUI.UILifetime>
UI lifetime options.
Since:
1.0.5
Version:
1.0.6
Author:
HytaleLoader
  • Enum Constant Details

    • CAN_DISMISS

      public static final InteractiveUI.UILifetime CAN_DISMISS
      Player can dismiss the UI (e.g., pressing escape).
    • CANNOT_CLOSE

      public static final InteractiveUI.UILifetime CANNOT_CLOSE
      Player cannot close the UI.
    • CAN_DISMISS_OR_CLOSE_THROUGH_INTERACTION

      public static final InteractiveUI.UILifetime CAN_DISMISS_OR_CLOSE_THROUGH_INTERACTION
      UI can be dismissed or closed through interaction.
  • Method Details

    • values

      public static InteractiveUI.UILifetime[] 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

      public static InteractiveUI.UILifetime valueOf(String name)
      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 name
      NullPointerException - if the argument is null