Enum Class GuiViewProgressRange

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

public enum GuiViewProgressRange extends Enum<GuiViewProgressRange>
Named subject/viewport interval used by a view-progress timeline.
  • Enum Constant Details

    • COVER

      public static final GuiViewProgressRange COVER
      From first entry until final exit.
    • CONTAIN

      public static final GuiViewProgressRange CONTAIN
      While the subject crosses from fully entered to the opposite contained edge.
    • ENTRY

      public static final GuiViewProgressRange ENTRY
      From first entry until the subject has fully entered.
    • EXIT

      public static final GuiViewProgressRange EXIT
      From the beginning of exit until the subject has fully exited.
  • Method Details

    • values

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