Package be.yildizgames.module.controller
Enum ControllerModel
- java.lang.Object
-
- java.lang.Enum<ControllerModel>
-
- be.yildizgames.module.controller.ControllerModel
-
- All Implemented Interfaces:
Serializable,Comparable<ControllerModel>
public enum ControllerModel extends Enum<ControllerModel>
- Author:
- Grégory Van den Borre
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONEPS4_CONTROLLERUNKNOWNXBOX1_CONTROLLER
-
Method Summary
Modifier and Type Method Description static ControllerModelvalueOf(String name)Returns the enum constant of this type with the specified name.static ControllerModel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ControllerModel NONE
-
UNKNOWN
public static final ControllerModel UNKNOWN
-
XBOX1_CONTROLLER
public static final ControllerModel XBOX1_CONTROLLER
-
PS4_CONTROLLER
public static final ControllerModel PS4_CONTROLLER
-
-
Method Detail
-
values
public static ControllerModel[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControllerModel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-