comparison dwt/accessibility/ACC.d @ 0:380af2bdd8e5

Upload of whole dwt tree
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Sat, 09 Aug 2008 17:00:02 +0200
parents
children f565d3a95c0a
comparison
equal deleted inserted replaced
-1:000000000000 0:380af2bdd8e5
1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 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 *
11 * Port to the D Programming language:
12 * Jacob Carlborg <jacob.carlborg@gmail.com>
13 *******************************************************************************/
14 module dwt.accessibility.ACC;
15
16 /**
17 * Class ACC contains all the constants used in defining an
18 * Accessible object.
19 *
20 * @since 2.0
21 */
22 public class ACC {
23 public static const int STATE_NORMAL = 0x00000000;
24 public static const int STATE_SELECTED = 0x00000002;
25 public static const int STATE_SELECTABLE = 0x00200000;
26 public static const int STATE_MULTISELECTABLE = 0x1000000;
27 public static const int STATE_FOCUSED = 0x00000004;
28 public static const int STATE_FOCUSABLE = 0x00100000;
29 public static const int STATE_PRESSED = 0x8;
30 public static const int STATE_CHECKED = 0x10;
31 public static const int STATE_EXPANDED = 0x200;
32 public static const int STATE_COLLAPSED = 0x400;
33 public static const int STATE_HOTTRACKED = 0x80;
34 public static const int STATE_BUSY = 0x800;
35 public static const int STATE_READONLY = 0x40;
36 public static const int STATE_INVISIBLE = 0x8000;
37 public static const int STATE_OFFSCREEN = 0x10000;
38 public static const int STATE_SIZEABLE = 0x20000;
39 public static const int STATE_LINKED = 0x400000;
40
41 public static const int ROLE_CLIENT_AREA = 0xa;
42 public static const int ROLE_WINDOW = 0x9;
43 public static const int ROLE_MENUBAR = 0x2;
44 public static const int ROLE_MENU = 0xb;
45 public static const int ROLE_MENUITEM = 0xc;
46 public static const int ROLE_SEPARATOR = 0x15;
47 public static const int ROLE_TOOLTIP = 0xd;
48 public static const int ROLE_SCROLLBAR = 0x3;
49 public static const int ROLE_DIALOG = 0x12;
50 public static const int ROLE_LABEL = 0x29;
51 public static const int ROLE_PUSHBUTTON = 0x2b;
52 public static const int ROLE_CHECKBUTTON = 0x2c;
53 public static const int ROLE_RADIOBUTTON = 0x2d;
54 public static const int ROLE_COMBOBOX = 0x2e;
55 public static const int ROLE_TEXT = 0x2a;
56 public static const int ROLE_TOOLBAR = 0x16;
57 public static const int ROLE_LIST = 0x21;
58 public static const int ROLE_LISTITEM = 0x22;
59 public static const int ROLE_TABLE = 0x18;
60 public static const int ROLE_TABLECELL = 0x1d;
61 public static const int ROLE_TABLECOLUMNHEADER = 0x19;
62 /** @deprecated use ROLE_TABLECOLUMNHEADER */
63 public static const int ROLE_TABLECOLUMN = ROLE_TABLECOLUMNHEADER;
64 public static const int ROLE_TABLEROWHEADER = 0x1a;
65 public static const int ROLE_TREE = 0x23;
66 public static const int ROLE_TREEITEM = 0x24;
67 public static const int ROLE_TABFOLDER = 0x3c;
68 public static const int ROLE_TABITEM = 0x25;
69 public static const int ROLE_PROGRESSBAR = 0x30;
70 public static const int ROLE_SLIDER = 0x33;
71 public static const int ROLE_LINK = 0x1e;
72
73 public static const int CHILDID_SELF = -1;
74 public static const int CHILDID_NONE = -2;
75 public static const int CHILDID_MULTIPLE = -3;
76
77 public static const int TEXT_INSERT = 0;
78 public static const int TEXT_DELETE = 1;
79 }