Enum Class RenderPriority

java.lang.Object
java.lang.Enum<RenderPriority>
io.github.toberocat.guiengine.render.RenderPriority
All Implemented Interfaces:
Serializable, Comparable<RenderPriority>, Constable

public enum RenderPriority extends Enum<RenderPriority>
RenderPriority defines the rendering priority levels for GUI components.

Created: 04/02/2023 Author: Tobias Madlberger (Tobias)

  • Enum Constant Details

    • HIGHEST

      public static final RenderPriority HIGHEST
      The highest rendering priority.
    • HIGH

      public static final RenderPriority HIGH
      A high-rendering priority.
    • NORMAL

      public static final RenderPriority NORMAL
      The normal rendering priority (default).
    • LOW

      public static final RenderPriority LOW
      A low-rendering priority.
    • LOWEST

      public static final RenderPriority LOWEST
      The lowest rendering priority.
  • Method Details

    • values

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