com.tootsville.game
Enum SoccerField.RefPhrases

java.lang.Object
  extended by java.lang.Enum<SoccerField.RefPhrases>
      extended by com.tootsville.game.SoccerField.RefPhrases
All Implemented Interfaces:
Serializable, Comparable<SoccerField.RefPhrases>
Enclosing class:
SoccerField

private static enum SoccerField.RefPhrases
extends Enum<SoccerField.RefPhrases>

Just for convenience

Author:
ewinkelman

Enum Constant Summary
gameOn
          WRITEME: Document this brpocock@star-hope.org
goal
          WRITEME: Document this brpocock@star-hope.org
newGame
          WRITEME: Document this brpocock@star-hope.org
outOfBounds
          WRITEME: Document this brpocock@star-hope.org
score
          WRITEME: Document this brpocock@star-hope.org
 
Method Summary
static SoccerField.RefPhrases valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SoccerField.RefPhrases[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

gameOn

public static final SoccerField.RefPhrases gameOn
WRITEME: Document this brpocock@star-hope.org


newGame

public static final SoccerField.RefPhrases newGame
WRITEME: Document this brpocock@star-hope.org


score

public static final SoccerField.RefPhrases score
WRITEME: Document this brpocock@star-hope.org


outOfBounds

public static final SoccerField.RefPhrases outOfBounds
WRITEME: Document this brpocock@star-hope.org


goal

public static final SoccerField.RefPhrases goal
WRITEME: Document this brpocock@star-hope.org

Method Detail

values

public static SoccerField.RefPhrases[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SoccerField.RefPhrases c : SoccerField.RefPhrases.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SoccerField.RefPhrases 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 name
NullPointerException - if the argument is null