Enum Class ContenuPlateau

java.lang.Object
java.lang.Enum<ContenuPlateau>
gloo.projet.metier.ContenuPlateau
All Implemented Interfaces:
Serializable, Comparable<ContenuPlateau>, Constable

public enum ContenuPlateau extends Enum<ContenuPlateau>
Énumération des contenus des cases pour l'IHM du jeu SlidingBloc. Cette énumération figure dans le paquetage metier pour pouvoir etre utilisée par les classes de ce paquetage sans introduire une dépendance vers les paquetages controle ou ihm.
Version:
1.0
Author:
Dominique Marcadet
  • Enum Constant Details

  • Method Details

    • values

      public static ContenuPlateau[] 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 ContenuPlateau 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