org.rococoa.contrib.appkit
Enum NSVoice.VoiceProperty
java.lang.Object
java.lang.Enum<NSVoice.VoiceProperty>
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
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
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.