Path: blob/master/src/java.desktop/share/classes/javax/accessibility/AccessibleResourceBundle.java
41153 views
/*1* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package javax.accessibility;2627import java.util.ListResourceBundle;2829/**30* A resource bundle containing the localized strings in the accessibility31* package. This is meant only for internal use by Java Accessibility and is not32* meant to be used by assistive technologies or applications.33*34* @author Willie Walker35* @deprecated This class is deprecated as of version 1.3 of the Java Platform36*/37@Deprecated38public class AccessibleResourceBundle extends ListResourceBundle {3940/**41* Constructs an {@code AccessibleResourceBundle}.42*/43public AccessibleResourceBundle() {}4445/**46* Returns the mapping between the programmatic keys and the localized47* display strings.48*49* @return an array of an {@code Object} array representing a key-value pair50*/51public Object[][] getContents() {52// The table holding the mapping between the programmatic keys53// and the display strings for the en_US locale.54return new Object[][] {5556// LOCALIZE THIS57// Role names58// { "application","application" },59// { "border","border" },60// { "checkboxmenuitem","check box menu item" },61// { "choice","choice" },62// { "column","column" },63// { "cursor","cursor" },64// { "document","document" },65// { "grouping","grouping" },66// { "image","image" },67// { "indicator","indicator" },68// { "radiobuttonmenuitem","radio button menu item" },69// { "row","row" },70// { "tablecell","table cell" },71// { "treenode","tree node" },72{ "alert","alert" },73{ "awtcomponent","AWT component" },74{ "checkbox","check box" },75{ "colorchooser","color chooser" },76{ "columnheader","column header" },77{ "combobox","combo box" },78{ "canvas","canvas" },79{ "desktopicon","desktop icon" },80{ "desktoppane","desktop pane" },81{ "dialog","dialog" },82{ "directorypane","directory pane" },83{ "glasspane","glass pane" },84{ "filechooser","file chooser" },85{ "filler","filler" },86{ "frame","frame" },87{ "internalframe","internal frame" },88{ "label","label" },89{ "layeredpane","layered pane" },90{ "list","list" },91{ "listitem","list item" },92{ "menubar","menu bar" },93{ "menu","menu" },94{ "menuitem","menu item" },95{ "optionpane","option pane" },96{ "pagetab","page tab" },97{ "pagetablist","page tab list" },98{ "panel","panel" },99{ "passwordtext","password text" },100{ "popupmenu","popup menu" },101{ "progressbar","progress bar" },102{ "pushbutton","push button" },103{ "radiobutton","radio button" },104{ "rootpane","root pane" },105{ "rowheader","row header" },106{ "scrollbar","scroll bar" },107{ "scrollpane","scroll pane" },108{ "separator","separator" },109{ "slider","slider" },110{ "splitpane","split pane" },111{ "swingcomponent","swing component" },112{ "table","table" },113{ "text","text" },114{ "tree","tree" },115{ "togglebutton","toggle button" },116{ "toolbar","tool bar" },117{ "tooltip","tool tip" },118{ "unknown","unknown" },119{ "viewport","viewport" },120{ "window","window" },121// Relations122{ "labelFor","label for" },123{ "labeledBy","labeled by" },124{ "memberOf","member of" },125{ "controlledBy","controlledBy" },126{ "controllerFor","controllerFor" },127// State modes128{ "active","active" },129{ "armed","armed" },130{ "busy","busy" },131{ "checked","checked" },132{ "collapsed", "collapsed" },133{ "editable","editable" },134{ "expandable", "expandable" },135{ "expanded", "expanded" },136{ "enabled","enabled" },137{ "focusable","focusable" },138{ "focused","focused" },139{ "iconified", "iconified" },140{ "modal", "modal" },141{ "multiline", "multiple line" },142{ "multiselectable","multiselectable" },143{ "opaque", "opaque" },144{ "pressed","pressed" },145{ "resizable", "resizable" },146{ "selectable","selectable" },147{ "selected","selected" },148{ "showing","showing" },149{ "singleline", "single line" },150{ "transient", "transient" },151{ "visible","visible" },152{ "vertical","vertical" },153{ "horizontal","horizontal" }154// END OF MATERIAL TO LOCALIZE155};156}157}158159160