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