Enum Class GuiScrollBehavior

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

public enum GuiScrollBehavior extends Enum<GuiScrollBehavior>
Programmatic and user-driven scrolling behavior.
  • Enum Constant Details

    • AUTO

      public static final GuiScrollBehavior AUTO
      Uses the host default, currently immediate movement.
    • INSTANT

      public static final GuiScrollBehavior INSTANT
      Moves to the requested offset immediately.
    • SMOOTH

      public static final GuiScrollBehavior SMOOTH
      Retains a target and approaches it over subsequent client ticks.
  • Method Details

    • values

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