Enum Class GuiSurface

java.lang.Object
java.lang.Enum<GuiSurface>
dev.boze.api.gui.view.GuiSurface
All Implemented Interfaces:
Serializable, Comparable<GuiSurface>, Constable

public enum GuiSurface extends Enum<GuiSurface>
What an open GUI session is showing.
  • Enum Constant Details

    • CLICK_GUI

      public static final GuiSurface CLICK_GUI
      The module GUI.
    • HUD_EDITOR

      public static final GuiSurface HUD_EDITOR
      The HUD editor.
    • EDITOR

      public static final GuiSurface EDITOR
      Editors alone, such as the account manager opened from the multiplayer screen. The session closes when the last editor closes.
  • Method Details

    • values

      public static GuiSurface[] 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 GuiSurface 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