Enum Class ClickType

java.lang.Object
java.lang.Enum<ClickType>
net.minestom.server.inventory.click.ClickType
All Implemented Interfaces:
Serializable, Comparable<ClickType>, Constable

public enum ClickType extends Enum<ClickType>
  • Enum Constant Details

    • LEFT_CLICK

      public static final ClickType LEFT_CLICK
    • RIGHT_CLICK

      public static final ClickType RIGHT_CLICK
    • CHANGE_HELD

      public static final ClickType CHANGE_HELD
    • START_SHIFT_CLICK

      public static final ClickType START_SHIFT_CLICK
    • SHIFT_CLICK

      public static final ClickType SHIFT_CLICK
    • START_LEFT_DRAGGING

      public static final ClickType START_LEFT_DRAGGING
    • START_RIGHT_DRAGGING

      public static final ClickType START_RIGHT_DRAGGING
    • LEFT_DRAGGING

      public static final ClickType LEFT_DRAGGING
    • RIGHT_DRAGGING

      public static final ClickType RIGHT_DRAGGING
    • END_LEFT_DRAGGING

      public static final ClickType END_LEFT_DRAGGING
    • END_RIGHT_DRAGGING

      public static final ClickType END_RIGHT_DRAGGING
    • START_DOUBLE_CLICK

      public static final ClickType START_DOUBLE_CLICK
    • DOUBLE_CLICK

      public static final ClickType DOUBLE_CLICK
    • DROP

      public static final ClickType DROP
  • Method Details

    • values

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