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. package javax.accessibility;
  8. import java.util.ListResourceBundle;
  9. /**
  10. * A resource bundle containing the localized strings in the accessibility
  11. * package. This is meant only for internal use by Java Accessibility and
  12. * is not meant to be used by assistive technologies or applications.
  13. *
  14. * @version 1.32 05/18/04 21:18:13
  15. * @author Willie Walker
  16. * @deprecated This class is deprecated as of version 1.3 of the
  17. * Java 2 Platform.
  18. */
  19. @Deprecated
  20. public class AccessibleResourceBundle extends ListResourceBundle {
  21. /**
  22. * Returns the mapping between the programmatic keys and the
  23. * localized display strings.
  24. */
  25. public Object[][] getContents() {
  26. return contents;
  27. }
  28. /**
  29. * The table holding the mapping between the programmatic keys
  30. * and the display strings for the en_US locale.
  31. */
  32. static final Object[][] contents = {
  33. // LOCALIZE THIS
  34. // Role names
  35. // { "application","application" },
  36. // { "border","border" },
  37. // { "checkboxmenuitem","check box menu item" },
  38. // { "choice","choice" },
  39. // { "column","column" },
  40. // { "cursor","cursor" },
  41. // { "document","document" },
  42. // { "grouping","grouping" },
  43. // { "image","image" },
  44. // { "indicator","indicator" },
  45. // { "radiobuttonmenuitem","radio button menu item" },
  46. // { "row","row" },
  47. // { "tablecell","table cell" },
  48. // { "treenode","tree node" },
  49. { "alert","alert" },
  50. { "awtcomponent","AWT component" },
  51. { "checkbox","check box" },
  52. { "colorchooser","color chooser" },
  53. { "columnheader","column header" },
  54. { "combobox","combo box" },
  55. { "canvas","canvas" },
  56. { "desktopicon","desktop icon" },
  57. { "desktoppane","desktop pane" },
  58. { "dialog","dialog" },
  59. { "directorypane","directory pane" },
  60. { "glasspane","glass pane" },
  61. { "filechooser","file chooser" },
  62. { "filler","filler" },
  63. { "frame","frame" },
  64. { "internalframe","internal frame" },
  65. { "label","label" },
  66. { "layeredpane","layered pane" },
  67. { "list","list" },
  68. { "listitem","list item" },
  69. { "menubar","menu bar" },
  70. { "menu","menu" },
  71. { "menuitem","menu item" },
  72. { "optionpane","option pane" },
  73. { "pagetab","page tab" },
  74. { "pagetablist","page tab list" },
  75. { "panel","panel" },
  76. { "passwordtext","password text" },
  77. { "popupmenu","popup menu" },
  78. { "progressbar","progress bar" },
  79. { "pushbutton","push button" },
  80. { "radiobutton","radio button" },
  81. { "rootpane","root pane" },
  82. { "rowheader","row header" },
  83. { "scrollbar","scroll bar" },
  84. { "scrollpane","scroll pane" },
  85. { "separator","separator" },
  86. { "slider","slider" },
  87. { "splitpane","split pane" },
  88. { "swingcomponent","swing component" },
  89. { "table","table" },
  90. { "text","text" },
  91. { "tree","tree" },
  92. { "togglebutton","toggle button" },
  93. { "toolbar","tool bar" },
  94. { "tooltip","tool tip" },
  95. { "unknown","unknown" },
  96. { "viewport","viewport" },
  97. { "window","window" },
  98. // Relations
  99. { "labelFor","label for" },
  100. { "labeledBy","labeled by" },
  101. { "memberOf","member of" },
  102. { "controlledBy","controlledBy" },
  103. { "controllerFor","controllerFor" },
  104. // State modes
  105. { "active","active" },
  106. { "armed","armed" },
  107. { "busy","busy" },
  108. { "checked","checked" },
  109. { "collapsed", "collapsed" },
  110. { "editable","editable" },
  111. { "expandable", "expandable" },
  112. { "expanded", "expanded" },
  113. { "enabled","enabled" },
  114. { "focusable","focusable" },
  115. { "focused","focused" },
  116. { "iconified", "iconified" },
  117. { "modal", "modal" },
  118. { "multiline", "multiple line" },
  119. { "multiselectable","multiselectable" },
  120. { "opaque", "opaque" },
  121. { "pressed","pressed" },
  122. { "resizable", "resizable" },
  123. { "selectable","selectable" },
  124. { "selected","selected" },
  125. { "showing","showing" },
  126. { "singleline", "single line" },
  127. { "transient", "transient" },
  128. { "visible","visible" },
  129. { "vertical","vertical" },
  130. { "horizontal","horizontal" }
  131. // END OF MATERIAL TO LOCALIZE
  132. };
  133. }