1. /*
  2. * %W% %E%
  3. *
  4. * Copyright 2002 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 %I% %G% %U%
  15. * @author Willie Walker
  16. */
  17. public class AccessibleResourceBundle extends ListResourceBundle {
  18. /**
  19. * Returns the mapping between the programmatic keys and the
  20. * localized display strings.
  21. */
  22. public Object[][] getContents() {
  23. return contents;
  24. }
  25. /**
  26. * The table holding the mapping between the programmatic keys
  27. * and the display strings for the en_US locale.
  28. */
  29. static final Object[][] contents = {
  30. // LOCALIZE THIS
  31. // Role names
  32. // { "application","application" },
  33. // { "border","border" },
  34. // { "checkboxmenuitem","check box menu item" },
  35. // { "choice","choice" },
  36. // { "column","column" },
  37. // { "cursor","cursor" },
  38. // { "document","document" },
  39. // { "grouping","grouping" },
  40. // { "image","image" },
  41. // { "indicator","indicator" },
  42. // { "listitem","list item" },
  43. // { "radiobuttonmenuitem","radio button menu item" },
  44. // { "row","row" },
  45. // { "tablecell","table cell" },
  46. // { "treenode","tree node" },
  47. { "alert","alert" },
  48. { "awtcomponent","AWT component" },
  49. { "checkbox","check box" },
  50. { "colorchooser","color chooser" },
  51. { "columnheader","column header" },
  52. { "combobox","combo box" },
  53. { "desktopicon","desktop icon" },
  54. { "desktoppane","desktop pane" },
  55. { "dialog","dialog" },
  56. { "directorypane","directory pane" },
  57. { "glasspane","glass pane" },
  58. { "filechooser","file chooser" },
  59. { "filler","filler" },
  60. { "frame","frame" },
  61. { "internalframe","internal frame" },
  62. { "label","label" },
  63. { "layeredpane","layered pane" },
  64. { "list","list" },
  65. { "menubar","menu bar" },
  66. { "menu","menu" },
  67. { "menuitem","menu item" },
  68. { "optionpane","option pane" },
  69. { "pagetab","page tab" },
  70. { "pagetablist","page tab list" },
  71. { "panel","panel" },
  72. { "passwordtext","password text" },
  73. { "popupmenu","popup menu" },
  74. { "progressbar","progress bar" },
  75. { "pushbutton","push button" },
  76. { "radiobutton","radio button" },
  77. { "rootpane","root pane" },
  78. { "rowheader","row header" },
  79. { "scrollbar","scroll bar" },
  80. { "scrollpane","scroll pane" },
  81. { "separator","separator" },
  82. { "slider","slider" },
  83. { "splitpane","split pane" },
  84. { "swingcomponent","swing component" },
  85. { "table","table" },
  86. { "text","text" },
  87. { "tree","tree" },
  88. { "togglebutton","toggle button" },
  89. { "toolbar","tool bar" },
  90. { "tooltip","tool tip" },
  91. { "unknown","unknown" },
  92. { "viewport","viewport" },
  93. { "window","window" },
  94. // State modes
  95. { "active","active" },
  96. { "armed","armed" },
  97. { "busy","busy" },
  98. { "checked","checked" },
  99. { "collapsed", "collapsed" },
  100. { "editable","editable" },
  101. { "expandable", "expandable" },
  102. { "expanded", "expanded" },
  103. { "enabled","enabled" },
  104. { "focusable","focusable" },
  105. { "focused","focused" },
  106. { "iconified", "iconified" },
  107. { "modal", "modal" },
  108. { "multiline", "multiple line" },
  109. { "multiselectable","multiselectable" },
  110. { "opaque", "opaque" },
  111. { "pressed","pressed" },
  112. { "resizable", "resizable" },
  113. { "selectable","selectable" },
  114. { "selected","selected" },
  115. { "showing","showing" },
  116. { "singleline", "single line" },
  117. { "transient", "transient" },
  118. { "visible","visible" },
  119. { "vertical","vertical" },
  120. { "horizontal","horizontal" }
  121. // END OF MATERIAL TO LOCALIZE
  122. };
  123. }