org.fraid.sound.utils
Enum RecordSoundThread.State

java.lang.Object
  extended by java.lang.Enum<RecordSoundThread.State>
      extended by org.fraid.sound.utils.RecordSoundThread.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RecordSoundThread.State>
Enclosing class:
RecordSoundThread

public static enum RecordSoundThread.State
extends java.lang.Enum<RecordSoundThread.State>


Enum Constant Summary
listening
           
listenRequested
           
newThread
           
quitRequested
           
recording
           
recordRequested
           
stopRequested
           
waiting
           
 
Method Summary
static RecordSoundThread.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RecordSoundThread.State[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

listening

public static final RecordSoundThread.State listening

recording

public static final RecordSoundThread.State recording

waiting

public static final RecordSoundThread.State waiting

stopRequested

public static final RecordSoundThread.State stopRequested

quitRequested

public static final RecordSoundThread.State quitRequested

listenRequested

public static final RecordSoundThread.State listenRequested

recordRequested

public static final RecordSoundThread.State recordRequested

newThread

public static final RecordSoundThread.State newThread
Method Detail

values

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

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

valueOf

public static RecordSoundThread.State 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


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.