KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > accessibility > AccessibleResourceBundle


1 /*
2  * @(#)AccessibleResourceBundle.java 1.32 04/05/18
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.accessibility;
9
10 import java.util.ListResourceBundle JavaDoc;
11
12 /**
13  * A resource bundle containing the localized strings in the accessibility
14  * package. This is meant only for internal use by Java Accessibility and
15  * is not meant to be used by assistive technologies or applications.
16  *
17  * @version 1.32 05/18/04 21:18:13
18  * @author Willie Walker
19  * @deprecated This class is deprecated as of version 1.3 of the
20  * Java 2 Platform.
21  */

22 @Deprecated JavaDoc
23 public class AccessibleResourceBundle extends ListResourceBundle JavaDoc {
24
25     /**
26      * Returns the mapping between the programmatic keys and the
27      * localized display strings.
28      */

29     public Object JavaDoc[][] getContents() {
30     return contents;
31     }
32
33     /**
34      * The table holding the mapping between the programmatic keys
35      * and the display strings for the en_US locale.
36      */

37     static final Object JavaDoc[][] contents = {
38     // LOCALIZE THIS
39
// Role names
40
// { "application","application" },
41
// { "border","border" },
42
// { "checkboxmenuitem","check box menu item" },
43
// { "choice","choice" },
44
// { "column","column" },
45
// { "cursor","cursor" },
46
// { "document","document" },
47
// { "grouping","grouping" },
48
// { "image","image" },
49
// { "indicator","indicator" },
50
// { "radiobuttonmenuitem","radio button menu item" },
51
// { "row","row" },
52
// { "tablecell","table cell" },
53
// { "treenode","tree node" },
54
{ "alert","alert" },
55         { "awtcomponent","AWT component" },
56         { "checkbox","check box" },
57         { "colorchooser","color chooser" },
58         { "columnheader","column header" },
59         { "combobox","combo box" },
60         { "canvas","canvas" },
61         { "desktopicon","desktop icon" },
62         { "desktoppane","desktop pane" },
63         { "dialog","dialog" },
64         { "directorypane","directory pane" },
65         { "glasspane","glass pane" },
66         { "filechooser","file chooser" },
67         { "filler","filler" },
68         { "frame","frame" },
69         { "internalframe","internal frame" },
70         { "label","label" },
71         { "layeredpane","layered pane" },
72         { "list","list" },
73         { "listitem","list item" },
74         { "menubar","menu bar" },
75         { "menu","menu" },
76         { "menuitem","menu item" },
77         { "optionpane","option pane" },
78         { "pagetab","page tab" },
79         { "pagetablist","page tab list" },
80         { "panel","panel" },
81     { "passwordtext","password text" },
82         { "popupmenu","popup menu" },
83         { "progressbar","progress bar" },
84         { "pushbutton","push button" },
85         { "radiobutton","radio button" },
86         { "rootpane","root pane" },
87         { "rowheader","row header" },
88         { "scrollbar","scroll bar" },
89         { "scrollpane","scroll pane" },
90         { "separator","separator" },
91         { "slider","slider" },
92         { "splitpane","split pane" },
93         { "swingcomponent","swing component" },
94         { "table","table" },
95         { "text","text" },
96         { "tree","tree" },
97         { "togglebutton","toggle button" },
98         { "toolbar","tool bar" },
99         { "tooltip","tool tip" },
100         { "unknown","unknown" },
101         { "viewport","viewport" },
102         { "window","window" },
103         // Relations
104
{ "labelFor","label for" },
105         { "labeledBy","labeled by" },
106         { "memberOf","member of" },
107         { "controlledBy","controlledBy" },
108         { "controllerFor","controllerFor" },
109         // State modes
110
{ "active","active" },
111         { "armed","armed" },
112         { "busy","busy" },
113         { "checked","checked" },
114     { "collapsed", "collapsed" },
115         { "editable","editable" },
116     { "expandable", "expandable" },
117     { "expanded", "expanded" },
118         { "enabled","enabled" },
119         { "focusable","focusable" },
120         { "focused","focused" },
121     { "iconified", "iconified" },
122     { "modal", "modal" },
123     { "multiline", "multiple line" },
124         { "multiselectable","multiselectable" },
125     { "opaque", "opaque" },
126         { "pressed","pressed" },
127     { "resizable", "resizable" },
128         { "selectable","selectable" },
129         { "selected","selected" },
130         { "showing","showing" },
131     { "singleline", "single line" },
132     { "transient", "transient" },
133         { "visible","visible" },
134         { "vertical","vertical" },
135         { "horizontal","horizontal" }
136     // END OF MATERIAL TO LOCALIZE
137
};
138 }
139
Popular Tags