KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > KeyboardFocusManager


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: KeyboardFocusManager.java,v $
11    Revision 1.2 2003/12/14 09:13:38 bobintetley
12    Added CVS log to source headers
13
14 */

15 package swingwt.awt;
16
17
18 /**
19  * Not nearly complete, but enough to handle focusNext/focusPrevious
20  * which is enough to write your own focus manager!
21  */

22 public abstract class KeyboardFocusManager {
23     
24     public KeyboardFocusManager() {}
25     
26     public void focusNextComponent() { }
27     public abstract void focusNextComponent(Component component);
28     public void focusPreviousComponent() { }
29     public abstract void focusPreviousComponent(Component component);
30     
31 }
32
Popular Tags