KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thoughtriver > open > vectorvisuals > ui > SelectionListener


1 /*
2  * SelectionListener.java
3  *
4  * Created on 15 June 2003, 02:16
5  */

6
7 package com.thoughtriver.open.vectorvisuals.ui;
8
9 import java.util.*;
10
11 /**
12  * This interface is implemented by classes that want to receive notification
13  * when a <CODE>VisualObject</CODE> is selected or deselected. <CODE>SelectionListener</CODE>s
14  * are added using the Vector Visuals <CODE>SelectionManager</CODE> class.
15  *
16  * @author Brandon Franklin
17  * @version $Date: 2006/11/25 09:00:37 $
18  */

19 public interface SelectionListener extends EventListener {
20
21     /**
22      * Notifies this listener that a <CODE>VisualObject</CODE> has been
23      * selected or deselected.
24      *
25      * @param evt the event object that describes the selection or deselection
26      */

27     void selectionChanged(SelectionEvent evt);
28
29 }
30
Popular Tags