net.sf.freecol.client.gui.sound
Enum SoundLibrary.SoundEffect

java.lang.Object
  extended by java.lang.Enum<SoundLibrary.SoundEffect>
      extended by net.sf.freecol.client.gui.sound.SoundLibrary.SoundEffect
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SoundLibrary.SoundEffect>
Enclosing class:
SoundLibrary

public static enum SoundLibrary.SoundEffect
extends java.lang.Enum<SoundLibrary.SoundEffect>


Enum Constant Summary
ATTACK
           
ATTACK_ARTILLERY
           
ATTACK_DRAGOON
           
ATTACK_NAVAL
           
BUILDING_COMPLETE
           
CAPTURED_BY_ARTILLERY
           
ERROR
           
ILLEGAL_MOVE
           
LOAD_CARGO
           
MISSION_ESTABLISHED
           
SELL_CARGO
           
SUNK
           
 
Method Summary
static SoundLibrary.SoundEffect valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SoundLibrary.SoundEffect[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERROR

public static final SoundLibrary.SoundEffect ERROR

ATTACK

public static final SoundLibrary.SoundEffect ATTACK

ILLEGAL_MOVE

public static final SoundLibrary.SoundEffect ILLEGAL_MOVE

LOAD_CARGO

public static final SoundLibrary.SoundEffect LOAD_CARGO

SELL_CARGO

public static final SoundLibrary.SoundEffect SELL_CARGO

ATTACK_ARTILLERY

public static final SoundLibrary.SoundEffect ATTACK_ARTILLERY

SUNK

public static final SoundLibrary.SoundEffect SUNK

ATTACK_DRAGOON

public static final SoundLibrary.SoundEffect ATTACK_DRAGOON

ATTACK_NAVAL

public static final SoundLibrary.SoundEffect ATTACK_NAVAL

CAPTURED_BY_ARTILLERY

public static final SoundLibrary.SoundEffect CAPTURED_BY_ARTILLERY

BUILDING_COMPLETE

public static final SoundLibrary.SoundEffect BUILDING_COMPLETE

MISSION_ESTABLISHED

public static final SoundLibrary.SoundEffect MISSION_ESTABLISHED
Method Detail

values

public static SoundLibrary.SoundEffect[] 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 (SoundLibrary.SoundEffect c : SoundLibrary.SoundEffect.values())
    System.out.println(c);

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

valueOf

public static SoundLibrary.SoundEffect valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null