Enum Class GuiPointerEvents

java.lang.Object
java.lang.Enum<GuiPointerEvents>
com.render.api.gui.GuiPointerEvents
All Implemented Interfaces:
Serializable, Comparable<GuiPointerEvents>, Constable

public enum GuiPointerEvents extends Enum<GuiPointerEvents>
Controls which parts of a component tree participate in pointer picking.
  • Enum Constant Details

    • AUTO

      public static final GuiPointerEvents AUTO
      The component and its eligible descendants may receive pointer input.
    • CHILDREN_ONLY

      public static final GuiPointerEvents CHILDREN_ONLY
      Only eligible descendants participate; the component's own box is transparent to pointer input.
    • NONE

      public static final GuiPointerEvents NONE
      The component and its descendants are excluded from pointer input. Keyboard focus is unaffected.
  • Method Details

    • values

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