Enum Class EqualSpacingLayout.Orientation

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

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

  • Constructor Details

    • Orientation

      private Orientation()
  • Method Details

    • values

      public static EqualSpacingLayout.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 EqualSpacingLayout.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

      private int getPrimaryLength(LayoutElement widget)
    • getPrimaryLength

      private int getPrimaryLength(EqualSpacingLayout.ChildContainer childContainer)
    • getSecondaryLength

      private int getSecondaryLength(LayoutElement widget)
    • getSecondaryLength

      private int getSecondaryLength(EqualSpacingLayout.ChildContainer childContainer)
    • setPrimaryPosition

      private void setPrimaryPosition(EqualSpacingLayout.ChildContainer childContainer, int position)
    • setSecondaryPosition

      private void setSecondaryPosition(EqualSpacingLayout.ChildContainer childContainer, int position, int availableSpace)
    • getPrimaryPosition

      private int getPrimaryPosition(LayoutElement widget)
    • getSecondaryPosition

      private int getSecondaryPosition(LayoutElement widget)