Enum Class LogoWidth

java.lang.Object
java.lang.Enum<LogoWidth>
net.dillon.dillonlib.platform.info.LogoWidth
All Implemented Interfaces:
Serializable, Comparable<LogoWidth>, Constable

public enum LogoWidth extends Enum<LogoWidth>
Determines the logo width, which determines where the logo is displayed on the options screen. This is very specific to Dillon's mods.
Since:
1.0
  • Enum Constant Details

    • DEFAULT

      public static final LogoWidth DEFAULT
    • PATCH

      public static final LogoWidth PATCH
    • LONG_PATCH

      public static final LogoWidth LONG_PATCH
  • Method Details

    • values

      public static LogoWidth[] 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 LogoWidth 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
    • getWidthModifier

      public int getWidthModifier()
      Returns:
      the width modiifer for the logo width.