KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > SConstants


1 /*
2  * $Id: SConstants.java,v 1.8 2005/05/24 13:32:39 neurolabs Exp $
3  * Copyright 2000,2005 wingS development team.
4  *
5  * This file is part of wingS (http://www.j-wings.org).
6  *
7  * wingS is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2.1
10  * of the License, or (at your option) any later version.
11  *
12  * Please see COPYING for the complete licence.
13  */

14 package org.wings;
15
16 /**
17  * This interface contains several constants use at several places in wingS.
18  *
19  * @author <a HREF="mailto:haaf@mercatis.de">Armin Haaf</a>
20  * @version $Revision: 1.8 $
21  */

22 public interface SConstants {
23     /**
24      * Character to separate epoch id from component id in lowleve event requests.
25      */

26     String JavaDoc UID_DIVIDER = "_";
27
28     /**
29      * String that identifies the button pressed in workaround of the buggy IE
30      * button tag support. (IE sends all buttons in a form, and as value it sends
31      * the innerHtml property.)
32      */

33     String JavaDoc IEFIX_BUTTONACTION = "buttonAction";
34
35     /**
36      * Component alignment constant: Do not explicitly align.
37      */

38     int NO_ALIGN = -1;
39     /**
40      * Component alignment constant: Align left.
41      */

42     int LEFT_ALIGN = 0;
43     /**
44      * Component alignment constant: Align left.
45      */

46     int LEFT = LEFT_ALIGN;
47     /**
48      * Component alignment constant: Align right.
49      */

50     int RIGHT_ALIGN = 1;
51     /**
52      * Component alignment constant: Align right.
53      */

54     int RIGHT = RIGHT_ALIGN;
55     /**
56      * Component alignment constant: Center align.
57      */

58     int CENTER_ALIGN = 2;
59     /**
60      * Component alignment constant: Center align.
61      */

62     int CENTER = CENTER_ALIGN;
63     /**
64      * Component alignment constant: Block align -- stretch over full width.
65      */

66     int BLOCK_ALIGN = 3;
67     /**
68      * Component alignment constant: Vertically align at top.
69      */

70     int TOP_ALIGN = 4;
71     /**
72      * Component alignment constant: Vertically align at top.
73      */

74     int TOP = TOP_ALIGN;
75     /**
76      * Component alignment constant: Vertically align at bottom.
77      */

78     int BOTTOM_ALIGN = 5;
79     /**
80      * Component alignment constant: Vertically align at bottom.
81      */

82     int BOTTOM = BOTTOM_ALIGN;
83     /**
84      * Component alignment constant: Block align -- stretch over full width.
85      */

86     int JUSTIFY = BLOCK_ALIGN;
87     /**
88      * Align at font baseline. (Images).
89      */

90     int BASELINE = 6;
91
92     int VERTICAL = 1;
93     int HORIZONTAL = 0;
94
95 }
96
97
98
Popular Tags