Enum Class RSScale

java.lang.Object
java.lang.Enum<RSScale>
megameklab.util.RSScale
All Implemented Interfaces:
Serializable, Comparable<RSScale>, Constable

public enum RSScale extends Enum<RSScale>
Scale to use when printing record sheets
  • Enum Constant Details

    • HEXES

      public static final RSScale HEXES
    • INCHES

      public static final RSScale INCHES
    • CENTIMETERS

      public static final RSScale CENTIMETERS
  • Field Details

    • fullName

      public final String fullName
    • abbreviation

      public final String abbreviation
  • Method Details

    • values

      public static RSScale[] 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 RSScale 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
    • shortName

      public String shortName()
      Used for display name when space is limited. If the full name is longer than six characters the abbreviation is used.
      Returns:
      A short name for display