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