KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > custom > event > TabCloseListener


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: TabCloseListener.java,v $
11    Revision 1.1 2004/01/20 07:38:05 bobintetley
12    Bug fixes and compatibility methods
13
14    Revision 1.2 2003/12/14 09:13:38 bobintetley
15    Added CVS log to source headers
16
17 */

18
19 package swingwtx.custom.event;
20
21 /** Not a real Swing event, but part of my JClosableTabbedPane
22  * for use by MDI apps
23  */

24 public interface TabCloseListener extends java.util.EventListener JavaDoc
25 {
26     /** Fired when a tab is closed. Return a true value
27      * if you want the tab closed in your event handler */

28     public boolean tabClosed(int index);
29 }
30
Popular Tags