KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > SwingConstants


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: SwingConstants.java,v $
11    Revision 1.6 2004/05/06 12:35:22 bobintetley
12    Parity with Swing constants for Binary Compatibility + fixes to JDesktopPane
13
14    Revision 1.5 2004/01/20 14:22:49 bobintetley
15    Trailing/Leading now mapped correctly
16
17    Revision 1.4 2003/12/14 09:13:38 bobintetley
18    Added CVS log to source headers
19
20 */

21
22 package swingwtx.swing;
23
24
25 public interface SwingConstants {
26     public static final int HORIZONTAL = 0;
27     public static final int VERTICAL = 1;
28     public static final int CENTER = 0;
29     public static final int TOP = 1;
30     public static final int LEFT = 2;
31     public static final int BOTTOM = 3;
32     public static final int RIGHT = 4;
33     public static final int NORTH = 1;
34     public static final int NORTH_EAST = 2;
35     public static final int EAST = 3;
36     public static final int SOUTH_EAST = 4;
37     public static final int SOUTH = 5;
38     public static final int SOUTH_WEST = 6;
39     public static final int WEST = 7;
40     public static final int NORTH_WEST = 8;
41     public static final int LEADING = 10;
42     public static final int TRAILING = 11;
43     public static final int NEXT = 12;
44     public static final int PREVIOUS = 13;
45 }
46
Popular Tags