KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > event > ListSelectionListener


1 /*
2  * @(#)ListSelectionListener.java 1.12 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.swing.event;
9
10
11 import java.util.EventListener JavaDoc;
12
13
14 /**
15  * The listener that's notified when a lists selection value
16  * changes.
17  *
18  * @see javax.swing.ListSelectionModel
19  *
20  * @version 1.12 12/19/03
21  * @author Hans Muller
22  */

23
24 public interface ListSelectionListener extends EventListener JavaDoc
25 {
26   /**
27    * Called whenever the value of the selection changes.
28    * @param e the event that characterizes the change.
29    */

30   void valueChanged(ListSelectionEvent JavaDoc e);
31 }
32
33
34
Popular Tags