Enum Class GuiSelector.Dependency

java.lang.Object
java.lang.Enum<GuiSelector.Dependency>
com.render.api.gui.style.GuiSelector.Dependency
All Implemented Interfaces:
Serializable, Comparable<GuiSelector.Dependency>, Constable
Enclosing class:
GuiSelector

public static enum GuiSelector.Dependency extends Enum<GuiSelector.Dependency>
External matching dependencies used by retained style invalidation.
  • Enum Constant Details

    • RELATIONSHIP

      public static final GuiSelector.Dependency RELATIONSHIP
      Parent, ancestor or sibling selector relationships.
    • STRUCTURE

      public static final GuiSelector.Dependency STRUCTURE
      Child position, type position, root or empty predicates.
    • DESCENDANT_STATE

      public static final GuiSelector.Dependency DESCENDANT_STATE
      Focus-within state read from retained descendants.
    • OPAQUE_PREDICATE

      public static final GuiSelector.Dependency OPAQUE_PREDICATE
      Attribute predicates whose captured application dependencies cannot be inspected.
  • Method Details

    • values

      public static GuiSelector.Dependency[] 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 GuiSelector.Dependency 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