blob: b5f23e199fa9cd9637149e12fb31fca3d81129d0 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001/*
2 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Sun designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Sun in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 * CA 95054 USA or visit www.sun.com if you need additional information or
23 * have any questions.
24 */
25
26package javax.accessibility;
27
28import java.util.ListResourceBundle;
29
30/**
31 * A resource bundle containing the localized strings in the accessibility
32 * package. This is meant only for internal use by Java Accessibility and
33 * is not meant to be used by assistive technologies or applications.
34 *
35 * @author Willie Walker
36 * @deprecated This class is deprecated as of version 1.3 of the
37 * Java Platform.
38 */
39@Deprecated
40public class AccessibleResourceBundle extends ListResourceBundle {
41
42 /**
43 * Returns the mapping between the programmatic keys and the
44 * localized display strings.
45 */
46 public Object[][] getContents() {
47 return contents;
48 }
49
50 /**
51 * The table holding the mapping between the programmatic keys
52 * and the display strings for the en_US locale.
53 */
54 static final Object[][] contents = {
55 // LOCALIZE THIS
56 // Role names
57// { "application","application" },
58// { "border","border" },
59// { "checkboxmenuitem","check box menu item" },
60// { "choice","choice" },
61// { "column","column" },
62// { "cursor","cursor" },
63// { "document","document" },
64// { "grouping","grouping" },
65// { "image","image" },
66// { "indicator","indicator" },
67// { "radiobuttonmenuitem","radio button menu item" },
68// { "row","row" },
69// { "tablecell","table cell" },
70// { "treenode","tree node" },
71 { "alert","alert" },
72 { "awtcomponent","AWT component" },
73 { "checkbox","check box" },
74 { "colorchooser","color chooser" },
75 { "columnheader","column header" },
76 { "combobox","combo box" },
77 { "canvas","canvas" },
78 { "desktopicon","desktop icon" },
79 { "desktoppane","desktop pane" },
80 { "dialog","dialog" },
81 { "directorypane","directory pane" },
82 { "glasspane","glass pane" },
83 { "filechooser","file chooser" },
84 { "filler","filler" },
85 { "frame","frame" },
86 { "internalframe","internal frame" },
87 { "label","label" },
88 { "layeredpane","layered pane" },
89 { "list","list" },
90 { "listitem","list item" },
91 { "menubar","menu bar" },
92 { "menu","menu" },
93 { "menuitem","menu item" },
94 { "optionpane","option pane" },
95 { "pagetab","page tab" },
96 { "pagetablist","page tab list" },
97 { "panel","panel" },
98 { "passwordtext","password text" },
99 { "popupmenu","popup menu" },
100 { "progressbar","progress bar" },
101 { "pushbutton","push button" },
102 { "radiobutton","radio button" },
103 { "rootpane","root pane" },
104 { "rowheader","row header" },
105 { "scrollbar","scroll bar" },
106 { "scrollpane","scroll pane" },
107 { "separator","separator" },
108 { "slider","slider" },
109 { "splitpane","split pane" },
110 { "swingcomponent","swing component" },
111 { "table","table" },
112 { "text","text" },
113 { "tree","tree" },
114 { "togglebutton","toggle button" },
115 { "toolbar","tool bar" },
116 { "tooltip","tool tip" },
117 { "unknown","unknown" },
118 { "viewport","viewport" },
119 { "window","window" },
120 // Relations
121 { "labelFor","label for" },
122 { "labeledBy","labeled by" },
123 { "memberOf","member of" },
124 { "controlledBy","controlledBy" },
125 { "controllerFor","controllerFor" },
126 // State modes
127 { "active","active" },
128 { "armed","armed" },
129 { "busy","busy" },
130 { "checked","checked" },
131 { "collapsed", "collapsed" },
132 { "editable","editable" },
133 { "expandable", "expandable" },
134 { "expanded", "expanded" },
135 { "enabled","enabled" },
136 { "focusable","focusable" },
137 { "focused","focused" },
138 { "iconified", "iconified" },
139 { "modal", "modal" },
140 { "multiline", "multiple line" },
141 { "multiselectable","multiselectable" },
142 { "opaque", "opaque" },
143 { "pressed","pressed" },
144 { "resizable", "resizable" },
145 { "selectable","selectable" },
146 { "selected","selected" },
147 { "showing","showing" },
148 { "singleline", "single line" },
149 { "transient", "transient" },
150 { "visible","visible" },
151 { "vertical","vertical" },
152 { "horizontal","horizontal" }
153 // END OF MATERIAL TO LOCALIZE
154 };
155}