Enum Class InventoryTitle

java.lang.Object
java.lang.Enum<InventoryTitle>
nl.mtvehicles.core.infrastructure.enums.InventoryTitle
All Implemented Interfaces:
Serializable, Comparable<InventoryTitle>, Constable

public enum InventoryTitle extends Enum<InventoryTitle>
Title of a GUI menu
  • Enum Constant Details

    • VEHICLE_MENU

      public static final InventoryTitle VEHICLE_MENU
    • CHOOSE_VEHICLE_MENU

      public static final InventoryTitle CHOOSE_VEHICLE_MENU
    • CHOOSE_LANGUAGE_MENU

      public static final InventoryTitle CHOOSE_LANGUAGE_MENU
    • CONFIRM_VEHICLE_MENU

      public static final InventoryTitle CONFIRM_VEHICLE_MENU
    • VEHICLE_RESTORE_MENU

      public static final InventoryTitle VEHICLE_RESTORE_MENU
    • VEHICLE_EDIT_MENU

      public static final InventoryTitle VEHICLE_EDIT_MENU
    • VEHICLE_SETTINGS_MENU

      public static final InventoryTitle VEHICLE_SETTINGS_MENU
    • VEHICLE_FUEL_MENU

      public static final InventoryTitle VEHICLE_FUEL_MENU
    • VEHICLE_TRUNK_MENU

      public static final InventoryTitle VEHICLE_TRUNK_MENU
    • VEHICLE_MEMBERS_MENU

      public static final InventoryTitle VEHICLE_MEMBERS_MENU
    • VEHICLE_SPEED_MENU

      public static final InventoryTitle VEHICLE_SPEED_MENU
    • JERRYCAN_MENU

      public static final InventoryTitle JERRYCAN_MENU
    • VOUCHER_REDEEM_MENU

      public static final InventoryTitle VOUCHER_REDEEM_MENU
    • VEHICLE_TRUNK

      public static final InventoryTitle VEHICLE_TRUNK
  • Method Details

    • values

      public static InventoryTitle[] 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 InventoryTitle 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
    • getStringTitle

      public String getStringTitle()
      Get the title which is displayed on top of an inventory
      Returns:
      Displayed title
    • getByStringTitle

      public static InventoryTitle getByStringTitle(String stringTitle)
      Get this enum from the string title displayed on top of an inventory
      Parameters:
      stringTitle - Displayed title
      Returns:
      InventoryTitle enum