KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > dnd > Autoscroll


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: Autoscroll.java,v $
11    Revision 1.2 2003/12/22 08:48:17 bobintetley
12    Fixed up DnD to build temporarily
13
14
15  */

16 package swingwt.awt.dnd;
17
18 import swingwt.awt.Insets;
19
20 import org.eclipse.swt.graphics.Point;
21
22 /**
23  *
24  *
25  * @author Tomer Barletz, tomerb@users.sourceforge.net
26  * @version 0.1
27  */

28 public interface Autoscroll {
29     
30     /**
31      * Returns the insets of the container
32      */

33     public Insets getAutoscrollInsets();
34     
35     /**
36     * notify the coponent to autoscroll
37     * @param cursorLocn the location of the cursor
38     */

39     public void autoscroll(Point cursorLocn);
40 }
41
Popular Tags