comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/accessibility/ACC.d @ 0:6dd524f61e62

add dwt win and basic java stuff
author Frank Benoit <benoit@tionex.de>
date Mon, 02 Mar 2009 14:44:16 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6dd524f61e62
1 /*******************************************************************************
2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/
13 module org.eclipse.swt.accessibility.ACC;
14
15
16 /**
17 * Class ACC contains all the constants used in defining an
18 * Accessible object.
19 *
20 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
21 *
22 * @since 2.0
23 */
24 public class ACC {
25 public static const int STATE_NORMAL = 0x00000000;
26 public static const int STATE_SELECTED = 0x00000002;
27 public static const int STATE_SELECTABLE = 0x00200000;
28 public static const int STATE_MULTISELECTABLE = 0x1000000;
29 public static const int STATE_FOCUSED = 0x00000004;
30 public static const int STATE_FOCUSABLE = 0x00100000;
31 public static const int STATE_PRESSED = 0x8;
32 public static const int STATE_CHECKED = 0x10;
33 public static const int STATE_EXPANDED = 0x200;
34 public static const int STATE_COLLAPSED = 0x400;
35 public static const int STATE_HOTTRACKED = 0x80;
36 public static const int STATE_BUSY = 0x800;
37 public static const int STATE_READONLY = 0x40;
38 public static const int STATE_INVISIBLE = 0x8000;
39 public static const int STATE_OFFSCREEN = 0x10000;
40 public static const int STATE_SIZEABLE = 0x20000;
41 public static const int STATE_LINKED = 0x400000;
42
43 public static const int ROLE_CLIENT_AREA = 0xa;
44 public static const int ROLE_WINDOW = 0x9;
45 public static const int ROLE_MENUBAR = 0x2;
46 public static const int ROLE_MENU = 0xb;
47 public static const int ROLE_MENUITEM = 0xc;
48 public static const int ROLE_SEPARATOR = 0x15;
49 public static const int ROLE_TOOLTIP = 0xd;
50 public static const int ROLE_SCROLLBAR = 0x3;
51 public static const int ROLE_DIALOG = 0x12;
52 public static const int ROLE_LABEL = 0x29;
53 public static const int ROLE_PUSHBUTTON = 0x2b;
54 public static const int ROLE_CHECKBUTTON = 0x2c;
55 public static const int ROLE_RADIOBUTTON = 0x2d;
56 public static const int ROLE_COMBOBOX = 0x2e;
57 public static const int ROLE_TEXT = 0x2a;
58 public static const int ROLE_TOOLBAR = 0x16;
59 public static const int ROLE_LIST = 0x21;
60 public static const int ROLE_LISTITEM = 0x22;
61 public static const int ROLE_TABLE = 0x18;
62 public static const int ROLE_TABLECELL = 0x1d;
63 public static const int ROLE_TABLECOLUMNHEADER = 0x19;
64 /** @deprecated use ROLE_TABLECOLUMNHEADER */
65 public static const int ROLE_TABLECOLUMN = ROLE_TABLECOLUMNHEADER;
66 public static const int ROLE_TABLEROWHEADER = 0x1a;
67 public static const int ROLE_TREE = 0x23;
68 public static const int ROLE_TREEITEM = 0x24;
69 public static const int ROLE_TABFOLDER = 0x3c;
70 public static const int ROLE_TABITEM = 0x25;
71 public static const int ROLE_PROGRESSBAR = 0x30;
72 public static const int ROLE_SLIDER = 0x33;
73 public static const int ROLE_LINK = 0x1e;
74
75 public static const int CHILDID_SELF = -1;
76 public static const int CHILDID_NONE = -2;
77 public static const int CHILDID_MULTIPLE = -3;
78
79 public static const int TEXT_INSERT = 0;
80 public static const int TEXT_DELETE = 1;
81 }