Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/src/java.desktop/share/classes/javax/accessibility/AccessibleResourceBundle.java
41153 views
1
/*
2
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. 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. Oracle designates this
8
* particular file as subject to the "Classpath" exception as provided
9
* by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
* or visit www.oracle.com if you need additional information or have any
23
* questions.
24
*/
25
26
package javax.accessibility;
27
28
import 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 is not
33
* 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 Java Platform
37
*/
38
@Deprecated
39
public class AccessibleResourceBundle extends ListResourceBundle {
40
41
/**
42
* Constructs an {@code AccessibleResourceBundle}.
43
*/
44
public AccessibleResourceBundle() {}
45
46
/**
47
* Returns the mapping between the programmatic keys and the localized
48
* display strings.
49
*
50
* @return an array of an {@code Object} array representing a key-value pair
51
*/
52
public Object[][] getContents() {
53
// The table holding the mapping between the programmatic keys
54
// and the display strings for the en_US locale.
55
return new Object[][] {
56
57
// LOCALIZE THIS
58
// Role names
59
// { "application","application" },
60
// { "border","border" },
61
// { "checkboxmenuitem","check box menu item" },
62
// { "choice","choice" },
63
// { "column","column" },
64
// { "cursor","cursor" },
65
// { "document","document" },
66
// { "grouping","grouping" },
67
// { "image","image" },
68
// { "indicator","indicator" },
69
// { "radiobuttonmenuitem","radio button menu item" },
70
// { "row","row" },
71
// { "tablecell","table cell" },
72
// { "treenode","tree node" },
73
{ "alert","alert" },
74
{ "awtcomponent","AWT component" },
75
{ "checkbox","check box" },
76
{ "colorchooser","color chooser" },
77
{ "columnheader","column header" },
78
{ "combobox","combo box" },
79
{ "canvas","canvas" },
80
{ "desktopicon","desktop icon" },
81
{ "desktoppane","desktop pane" },
82
{ "dialog","dialog" },
83
{ "directorypane","directory pane" },
84
{ "glasspane","glass pane" },
85
{ "filechooser","file chooser" },
86
{ "filler","filler" },
87
{ "frame","frame" },
88
{ "internalframe","internal frame" },
89
{ "label","label" },
90
{ "layeredpane","layered pane" },
91
{ "list","list" },
92
{ "listitem","list item" },
93
{ "menubar","menu bar" },
94
{ "menu","menu" },
95
{ "menuitem","menu item" },
96
{ "optionpane","option pane" },
97
{ "pagetab","page tab" },
98
{ "pagetablist","page tab list" },
99
{ "panel","panel" },
100
{ "passwordtext","password text" },
101
{ "popupmenu","popup menu" },
102
{ "progressbar","progress bar" },
103
{ "pushbutton","push button" },
104
{ "radiobutton","radio button" },
105
{ "rootpane","root pane" },
106
{ "rowheader","row header" },
107
{ "scrollbar","scroll bar" },
108
{ "scrollpane","scroll pane" },
109
{ "separator","separator" },
110
{ "slider","slider" },
111
{ "splitpane","split pane" },
112
{ "swingcomponent","swing component" },
113
{ "table","table" },
114
{ "text","text" },
115
{ "tree","tree" },
116
{ "togglebutton","toggle button" },
117
{ "toolbar","tool bar" },
118
{ "tooltip","tool tip" },
119
{ "unknown","unknown" },
120
{ "viewport","viewport" },
121
{ "window","window" },
122
// Relations
123
{ "labelFor","label for" },
124
{ "labeledBy","labeled by" },
125
{ "memberOf","member of" },
126
{ "controlledBy","controlledBy" },
127
{ "controllerFor","controllerFor" },
128
// State modes
129
{ "active","active" },
130
{ "armed","armed" },
131
{ "busy","busy" },
132
{ "checked","checked" },
133
{ "collapsed", "collapsed" },
134
{ "editable","editable" },
135
{ "expandable", "expandable" },
136
{ "expanded", "expanded" },
137
{ "enabled","enabled" },
138
{ "focusable","focusable" },
139
{ "focused","focused" },
140
{ "iconified", "iconified" },
141
{ "modal", "modal" },
142
{ "multiline", "multiple line" },
143
{ "multiselectable","multiselectable" },
144
{ "opaque", "opaque" },
145
{ "pressed","pressed" },
146
{ "resizable", "resizable" },
147
{ "selectable","selectable" },
148
{ "selected","selected" },
149
{ "showing","showing" },
150
{ "singleline", "single line" },
151
{ "transient", "transient" },
152
{ "visible","visible" },
153
{ "vertical","vertical" },
154
{ "horizontal","horizontal" }
155
// END OF MATERIAL TO LOCALIZE
156
};
157
}
158
}
159
160