Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/classes/javax/accessibility/AccessibleResourceBundle.java
38829 views
/*1* Copyright (c) 1997, 2006, 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 and32* is not 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 the36* Java Platform.37*/38@Deprecated39public class AccessibleResourceBundle extends ListResourceBundle {4041/**42* Returns the mapping between the programmatic keys and the43* localized display strings.44*/45public Object[][] getContents() {46// The table holding the mapping between the programmatic keys47// and the display strings for the en_US locale.48return new Object[][] {4950// LOCALIZE THIS51// Role names52// { "application","application" },53// { "border","border" },54// { "checkboxmenuitem","check box menu item" },55// { "choice","choice" },56// { "column","column" },57// { "cursor","cursor" },58// { "document","document" },59// { "grouping","grouping" },60// { "image","image" },61// { "indicator","indicator" },62// { "radiobuttonmenuitem","radio button menu item" },63// { "row","row" },64// { "tablecell","table cell" },65// { "treenode","tree node" },66{ "alert","alert" },67{ "awtcomponent","AWT component" },68{ "checkbox","check box" },69{ "colorchooser","color chooser" },70{ "columnheader","column header" },71{ "combobox","combo box" },72{ "canvas","canvas" },73{ "desktopicon","desktop icon" },74{ "desktoppane","desktop pane" },75{ "dialog","dialog" },76{ "directorypane","directory pane" },77{ "glasspane","glass pane" },78{ "filechooser","file chooser" },79{ "filler","filler" },80{ "frame","frame" },81{ "internalframe","internal frame" },82{ "label","label" },83{ "layeredpane","layered pane" },84{ "list","list" },85{ "listitem","list item" },86{ "menubar","menu bar" },87{ "menu","menu" },88{ "menuitem","menu item" },89{ "optionpane","option pane" },90{ "pagetab","page tab" },91{ "pagetablist","page tab list" },92{ "panel","panel" },93{ "passwordtext","password text" },94{ "popupmenu","popup menu" },95{ "progressbar","progress bar" },96{ "pushbutton","push button" },97{ "radiobutton","radio button" },98{ "rootpane","root pane" },99{ "rowheader","row header" },100{ "scrollbar","scroll bar" },101{ "scrollpane","scroll pane" },102{ "separator","separator" },103{ "slider","slider" },104{ "splitpane","split pane" },105{ "swingcomponent","swing component" },106{ "table","table" },107{ "text","text" },108{ "tree","tree" },109{ "togglebutton","toggle button" },110{ "toolbar","tool bar" },111{ "tooltip","tool tip" },112{ "unknown","unknown" },113{ "viewport","viewport" },114{ "window","window" },115// Relations116{ "labelFor","label for" },117{ "labeledBy","labeled by" },118{ "memberOf","member of" },119{ "controlledBy","controlledBy" },120{ "controllerFor","controllerFor" },121// State modes122{ "active","active" },123{ "armed","armed" },124{ "busy","busy" },125{ "checked","checked" },126{ "collapsed", "collapsed" },127{ "editable","editable" },128{ "expandable", "expandable" },129{ "expanded", "expanded" },130{ "enabled","enabled" },131{ "focusable","focusable" },132{ "focused","focused" },133{ "iconified", "iconified" },134{ "modal", "modal" },135{ "multiline", "multiple line" },136{ "multiselectable","multiselectable" },137{ "opaque", "opaque" },138{ "pressed","pressed" },139{ "resizable", "resizable" },140{ "selectable","selectable" },141{ "selected","selected" },142{ "showing","showing" },143{ "singleline", "single line" },144{ "transient", "transient" },145{ "visible","visible" },146{ "vertical","vertical" },147{ "horizontal","horizontal" }148// END OF MATERIAL TO LOCALIZE149};150}151}152153154