Enum Class InventoryTitle
- All Implemented Interfaces:
Serializable
,Comparable<InventoryTitle>
,Constable
Title of a GUI menu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InventoryTitle
getByStringTitle(String stringTitle)
Get this enum from the string title displayed on top of an inventoryGet the title which is displayed on top of an inventorystatic InventoryTitle
Returns the enum constant of this class with the specified name.static InventoryTitle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VEHICLE_MENU
-
CHOOSE_VEHICLE_MENU
-
CHOOSE_LANGUAGE_MENU
-
CONFIRM_VEHICLE_MENU
-
VEHICLE_RESTORE_MENU
-
VEHICLE_EDIT_MENU
-
VEHICLE_SETTINGS_MENU
-
VEHICLE_FUEL_MENU
-
VEHICLE_TRUNK_MENU
-
VEHICLE_MEMBERS_MENU
-
VEHICLE_SPEED_MENU
-
JERRYCAN_MENU
-
VOUCHER_REDEEM_MENU
-
VEHICLE_TRUNK
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getStringTitle
Get the title which is displayed on top of an inventory- Returns:
- Displayed title
-
getByStringTitle
Get this enum from the string title displayed on top of an inventory- Parameters:
stringTitle
- Displayed title- Returns:
- InventoryTitle enum
-