KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > accessibility > ACC


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 package org.eclipse.swt.accessibility;
12
13
14 /**
15  * Class ACC contains all the constants used in defining an
16  * Accessible object.
17  *
18  * @since 2.0
19  */

20 public class ACC {
21     public static final int STATE_NORMAL = 0x00000000;
22     public static final int STATE_SELECTED = 0x00000002;
23     public static final int STATE_SELECTABLE = 0x00200000;
24     public static final int STATE_MULTISELECTABLE = 0x1000000;
25     public static final int STATE_FOCUSED = 0x00000004;
26     public static final int STATE_FOCUSABLE = 0x00100000;
27     public static final int STATE_PRESSED = 0x8;
28     public static final int STATE_CHECKED = 0x10;
29     public static final int STATE_EXPANDED = 0x200;
30     public static final int STATE_COLLAPSED = 0x400;
31     public static final int STATE_HOTTRACKED = 0x80;
32     public static final int STATE_BUSY = 0x800;
33     public static final int STATE_READONLY = 0x40;
34     public static final int STATE_INVISIBLE = 0x8000;
35     public static final int STATE_OFFSCREEN = 0x10000;
36     public static final int STATE_SIZEABLE = 0x20000;
37     public static final int STATE_LINKED = 0x400000;
38
39     public static final int ROLE_CLIENT_AREA = 0xa;
40     public static final int ROLE_WINDOW = 0x9;
41     public static final int ROLE_MENUBAR = 0x2;
42     public static final int ROLE_MENU = 0xb;
43     public static final int ROLE_MENUITEM = 0xc;
44     public static final int ROLE_SEPARATOR = 0x15;
45     public static final int ROLE_TOOLTIP = 0xd;
46     public static final int ROLE_SCROLLBAR = 0x3;
47     public static final int ROLE_DIALOG = 0x12;
48     public static final int ROLE_LABEL = 0x29;
49     public static final int ROLE_PUSHBUTTON = 0x2b;
50     public static final int ROLE_CHECKBUTTON = 0x2c;
51     public static final int ROLE_RADIOBUTTON = 0x2d;
52     public static final int ROLE_COMBOBOX = 0x2e;
53     public static final int ROLE_TEXT = 0x2a;
54     public static final int ROLE_TOOLBAR = 0x16;
55     public static final int ROLE_LIST = 0x21;
56     public static final int ROLE_LISTITEM = 0x22;
57     public static final int ROLE_TABLE = 0x18;
58     public static final int ROLE_TABLECELL = 0x1d;
59     public static final int ROLE_TABLECOLUMNHEADER = 0x19;
60     /** @deprecated use ROLE_TABLECOLUMNHEADER */
61     public static final int ROLE_TABLECOLUMN = ROLE_TABLECOLUMNHEADER;
62     public static final int ROLE_TABLEROWHEADER = 0x1a;
63     public static final int ROLE_TREE = 0x23;
64     public static final int ROLE_TREEITEM = 0x24;
65     public static final int ROLE_TABFOLDER = 0x3c;
66     public static final int ROLE_TABITEM = 0x25;
67     public static final int ROLE_PROGRESSBAR = 0x30;
68     public static final int ROLE_SLIDER = 0x33;
69     public static final int ROLE_LINK = 0x1e;
70
71     public static final int CHILDID_SELF = -1;
72     public static final int CHILDID_NONE = -2;
73     public static final int CHILDID_MULTIPLE = -3;
74     
75     public static final int TEXT_INSERT = 0;
76     public static final int TEXT_DELETE = 1;
77 }
78
Popular Tags