org.rococoa.contrib.appkit
Enum NSSpeechSynthesizer.SpeechProperty

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

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

Defines the properties associated with a speech synthesizer. Getters and setters have been provided for most of these, so using the properties directly will not usually be necessary.

See Also:
NSSpeechSynthesizer.getProperty(org.rococoa.contrib.appkit.NSSpeechSynthesizer.SpeechProperty), NSSpeechSynthesizer#setProperty(org.rococoa.contrib.appkit.NSSpeechSynthesizer.SpeechProperty, org.rococoa.NSObject)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rococoa.contrib.NativeEnum
NativeEnum.Resolver
 
Enum Constant Summary
CharacterModeProperty
           
CommandDelimiterProperty
           
CurrentVoiceProperty
           
ErrorsProperty
           
InputModeProperty
           
NumberModeProperty
           
OutputToFileURLProperty
           
PhonemeSymbolsProperty
           
PitchBaseProperty
           
PitchModProperty
           
RateProperty
           
RecentSyncProperty
           
ResetProperty
           
StatusProperty
           
SynthesizerInfoProperty
           
VolumeProperty
           
 
Method Summary
 NSString getNativeValue()
          Get the native value associated with this enum value
 String toString()
           
static NSSpeechSynthesizer.SpeechProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NSSpeechSynthesizer.SpeechProperty[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

StatusProperty

public static final NSSpeechSynthesizer.SpeechProperty StatusProperty

ErrorsProperty

public static final NSSpeechSynthesizer.SpeechProperty ErrorsProperty

InputModeProperty

public static final NSSpeechSynthesizer.SpeechProperty InputModeProperty

CharacterModeProperty

public static final NSSpeechSynthesizer.SpeechProperty CharacterModeProperty

NumberModeProperty

public static final NSSpeechSynthesizer.SpeechProperty NumberModeProperty

RateProperty

public static final NSSpeechSynthesizer.SpeechProperty RateProperty

PitchBaseProperty

public static final NSSpeechSynthesizer.SpeechProperty PitchBaseProperty

PitchModProperty

public static final NSSpeechSynthesizer.SpeechProperty PitchModProperty

VolumeProperty

public static final NSSpeechSynthesizer.SpeechProperty VolumeProperty

SynthesizerInfoProperty

public static final NSSpeechSynthesizer.SpeechProperty SynthesizerInfoProperty

RecentSyncProperty

public static final NSSpeechSynthesizer.SpeechProperty RecentSyncProperty

PhonemeSymbolsProperty

public static final NSSpeechSynthesizer.SpeechProperty PhonemeSymbolsProperty

CurrentVoiceProperty

public static final NSSpeechSynthesizer.SpeechProperty CurrentVoiceProperty

CommandDelimiterProperty

public static final NSSpeechSynthesizer.SpeechProperty CommandDelimiterProperty

ResetProperty

public static final NSSpeechSynthesizer.SpeechProperty ResetProperty

OutputToFileURLProperty

public static final NSSpeechSynthesizer.SpeechProperty OutputToFileURLProperty
Method Detail

values

public static NSSpeechSynthesizer.SpeechProperty[] 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.SpeechProperty c : NSSpeechSynthesizer.SpeechProperty.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.SpeechProperty 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

toString

public String toString()
Overrides:
toString in class Enum<NSSpeechSynthesizer.SpeechProperty>


Copyright © 2012. All Rights Reserved.