group1.view.audio
Enum Audio

java.lang.Object
  extended by java.lang.Enum<Audio>
      extended by group1.view.audio.Audio
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Audio>

public enum Audio
extends java.lang.Enum<Audio>

The enumerated type for different audio files.


Enum Constant Summary
MARIO_GROUND_THEME
           
MARIO_JUMP
           
PORKYS_PORKIES
           
QUICK_MAN
           
SMB3_REMIX
           
TETRIS_A
           
TIME_PASSAGE
           
 
Method Summary
 java.lang.String getFilename()
          Get the file name.
 AudioType getType()
          Get the AudioType.
static Audio valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Audio[] 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

MARIO_JUMP

public static final Audio MARIO_JUMP

MARIO_GROUND_THEME

public static final Audio MARIO_GROUND_THEME

PORKYS_PORKIES

public static final Audio PORKYS_PORKIES

QUICK_MAN

public static final Audio QUICK_MAN

SMB3_REMIX

public static final Audio SMB3_REMIX

TETRIS_A

public static final Audio TETRIS_A

TIME_PASSAGE

public static final Audio TIME_PASSAGE
Method Detail

values

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

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

valueOf

public static Audio 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

getType

public AudioType getType()
Get the AudioType.


getFilename

public java.lang.String getFilename()
Get the file name.