org.rococoa.contrib.appkit
Enum NSSpeechSynthesizer.NSSpeechError.ErrorProperty

java.lang.Object
  extended by java.lang.Enum<NSSpeechSynthesizer.NSSpeechError.ErrorProperty>
      extended by org.rococoa.contrib.appkit.NSSpeechSynthesizer.NSSpeechError.ErrorProperty
All Implemented Interfaces:
Serializable, Comparable<NSSpeechSynthesizer.NSSpeechError.ErrorProperty>, NativeEnum<NSString>
Enclosing class:
NSSpeechSynthesizer.NSSpeechError

public static enum NSSpeechSynthesizer.NSSpeechError.ErrorProperty
extends Enum<NSSpeechSynthesizer.NSSpeechError.ErrorProperty>
implements NativeEnum<NSString>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rococoa.contrib.NativeEnum
NativeEnum.Resolver
 
Enum Constant Summary
Count
           
NewestCharacterOffset
           
NewestCode
           
OldestCharacterOffset
           
OldestCode
           
 
Method Summary
 NSString getNativeValue()
          Get the native value associated with this enum value
static NSSpeechSynthesizer.NSSpeechError.ErrorProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NSSpeechSynthesizer.NSSpeechError.ErrorProperty[] 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

Count

public static final NSSpeechSynthesizer.NSSpeechError.ErrorProperty Count

OldestCode

public static final NSSpeechSynthesizer.NSSpeechError.ErrorProperty OldestCode

OldestCharacterOffset

public static final NSSpeechSynthesizer.NSSpeechError.ErrorProperty OldestCharacterOffset

NewestCode

public static final NSSpeechSynthesizer.NSSpeechError.ErrorProperty NewestCode

NewestCharacterOffset

public static final NSSpeechSynthesizer.NSSpeechError.ErrorProperty NewestCharacterOffset
Method Detail

values

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

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

valueOf

public static NSSpeechSynthesizer.NSSpeechError.ErrorProperty 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

getNativeValue

public NSString getNativeValue()
Description copied from interface: NativeEnum
Get the native value associated with this enum value

Specified by:
getNativeValue in interface NativeEnum<NSString>
Returns:
the native value associated with this enum value


Copyright © 2012. All Rights Reserved.