Enum Class AutomaticSize

java.lang.Object
java.lang.Enum<AutomaticSize>
io.github.thecsdev.tcdcommons.api.util.enumerations.AutomaticSize
All Implemented Interfaces:
Serializable, Comparable<AutomaticSize>, Constable

public enum AutomaticSize extends Enum<AutomaticSize>
  • Enum Constant Details

    • X

      public static final AutomaticSize X
      Automatic size is applied in the X axis.
    • Y

      public static final AutomaticSize Y
      Automatic size is applied in the Y axis.
    • XY

      public static final AutomaticSize XY
      Automatic size is applied in both axes.
  • Method Details

    • values

      public static AutomaticSize[] 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 AutomaticSize 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
    • hasX

      public final boolean hasX()
    • hasY

      public final boolean hasY()