KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > sound > sampled > LineListener


1 /*
2  * @(#)LineListener.java 1.9 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.sound.sampled;
9
10
11
12 /**
13  * Instances of classes that implement the <code>LineListener</code> interface can register to
14  * receive events when a line's status changes.
15  *
16  * @author Kara Kytle
17  * @version 1.9 03/12/19
18  *
19  * @see Line
20  * @see Line#addLineListener
21  * @see Line#removeLineListener
22  * @see LineEvent
23  *
24  * @since 1.3
25  */

26 /*
27  * Instances of classes that implement the <code>LineListener</code> interface can register to
28  * receive events when a line's status changes.
29  *
30  * @see Line
31  * @see Line#addLineListener
32  * @see Line#removeLineListener
33  * @see LineEvent
34  *
35  * @version 1.9 03/12/19
36  * @author Kara Kytle
37  */

38 public interface LineListener extends java.util.EventListener JavaDoc {
39
40     /**
41      * Informs the listener that a line's state has changed. The listener can then invoke
42      * <code>LineEvent</code> methods to obtain information about the event.
43      * @param event a line event that describes the change
44      */

45     /*
46      * Informs the listener that a line's state has changed. The listener can then invoke
47      * <code>LineEvent</code> methods to obtain information about the event.
48      * @param event a line event that describes the change
49      */

50     public void update(LineEvent JavaDoc event);
51     
52 } // interface LineListener
53
Popular Tags