Package javax.speech.synthesis

Examples of javax.speech.synthesis.SpeakableEvent


      cancelled = true;
  }
  if (shouldPost) {
      SpeechEventUtilities.postSpeechEvent(
    this,
    new SpeakableEvent(source, SpeakableEvent.SPEAKABLE_CANCELLED));
  }
    }
View Full Code Here


            done = true;
  }
  if (shouldPost) {
      SpeechEventUtilities.postSpeechEvent(
    this,
    new SpeakableEvent(source, SpeakableEvent.SPEAKABLE_ENDED));
  }
    }
View Full Code Here

     * @see #dispatchSpeechEvent
     */
    public void postSpeakablePaused() {
        SpeechEventUtilities.postSpeechEvent(
            this,
            new SpeakableEvent(source, SpeakableEvent.SPEAKABLE_PAUSED));
    }
View Full Code Here

     * @see #dispatchSpeechEvent
     */
    public void postSpeakableResumed() {
        SpeechEventUtilities.postSpeechEvent(
            this,
            new SpeakableEvent(source, SpeakableEvent.SPEAKABLE_RESUMED));
    }
View Full Code Here

     * @see #dispatchSpeechEvent
     */
    public void postSpeakableStarted() {
        SpeechEventUtilities.postSpeechEvent(
            this,
            new SpeakableEvent(source, SpeakableEvent.SPEAKABLE_STARTED));
    }
View Full Code Here

     * @see #dispatchSpeechEvent
     */
    public void postTopOfQueue() {
        SpeechEventUtilities.postSpeechEvent(
            this,
            new SpeakableEvent(source, SpeakableEvent.TOP_OF_QUEUE));
    }
View Full Code Here

     * @see #dispatchSpeechEvent
     */
    public void postWordStarted(String text, int wordStart, int wordEnd) {
        SpeechEventUtilities.postSpeechEvent(
            this,
            new SpeakableEvent(source, SpeakableEvent.WORD_STARTED,
                               text, wordStart, wordEnd));
    }
View Full Code Here

TOP

Related Classes of javax.speech.synthesis.SpeakableEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.