01: /*
02: * Javu WingS - Lightweight Java Component Set
03: * Copyright (c) 2005-2007 Krzysztof A. Sadlocha
04: * e-mail: ksadlocha@programics.com
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: */
20:
21: package com.javujavu.javux.wings;
22:
23: /**
24: * A collection of constants
25: * <br>
26: * <b>This is one of the core WingS interfaces required by all the components</b>
27: */
28: public interface WingConst {
29: int LEFT = 0;
30: int CENTER = 1;
31: int RIGHT = 2;
32:
33: int SCROLLBAR_AS_NEEDED = 0;
34: int SCROLLBAR_NEVER = 1;
35: int SCROLLBAR_ALWAYS = 2;
36:
37: int SINGLE_SELECTION = 0;
38: int CONTINUOUS_SELECTION = 1;
39: int MULTIPLE_SELECTION = 2;
40:
41: int NO_WRAP = 1;
42: int WORD_WRAP = 2;
43: int LINE_WRAP = 3;
44:
45: int HORIZONTAL = 0;
46: int VERTICAL = 1;
47:
48: int NORMAL = 0x0001;
49: int DARK = 0x0002;
50: int READONLY = 0x0004;
51: int PRESSED = 0x0008;
52: int HOVER = 0x0010;
53: int FOCUSED = 0x0020;
54: int SELECTED = 0x0040;
55: int DISABLED = 0x0080;
56: int ON = 0x0100;
57: int ITEM = 0x1000;
58: int DOC = 0x2000;
59:
60: char UNDERLINE_CHAR = 0x0332;
61:
62: /** WingCheckBox and WingMenuItem look checkbox */
63: int CHECKBOX = 2;
64: /** WingCheckBox and WingMenuItem look radio button */
65: int RADIO = 3;
66: /** WingCheckBox look toggle button */
67: int TOGGLE = 4;
68: /** WingMenuItem look menu separator */
69: int SEPARATOR = 5;
70: /** WingMenuItem look submenu */
71: int MENU = 6;
72:
73: }
|