org.rococoa.contrib.appkit
Enum NSSpeechDictionary.SpeechDictionaryProperty

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

public static enum NSSpeechDictionary.SpeechDictionaryProperty
extends Enum<NSSpeechDictionary.SpeechDictionaryProperty>
implements NativeEnum<NSString>

Defines the properties of a speech dictionary


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rococoa.contrib.NativeEnum
NativeEnum.Resolver
 
Enum Constant Summary
Abbreviations
           
LocaleIdentifier
           
ModificationDate
           
Pronunciations
           
 
Method Summary
 NSString getNativeValue()
          Get the native value associated with this enum value
static NSSpeechDictionary.SpeechDictionaryProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NSSpeechDictionary.SpeechDictionaryProperty[] 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

LocaleIdentifier

public static final NSSpeechDictionary.SpeechDictionaryProperty LocaleIdentifier

ModificationDate

public static final NSSpeechDictionary.SpeechDictionaryProperty ModificationDate

Pronunciations

public static final NSSpeechDictionary.SpeechDictionaryProperty Pronunciations

Abbreviations

public static final NSSpeechDictionary.SpeechDictionaryProperty Abbreviations
Method Detail

values

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

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

valueOf

public static NSSpeechDictionary.SpeechDictionaryProperty 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.