1 /* 2 * This file is part of the LibreOffice project. 3 * 4 * This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 7 * 8 * This file incorporates work covered by the following license notice: 9 * 10 * Licensed to the Apache Software Foundation (ASF) under one or more 11 * contributor license agreements. See the NOTICE file distributed 12 * with this work for additional information regarding copyright 13 * ownership. The ASF licenses this file to you under the Apache 14 * License, Version 2.0 (the "License"); you may not use this file 15 * except in compliance with the License. You may obtain a copy of 16 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 17 */ 18 19 package tools; 20 21 import java.util.HashMap; 22 import com.sun.star.accessibility.AccessibleStateType; 23 import com.sun.star.accessibility.AccessibleEventId; 24 import com.sun.star.accessibility.AccessibleRole; 25 import com.sun.star.accessibility.AccessibleRelationType; 26 27 28 /** Provide names for several accessibility constants groups. 29 */ 30 public class NameProvider 31 { 32 /** Return the name of the specified state. 33 @param nStateId 34 Id of the state for which to return its name. This is one of 35 the ids listed in the <type>AccessibleStateType</const> 36 constants group. 37 @return 38 Returns the name of the specified state or an empty string if an 39 invalid / unknown state id was given. 40 */ getStateName(int nStateId)41 public static String getStateName (int nStateId) 42 { 43 return maStateMap.get (Integer.valueOf(nStateId)); 44 } 45 46 47 /** Return the name of the specified event. 48 @param nEventId 49 Id of the event type for which to return its name. This is one 50 of the ids listed in the <type>AccessibleEventId</const> 51 constants group. 52 @return 53 Returns the name of the specified event type or an empty string 54 if an invalid / unknown event id was given. 55 */ getEventName(int nEventId)56 public static String getEventName (int nEventId) 57 { 58 return maEventMap.get (Integer.valueOf(nEventId)); 59 } 60 61 62 /** Return the name of the specified role. 63 @param nRole 64 Id of the role for which to return its name. This is one of 65 the ids listed in the <type>AccessibleRole</const> 66 constants group. 67 @return 68 Returns the name of the specified role or an empty string if an 69 invalid / unknown role id was given. 70 */ getRoleName(int nRole)71 public static String getRoleName (int nRole) 72 { 73 return maRoleMap.get (Integer.valueOf(nRole)); 74 } 75 76 77 /** Return the name of the specified relation. 78 @param nRelation 79 Id of the relation for which to return its name. This is one of 80 the ids listed in the <type>AccessibleRelationType</const> 81 constants group. 82 @return 83 Returns the name of the specified relation type or an empty 84 string if an invalid / unknown role id was given. 85 */ getRelationName(int nRelation)86 public static String getRelationName (int nRelation) 87 { 88 return maRelationMap.get (Integer.valueOf(nRelation)); 89 } 90 91 92 private static HashMap<Integer, String> maStateMap = new HashMap<Integer, String>(); 93 private static HashMap<Integer, String> maEventMap = new HashMap<Integer, String>(); 94 private static HashMap<Integer, String> maRoleMap = new HashMap<Integer, String>(); 95 private static HashMap<Integer, String> maRelationMap = new HashMap<Integer, String>(); 96 97 static { Integer.valueOf(AccessibleStateType.INVALID)98 maStateMap.put (Integer.valueOf(AccessibleStateType.INVALID), "INVALID"); Integer.valueOf(AccessibleStateType.ACTIVE)99 maStateMap.put (Integer.valueOf(AccessibleStateType.ACTIVE), "ACTIVE"); Integer.valueOf(AccessibleStateType.ARMED)100 maStateMap.put (Integer.valueOf(AccessibleStateType.ARMED), "ARMED"); Integer.valueOf(AccessibleStateType.BUSY)101 maStateMap.put (Integer.valueOf(AccessibleStateType.BUSY), "BUSY"); Integer.valueOf(AccessibleStateType.CHECKED)102 maStateMap.put (Integer.valueOf(AccessibleStateType.CHECKED), "CHECKED"); Integer.valueOf(AccessibleStateType.DEFUNC)103 maStateMap.put (Integer.valueOf(AccessibleStateType.DEFUNC), "DEFUNC"); Integer.valueOf(AccessibleStateType.EDITABLE)104 maStateMap.put (Integer.valueOf(AccessibleStateType.EDITABLE), "EDITABLE"); Integer.valueOf(AccessibleStateType.ENABLED)105 maStateMap.put (Integer.valueOf(AccessibleStateType.ENABLED), "ENABLED"); Integer.valueOf(AccessibleStateType.EXPANDABLE)106 maStateMap.put (Integer.valueOf(AccessibleStateType.EXPANDABLE), "EXPANDABLE"); Integer.valueOf(AccessibleStateType.EXPANDED)107 maStateMap.put (Integer.valueOf(AccessibleStateType.EXPANDED), "EXPANDED"); Integer.valueOf(AccessibleStateType.FOCUSABLE)108 maStateMap.put (Integer.valueOf(AccessibleStateType.FOCUSABLE), "FOCUSABLE"); Integer.valueOf(AccessibleStateType.FOCUSED)109 maStateMap.put (Integer.valueOf(AccessibleStateType.FOCUSED), "FOCUSED"); Integer.valueOf(AccessibleStateType.HORIZONTAL)110 maStateMap.put (Integer.valueOf(AccessibleStateType.HORIZONTAL), "HORIZONTAL"); Integer.valueOf(AccessibleStateType.ICONIFIED)111 maStateMap.put (Integer.valueOf(AccessibleStateType.ICONIFIED), "ICONIFIED"); Integer.valueOf(AccessibleStateType.MODAL)112 maStateMap.put (Integer.valueOf(AccessibleStateType.MODAL), "MODAL"); Integer.valueOf(AccessibleStateType.MULTI_LINE)113 maStateMap.put (Integer.valueOf(AccessibleStateType.MULTI_LINE), "MULTI_LINE"); Integer.valueOf(AccessibleStateType.MULTI_SELECTABLE)114 maStateMap.put (Integer.valueOf(AccessibleStateType.MULTI_SELECTABLE), "MULTI_SELECTABLE"); Integer.valueOf(AccessibleStateType.OPAQUE)115 maStateMap.put (Integer.valueOf(AccessibleStateType.OPAQUE), "OPAQUE"); Integer.valueOf(AccessibleStateType.PRESSED)116 maStateMap.put (Integer.valueOf(AccessibleStateType.PRESSED), "PRESSED"); Integer.valueOf(AccessibleStateType.RESIZABLE)117 maStateMap.put (Integer.valueOf(AccessibleStateType.RESIZABLE), "RESIZABLE"); Integer.valueOf(AccessibleStateType.SELECTABLE)118 maStateMap.put (Integer.valueOf(AccessibleStateType.SELECTABLE), "SELECTABLE"); Integer.valueOf(AccessibleStateType.SELECTED)119 maStateMap.put (Integer.valueOf(AccessibleStateType.SELECTED), "SELECTED"); Integer.valueOf(AccessibleStateType.SENSITIVE)120 maStateMap.put (Integer.valueOf(AccessibleStateType.SENSITIVE), "SENSITIVE"); Integer.valueOf(AccessibleStateType.SHOWING)121 maStateMap.put (Integer.valueOf(AccessibleStateType.SHOWING), "SHOWING"); Integer.valueOf(AccessibleStateType.SINGLE_LINE)122 maStateMap.put (Integer.valueOf(AccessibleStateType.SINGLE_LINE), "SINGLE_LINE"); Integer.valueOf(AccessibleStateType.STALE)123 maStateMap.put (Integer.valueOf(AccessibleStateType.STALE), "STALE"); Integer.valueOf(AccessibleStateType.TRANSIENT)124 maStateMap.put (Integer.valueOf(AccessibleStateType.TRANSIENT), "TRANSIENT"); Integer.valueOf(AccessibleStateType.VERTICAL)125 maStateMap.put (Integer.valueOf(AccessibleStateType.VERTICAL), "VERTICAL"); Integer.valueOf(AccessibleStateType.VISIBLE)126 maStateMap.put (Integer.valueOf(AccessibleStateType.VISIBLE), "VISIBLE"); Integer.valueOf(AccessibleStateType.MANAGES_DESCENDANTS)127 maStateMap.put (Integer.valueOf(AccessibleStateType.MANAGES_DESCENDANTS), 128 "MANAGES_DESCENDANTS"); 129 130 131 maEventMap.put (Integer.valueOf(0), 132 "[UNKNOWN]"); Integer.valueOf(AccessibleEventId.NAME_CHANGED)133 maEventMap.put (Integer.valueOf(AccessibleEventId.NAME_CHANGED), 134 "NAME_CHANGED"); Integer.valueOf(AccessibleEventId.DESCRIPTION_CHANGED)135 maEventMap.put (Integer.valueOf(AccessibleEventId.DESCRIPTION_CHANGED), 136 "DESCRIPTION_CHANGED"); Integer.valueOf(AccessibleEventId.ACTION_CHANGED)137 maEventMap.put (Integer.valueOf(AccessibleEventId.ACTION_CHANGED), 138 "ACTION_CHANGED"); Integer.valueOf(AccessibleEventId.STATE_CHANGED)139 maEventMap.put (Integer.valueOf(AccessibleEventId.STATE_CHANGED), 140 "STATE_CHANGED"); Integer.valueOf(AccessibleEventId.ACTIVE_DESCENDANT_CHANGED)141 maEventMap.put (Integer.valueOf(AccessibleEventId.ACTIVE_DESCENDANT_CHANGED), 142 "ACTIVE_DESCENDANT_CHANGED"); Integer.valueOf(AccessibleEventId.BOUNDRECT_CHANGED)143 maEventMap.put (Integer.valueOf(AccessibleEventId.BOUNDRECT_CHANGED), 144 "BOUNDRECT_CHANGED"); Integer.valueOf(AccessibleEventId.CHILD)145 maEventMap.put (Integer.valueOf(AccessibleEventId.CHILD), 146 "CHILD"); Integer.valueOf(AccessibleEventId.INVALIDATE_ALL_CHILDREN)147 maEventMap.put (Integer.valueOf(AccessibleEventId.INVALIDATE_ALL_CHILDREN), 148 "INVALIDATE_ALL_CHILDREN"); Integer.valueOf(AccessibleEventId.SELECTION_CHANGED)149 maEventMap.put (Integer.valueOf(AccessibleEventId.SELECTION_CHANGED), 150 "SELECTION_CHANGED"); Integer.valueOf(AccessibleEventId.VISIBLE_DATA_CHANGED)151 maEventMap.put (Integer.valueOf(AccessibleEventId.VISIBLE_DATA_CHANGED), 152 "VISIBLE_DATA_CHANGED"); Integer.valueOf(AccessibleEventId.VALUE_CHANGED)153 maEventMap.put (Integer.valueOf(AccessibleEventId.VALUE_CHANGED), 154 "VALUE_CHANGED"); Integer.valueOf(AccessibleEventId.CONTENT_FLOWS_FROM_RELATION_CHANGED)155 maEventMap.put (Integer.valueOf(AccessibleEventId.CONTENT_FLOWS_FROM_RELATION_CHANGED), 156 "CONTENT_FLOWS_FROM_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.CONTENT_FLOWS_TO_RELATION_CHANGED)157 maEventMap.put (Integer.valueOf(AccessibleEventId.CONTENT_FLOWS_TO_RELATION_CHANGED), 158 "CONTENT_FLOWS_TO_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.CONTROLLED_BY_RELATION_CHANGED)159 maEventMap.put (Integer.valueOf(AccessibleEventId.CONTROLLED_BY_RELATION_CHANGED), 160 "CONTROLLED_BY_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.CONTROLLER_FOR_RELATION_CHANGED)161 maEventMap.put (Integer.valueOf(AccessibleEventId.CONTROLLER_FOR_RELATION_CHANGED), 162 "CONTROLLER_FOR_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.LABEL_FOR_RELATION_CHANGED)163 maEventMap.put (Integer.valueOf(AccessibleEventId.LABEL_FOR_RELATION_CHANGED), 164 "LABEL_FOR_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.LABELED_BY_RELATION_CHANGED)165 maEventMap.put (Integer.valueOf(AccessibleEventId.LABELED_BY_RELATION_CHANGED), 166 "LABELED_BY_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.MEMBER_OF_RELATION_CHANGED)167 maEventMap.put (Integer.valueOf(AccessibleEventId.MEMBER_OF_RELATION_CHANGED), 168 "MEMBER_OF_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.SUB_WINDOW_OF_RELATION_CHANGED)169 maEventMap.put (Integer.valueOf(AccessibleEventId.SUB_WINDOW_OF_RELATION_CHANGED), 170 "SUB_WINDOW_OF_RELATION_CHANGED"); Integer.valueOf(AccessibleEventId.CARET_CHANGED)171 maEventMap.put (Integer.valueOf(AccessibleEventId.CARET_CHANGED), 172 "CARET_CHANGED"); Integer.valueOf(AccessibleEventId.TEXT_SELECTION_CHANGED)173 maEventMap.put (Integer.valueOf(AccessibleEventId.TEXT_SELECTION_CHANGED), 174 "TEXT_SELECTION_CHANGED"); Integer.valueOf(AccessibleEventId.TEXT_CHANGED)175 maEventMap.put (Integer.valueOf(AccessibleEventId.TEXT_CHANGED), 176 "TEXT_CHANGED"); Integer.valueOf(AccessibleEventId.TEXT_ATTRIBUTE_CHANGED)177 maEventMap.put (Integer.valueOf(AccessibleEventId.TEXT_ATTRIBUTE_CHANGED), 178 "TEXT_ATTRIBUTE_CHANGED"); Integer.valueOf(AccessibleEventId.HYPERTEXT_CHANGED)179 maEventMap.put (Integer.valueOf(AccessibleEventId.HYPERTEXT_CHANGED), 180 "HYPERTEXT_CHANGED"); Integer.valueOf(AccessibleEventId.TABLE_CAPTION_CHANGED)181 maEventMap.put (Integer.valueOf(AccessibleEventId.TABLE_CAPTION_CHANGED), 182 "TABLE_CAPTION_CHANGED"); Integer.valueOf(AccessibleEventId.TABLE_COLUMN_DESCRIPTION_CHANGED)183 maEventMap.put (Integer.valueOf(AccessibleEventId.TABLE_COLUMN_DESCRIPTION_CHANGED), 184 "TABLE_COLUMN_DESCRIPTION_CHANGED"); Integer.valueOf(AccessibleEventId.TABLE_COLUMN_HEADER_CHANGED)185 maEventMap.put (Integer.valueOf(AccessibleEventId.TABLE_COLUMN_HEADER_CHANGED), 186 "TABLE_COLUMN_HEADER_CHANGED"); Integer.valueOf(AccessibleEventId.TABLE_MODEL_CHANGED)187 maEventMap.put (Integer.valueOf(AccessibleEventId.TABLE_MODEL_CHANGED), 188 "TABLE_MODEL_CHANGED"); Integer.valueOf(AccessibleEventId.TABLE_ROW_DESCRIPTION_CHANGED)189 maEventMap.put (Integer.valueOf(AccessibleEventId.TABLE_ROW_DESCRIPTION_CHANGED), 190 "TABLE_ROW_DESCRIPTION_CHANGED"); Integer.valueOf(AccessibleEventId.TABLE_ROW_HEADER_CHANGED)191 maEventMap.put (Integer.valueOf(AccessibleEventId.TABLE_ROW_HEADER_CHANGED), 192 "TABLE_ROW_HEADER_CHANGED"); Integer.valueOf(AccessibleEventId.TABLE_SUMMARY_CHANGED)193 maEventMap.put (Integer.valueOf(AccessibleEventId.TABLE_SUMMARY_CHANGED), 194 "TABLE_SUMMARY_CHANGED"); 195 Integer.valueOf(AccessibleRole.UNKNOWN)196 maRoleMap.put (Integer.valueOf(AccessibleRole.UNKNOWN), "UNKNOWN"); Integer.valueOf(AccessibleRole.UNKNOWN)197 maRoleMap.put (Integer.valueOf(AccessibleRole.UNKNOWN), "UNKNOWN"); Integer.valueOf(AccessibleRole.ALERT)198 maRoleMap.put (Integer.valueOf(AccessibleRole.ALERT), "ALERT"); Integer.valueOf(AccessibleRole.COLUMN_HEADER)199 maRoleMap.put (Integer.valueOf(AccessibleRole.COLUMN_HEADER), "COLUMN_HEADER"); Integer.valueOf(AccessibleRole.CANVAS)200 maRoleMap.put (Integer.valueOf(AccessibleRole.CANVAS), "CANVAS"); Integer.valueOf(AccessibleRole.CHECK_BOX)201 maRoleMap.put (Integer.valueOf(AccessibleRole.CHECK_BOX), "CHECK_BOX"); Integer.valueOf(AccessibleRole.CHECK_MENU_ITEM)202 maRoleMap.put (Integer.valueOf(AccessibleRole.CHECK_MENU_ITEM), "CHECK_MENU_ITEM"); Integer.valueOf(AccessibleRole.COLOR_CHOOSER)203 maRoleMap.put (Integer.valueOf(AccessibleRole.COLOR_CHOOSER), "COLOR_CHOOSER"); Integer.valueOf(AccessibleRole.COMBO_BOX)204 maRoleMap.put (Integer.valueOf(AccessibleRole.COMBO_BOX), "COMBO_BOX"); Integer.valueOf(AccessibleRole.DESKTOP_ICON)205 maRoleMap.put (Integer.valueOf(AccessibleRole.DESKTOP_ICON), "DESKTOP_ICON"); Integer.valueOf(AccessibleRole.DESKTOP_PANE)206 maRoleMap.put (Integer.valueOf(AccessibleRole.DESKTOP_PANE), "DESKTOP_PANE"); Integer.valueOf(AccessibleRole.DIRECTORY_PANE)207 maRoleMap.put (Integer.valueOf(AccessibleRole.DIRECTORY_PANE), "DIRECTORY_PANE"); Integer.valueOf(AccessibleRole.DIALOG)208 maRoleMap.put (Integer.valueOf(AccessibleRole.DIALOG), "DIALOG"); Integer.valueOf(AccessibleRole.DOCUMENT)209 maRoleMap.put (Integer.valueOf(AccessibleRole.DOCUMENT), "DOCUMENT"); Integer.valueOf(AccessibleRole.EMBEDDED_OBJECT)210 maRoleMap.put (Integer.valueOf(AccessibleRole.EMBEDDED_OBJECT), "EMBEDDED_OBJECT"); Integer.valueOf(AccessibleRole.END_NOTE)211 maRoleMap.put (Integer.valueOf(AccessibleRole.END_NOTE), "END_NOTE"); Integer.valueOf(AccessibleRole.FILE_CHOOSER)212 maRoleMap.put (Integer.valueOf(AccessibleRole.FILE_CHOOSER), "FILE_CHOOSER"); Integer.valueOf(AccessibleRole.FILLER)213 maRoleMap.put (Integer.valueOf(AccessibleRole.FILLER), "FILLER"); Integer.valueOf(AccessibleRole.FONT_CHOOSER)214 maRoleMap.put (Integer.valueOf(AccessibleRole.FONT_CHOOSER), "FONT_CHOOSER"); Integer.valueOf(AccessibleRole.FOOTER)215 maRoleMap.put (Integer.valueOf(AccessibleRole.FOOTER), "FOOTER"); Integer.valueOf(AccessibleRole.FOOTNOTE)216 maRoleMap.put (Integer.valueOf(AccessibleRole.FOOTNOTE), "FOOTNOTE"); Integer.valueOf(AccessibleRole.FRAME)217 maRoleMap.put (Integer.valueOf(AccessibleRole.FRAME), "FRAME"); Integer.valueOf(AccessibleRole.GLASS_PANE)218 maRoleMap.put (Integer.valueOf(AccessibleRole.GLASS_PANE), "GLASS_PANE"); Integer.valueOf(AccessibleRole.GRAPHIC)219 maRoleMap.put (Integer.valueOf(AccessibleRole.GRAPHIC), "GRAPHIC"); Integer.valueOf(AccessibleRole.GROUP_BOX)220 maRoleMap.put (Integer.valueOf(AccessibleRole.GROUP_BOX), "GROUP_BOX"); Integer.valueOf(AccessibleRole.HEADER)221 maRoleMap.put (Integer.valueOf(AccessibleRole.HEADER), "HEADER"); Integer.valueOf(AccessibleRole.HEADING)222 maRoleMap.put (Integer.valueOf(AccessibleRole.HEADING), "HEADING"); Integer.valueOf(AccessibleRole.HYPER_LINK)223 maRoleMap.put (Integer.valueOf(AccessibleRole.HYPER_LINK), "HYPER_LINK"); Integer.valueOf(AccessibleRole.ICON)224 maRoleMap.put (Integer.valueOf(AccessibleRole.ICON), "ICON"); Integer.valueOf(AccessibleRole.INTERNAL_FRAME)225 maRoleMap.put (Integer.valueOf(AccessibleRole.INTERNAL_FRAME), "INTERNAL_FRAME"); Integer.valueOf(AccessibleRole.LABEL)226 maRoleMap.put (Integer.valueOf(AccessibleRole.LABEL), "LABEL"); Integer.valueOf(AccessibleRole.LAYERED_PANE)227 maRoleMap.put (Integer.valueOf(AccessibleRole.LAYERED_PANE), "LAYERED_PANE"); Integer.valueOf(AccessibleRole.LIST)228 maRoleMap.put (Integer.valueOf(AccessibleRole.LIST), "LIST"); Integer.valueOf(AccessibleRole.LIST_ITEM)229 maRoleMap.put (Integer.valueOf(AccessibleRole.LIST_ITEM), "LIST_ITEM"); Integer.valueOf(AccessibleRole.MENU)230 maRoleMap.put (Integer.valueOf(AccessibleRole.MENU), "MENU"); Integer.valueOf(AccessibleRole.MENU_BAR)231 maRoleMap.put (Integer.valueOf(AccessibleRole.MENU_BAR), "MENU_BAR"); Integer.valueOf(AccessibleRole.MENU_ITEM)232 maRoleMap.put (Integer.valueOf(AccessibleRole.MENU_ITEM), "MENU_ITEM"); Integer.valueOf(AccessibleRole.OPTION_PANE)233 maRoleMap.put (Integer.valueOf(AccessibleRole.OPTION_PANE), "OPTION_PANE"); Integer.valueOf(AccessibleRole.PAGE_TAB)234 maRoleMap.put (Integer.valueOf(AccessibleRole.PAGE_TAB), "PAGE_TAB"); Integer.valueOf(AccessibleRole.PAGE_TAB_LIST)235 maRoleMap.put (Integer.valueOf(AccessibleRole.PAGE_TAB_LIST), "PAGE_TAB_LIST"); Integer.valueOf(AccessibleRole.PANEL)236 maRoleMap.put (Integer.valueOf(AccessibleRole.PANEL), "PANEL"); Integer.valueOf(AccessibleRole.PARAGRAPH)237 maRoleMap.put (Integer.valueOf(AccessibleRole.PARAGRAPH), "PARAGRAPH"); Integer.valueOf(AccessibleRole.PASSWORD_TEXT)238 maRoleMap.put (Integer.valueOf(AccessibleRole.PASSWORD_TEXT), "PASSWORD_TEXT"); Integer.valueOf(AccessibleRole.POPUP_MENU)239 maRoleMap.put (Integer.valueOf(AccessibleRole.POPUP_MENU), "POPUP_MENU"); Integer.valueOf(AccessibleRole.PUSH_BUTTON)240 maRoleMap.put (Integer.valueOf(AccessibleRole.PUSH_BUTTON), "PUSH_BUTTON"); Integer.valueOf(AccessibleRole.PROGRESS_BAR)241 maRoleMap.put (Integer.valueOf(AccessibleRole.PROGRESS_BAR), "PROGRESS_BAR"); Integer.valueOf(AccessibleRole.RADIO_BUTTON)242 maRoleMap.put (Integer.valueOf(AccessibleRole.RADIO_BUTTON), "RADIO_BUTTON"); Integer.valueOf(AccessibleRole.RADIO_MENU_ITEM)243 maRoleMap.put (Integer.valueOf(AccessibleRole.RADIO_MENU_ITEM), "RADIO_MENU_ITEM"); Integer.valueOf(AccessibleRole.ROW_HEADER)244 maRoleMap.put (Integer.valueOf(AccessibleRole.ROW_HEADER), "ROW_HEADER"); Integer.valueOf(AccessibleRole.ROOT_PANE)245 maRoleMap.put (Integer.valueOf(AccessibleRole.ROOT_PANE), "ROOT_PANE"); Integer.valueOf(AccessibleRole.SCROLL_BAR)246 maRoleMap.put (Integer.valueOf(AccessibleRole.SCROLL_BAR), "SCROLL_BAR"); Integer.valueOf(AccessibleRole.SCROLL_PANE)247 maRoleMap.put (Integer.valueOf(AccessibleRole.SCROLL_PANE), "SCROLL_PANE"); Integer.valueOf(AccessibleRole.SHAPE)248 maRoleMap.put (Integer.valueOf(AccessibleRole.SHAPE), "SHAPE"); Integer.valueOf(AccessibleRole.SEPARATOR)249 maRoleMap.put (Integer.valueOf(AccessibleRole.SEPARATOR), "SEPARATOR"); Integer.valueOf(AccessibleRole.SLIDER)250 maRoleMap.put (Integer.valueOf(AccessibleRole.SLIDER), "SLIDER"); Integer.valueOf(AccessibleRole.SPIN_BOX)251 maRoleMap.put (Integer.valueOf(AccessibleRole.SPIN_BOX), "SPIN_BOX"); Integer.valueOf(AccessibleRole.SPLIT_PANE)252 maRoleMap.put (Integer.valueOf(AccessibleRole.SPLIT_PANE), "SPLIT_PANE"); Integer.valueOf(AccessibleRole.STATIC)253 maRoleMap.put (Integer.valueOf(AccessibleRole.STATIC), "STATIC"); Integer.valueOf(AccessibleRole.STATUS_BAR)254 maRoleMap.put (Integer.valueOf(AccessibleRole.STATUS_BAR), "STATUS_BAR"); Integer.valueOf(AccessibleRole.TABLE)255 maRoleMap.put (Integer.valueOf(AccessibleRole.TABLE), "TABLE"); Integer.valueOf(AccessibleRole.TABLE_CELL)256 maRoleMap.put (Integer.valueOf(AccessibleRole.TABLE_CELL), "TABLE_CELL"); Integer.valueOf(AccessibleRole.TEXT)257 maRoleMap.put (Integer.valueOf(AccessibleRole.TEXT), "TEXT"); Integer.valueOf(AccessibleRole.TEXT_FRAME)258 maRoleMap.put (Integer.valueOf(AccessibleRole.TEXT_FRAME), "TEXT_FRAME"); Integer.valueOf(AccessibleRole.TOGGLE_BUTTON)259 maRoleMap.put (Integer.valueOf(AccessibleRole.TOGGLE_BUTTON), "TOGGLE_BUTTON"); Integer.valueOf(AccessibleRole.TOOL_BAR)260 maRoleMap.put (Integer.valueOf(AccessibleRole.TOOL_BAR), "TOOL_BAR"); Integer.valueOf(AccessibleRole.TOOL_TIP)261 maRoleMap.put (Integer.valueOf(AccessibleRole.TOOL_TIP), "TOOL_TIP"); Integer.valueOf(AccessibleRole.TREE)262 maRoleMap.put (Integer.valueOf(AccessibleRole.TREE), "TREE"); Integer.valueOf(AccessibleRole.VIEW_PORT)263 maRoleMap.put (Integer.valueOf(AccessibleRole.VIEW_PORT), "VIEW_PORT"); Integer.valueOf(AccessibleRole.WINDOW)264 maRoleMap.put (Integer.valueOf(AccessibleRole.WINDOW), "WINDOW"); 265 Integer.valueOf(AccessibleRelationType.INVALID)266 maRelationMap.put (Integer.valueOf(AccessibleRelationType.INVALID), "INVALID"); Integer.valueOf(AccessibleRelationType.CONTENT_FLOWS_FROM)267 maRelationMap.put (Integer.valueOf(AccessibleRelationType.CONTENT_FLOWS_FROM), "CONTENT_FLOWS_FROM"); Integer.valueOf(AccessibleRelationType.CONTENT_FLOWS_TO)268 maRelationMap.put (Integer.valueOf(AccessibleRelationType.CONTENT_FLOWS_TO), "CONTENT_FLOWS_TO"); Integer.valueOf(AccessibleRelationType.CONTROLLED_BY)269 maRelationMap.put (Integer.valueOf(AccessibleRelationType.CONTROLLED_BY), "CONTROLLED_BY"); Integer.valueOf(AccessibleRelationType.CONTROLLER_FOR)270 maRelationMap.put (Integer.valueOf(AccessibleRelationType.CONTROLLER_FOR), "CONTROLLER_FOR"); Integer.valueOf(AccessibleRelationType.LABEL_FOR)271 maRelationMap.put (Integer.valueOf(AccessibleRelationType.LABEL_FOR), "LABEL_FOR"); Integer.valueOf(AccessibleRelationType.LABELED_BY)272 maRelationMap.put (Integer.valueOf(AccessibleRelationType.LABELED_BY), "LABELED_BY"); Integer.valueOf(AccessibleRelationType.MEMBER_OF)273 maRelationMap.put (Integer.valueOf(AccessibleRelationType.MEMBER_OF), "MEMBER_OF"); Integer.valueOf(AccessibleRelationType.SUB_WINDOW_OF)274 maRelationMap.put (Integer.valueOf(AccessibleRelationType.SUB_WINDOW_OF), "SUB_WINDOW_OF"); 275 } 276 } 277