Enum Class LinearLayout.Orientation

java.lang.Object
java.lang.Enum<LinearLayout.Orientation>
net.minecraft.client.gui.layouts.LinearLayout.Orientation
All Implemented Interfaces:
Serializable, Comparable<LinearLayout.Orientation>, Constable
Enclosing class:
LinearLayout

public static enum LinearLayout.Orientation extends Enum<LinearLayout.Orientation>
  • Enum Constant Details

  • Constructor Details

    • Orientation

      private Orientation()
  • Method Details

    • values

      public static LinearLayout.Orientation[] 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 LinearLayout.Orientation 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
    • getPrimaryLength

      int getPrimaryLength(LayoutElement p_265322_)
    • getPrimaryLength

      int getPrimaryLength(LinearLayout.ChildContainer p_265173_)
    • getSecondaryLength

      int getSecondaryLength(LayoutElement p_265570_)
    • getSecondaryLength

      int getSecondaryLength(LinearLayout.ChildContainer p_265345_)
    • setPrimaryPosition

      void setPrimaryPosition(LinearLayout.ChildContainer p_265660_, int p_265194_)
    • setSecondaryPosition

      void setSecondaryPosition(LinearLayout.ChildContainer p_265536_, int p_265313_, int p_265295_)
    • getPrimaryPosition

      int getPrimaryPosition(LayoutElement p_265209_)
    • getSecondaryPosition

      int getSecondaryPosition(LayoutElement p_265676_)