upstream version 1.2.2
[debian/freetts] / com / sun / speech / engine / SpeechEventDispatcher.java
1 /**
2  * Copyright 1998-2001 Sun Microsystems, Inc.
3  * 
4  * See the file "license.terms" for information on usage and
5  * redistribution of this file, and for a DISCLAIMER OF ALL 
6  * WARRANTIES.
7  */
8 package com.sun.speech.engine;
9
10 import javax.speech.SpeechEvent;
11
12 /**
13  * Interface to be implemented by objects that dispatch
14  * <code>SpeechEvents</code>.
15  *
16  * @see SpeechEventUtilities
17  */
18 public interface SpeechEventDispatcher {
19     /**
20      * Dispatches a <code>SpeechEvent</code> to all appropriate
21      * <code>SpeechEventListeners</code>
22      * on the object that implements this interface.
23      *
24      * @param event the event to dispactch
25      */
26     public void dispatchSpeechEvent(SpeechEvent event);
27 }
28