KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > CellEditor


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: CellEditor.java,v $
11    Revision 1.1 2004/04/16 14:38:47 bobintetley
12    Table and Tree cell editor support
13
14  
15  */

16
17 package swingwtx.swing;
18
19 import java.util.*;
20 import swingwtx.swing.event.*;
21
22 public interface CellEditor {
23
24     public Object JavaDoc getCellEditorValue();
25     public boolean isCellEditable(EventObject anEvent);
26     public boolean shouldSelectCell(EventObject anEvent);
27     public boolean stopCellEditing();
28     public void cancelCellEditing();
29     public void addCellEditorListener(CellEditorListener l);
30     public void removeCellEditorListener(CellEditorListener l);
31 }
32
33
Popular Tags