org.rococoa.contrib.appkit
Enum NSVoice.VoiceProperty

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

public static enum NSVoice.VoiceProperty
extends Enum<NSVoice.VoiceProperty>
implements NativeEnum<NSString>

Defines the properties of a voice


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rococoa.contrib.NativeEnum
NativeEnum.Resolver
 
Enum Constant Summary
Age
           
DemoText
           
Gender
           
Identifier
           
IndividuallySpokenCharacters
           
Language
           
LocaleIdentifier
           
Name
           
SupportedCharacters
           
 
Method Summary
 NSString getNativeValue()
          Get the native value associated with this enum value
static NSVoice.VoiceProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NSVoice.VoiceProperty[] 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

Name

public static final NSVoice.VoiceProperty Name

Identifier

public static final NSVoice.VoiceProperty Identifier

Age

public static final NSVoice.VoiceProperty Age

Gender

public static final NSVoice.VoiceProperty Gender

DemoText

public static final NSVoice.VoiceProperty DemoText

LocaleIdentifier

public static final NSVoice.VoiceProperty LocaleIdentifier

SupportedCharacters

public static final NSVoice.VoiceProperty SupportedCharacters

IndividuallySpokenCharacters

public static final NSVoice.VoiceProperty IndividuallySpokenCharacters

Language

public static final NSVoice.VoiceProperty Language
Method Detail

values

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

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

valueOf

public static NSVoice.VoiceProperty 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.