KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > event > TableColumnModelEvent


1 /*
2    SwingWT
3    Copyright(c)2003-2004, Tomer Bartletz
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: tomerb@users.sourceforge.net
9
10    $Log: TableColumnModelEvent.java,v $
11    Revision 1.1 2004/04/16 07:59:46 bobintetley
12    New code for TableColumn events
13
14
15  */

16
17 package swingwtx.swing.event;
18
19 import swingwtx.swing.table.*;
20
21 import java.util.*;
22
23 public class TableColumnModelEvent extends EventObject {
24
25     protected int fromIndex;
26     protected int toIndex;
27
28     public TableColumnModelEvent(TableColumnModel source, int from, int to) {
29     super(source);
30     fromIndex = from;
31     toIndex = to;
32     }
33     public int getFromIndex() { return fromIndex; };
34     public int getToIndex() { return toIndex; };
35 }
36
37
Popular Tags