001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017:
018: /**
019: * @author Dennis Ushakov
020: * @version $Revision$
021: */package javax.accessibility;
022:
023: public class AccessibleRole extends AccessibleBundle {
024: public static final AccessibleRole ALERT = new AccessibleRole(
025: "alert"); //$NON-NLS-1$
026: public static final AccessibleRole COLUMN_HEADER = new AccessibleRole(
027: "columnHeader"); //$NON-NLS-1$
028: public static final AccessibleRole CANVAS = new AccessibleRole(
029: "canvas"); //$NON-NLS-1$
030: public static final AccessibleRole COMBO_BOX = new AccessibleRole(
031: "combobox"); //$NON-NLS-1$
032: public static final AccessibleRole DESKTOP_ICON = new AccessibleRole(
033: "desktopIcon"); //$NON-NLS-1$
034: public static final AccessibleRole INTERNAL_FRAME = new AccessibleRole(
035: "internalFrame"); //$NON-NLS-1$
036: public static final AccessibleRole DESKTOP_PANE = new AccessibleRole(
037: "desktopPane"); //$NON-NLS-1$
038: public static final AccessibleRole OPTION_PANE = new AccessibleRole(
039: "optionPane"); //$NON-NLS-1$
040: public static final AccessibleRole WINDOW = new AccessibleRole(
041: "window"); //$NON-NLS-1$
042: public static final AccessibleRole FRAME = new AccessibleRole(
043: "frame"); //$NON-NLS-1$
044: public static final AccessibleRole DIALOG = new AccessibleRole(
045: "dialog"); //$NON-NLS-1$
046: public static final AccessibleRole COLOR_CHOOSER = new AccessibleRole(
047: "colorChooser"); //$NON-NLS-1$
048: public static final AccessibleRole DIRECTORY_PANE = new AccessibleRole(
049: "directoryPane"); //$NON-NLS-1$
050: public static final AccessibleRole FILE_CHOOSER = new AccessibleRole(
051: "fileChooser"); //$NON-NLS-1$
052: public static final AccessibleRole FILLER = new AccessibleRole(
053: "filler"); //$NON-NLS-1$
054: public static final AccessibleRole HYPERLINK = new AccessibleRole(
055: "hyperlink"); //$NON-NLS-1$
056: public static final AccessibleRole ICON = new AccessibleRole("icon"); //$NON-NLS-1$
057: public static final AccessibleRole LABEL = new AccessibleRole(
058: "label"); //$NON-NLS-1$
059: public static final AccessibleRole ROOT_PANE = new AccessibleRole(
060: "rootPane"); //$NON-NLS-1$
061: public static final AccessibleRole GLASS_PANE = new AccessibleRole(
062: "glassPane"); //$NON-NLS-1$
063: public static final AccessibleRole LAYERED_PANE = new AccessibleRole(
064: "layeredPane"); //$NON-NLS-1$
065: public static final AccessibleRole LIST = new AccessibleRole("list"); //$NON-NLS-1$
066: public static final AccessibleRole LIST_ITEM = new AccessibleRole(
067: "listItem"); //$NON-NLS-1$
068: public static final AccessibleRole MENU_BAR = new AccessibleRole(
069: "menuBar"); //$NON-NLS-1$
070: public static final AccessibleRole POPUP_MENU = new AccessibleRole(
071: "popupMenu"); //$NON-NLS-1$
072: public static final AccessibleRole MENU = new AccessibleRole("menu"); //$NON-NLS-1$
073: public static final AccessibleRole MENU_ITEM = new AccessibleRole(
074: "menuItem"); //$NON-NLS-1$
075: public static final AccessibleRole SEPARATOR = new AccessibleRole(
076: "separator"); //$NON-NLS-1$
077: public static final AccessibleRole PAGE_TAB_LIST = new AccessibleRole(
078: "pageTabList"); //$NON-NLS-1$
079: public static final AccessibleRole PAGE_TAB = new AccessibleRole(
080: "pageTab"); //$NON-NLS-1$
081: public static final AccessibleRole PANEL = new AccessibleRole(
082: "panel"); //$NON-NLS-1$
083: public static final AccessibleRole PROGRESS_BAR = new AccessibleRole(
084: "progressBar"); //$NON-NLS-1$
085: public static final AccessibleRole PASSWORD_TEXT = new AccessibleRole(
086: "passwordText"); //$NON-NLS-1$
087: public static final AccessibleRole PUSH_BUTTON = new AccessibleRole(
088: "pushButton"); //$NON-NLS-1$
089: public static final AccessibleRole TOGGLE_BUTTON = new AccessibleRole(
090: "toggleButton"); //$NON-NLS-1$
091: public static final AccessibleRole CHECK_BOX = new AccessibleRole(
092: "checkBox"); //$NON-NLS-1$
093: public static final AccessibleRole RADIO_BUTTON = new AccessibleRole(
094: "radioButton"); //$NON-NLS-1$
095: public static final AccessibleRole ROW_HEADER = new AccessibleRole(
096: "rowHeader"); //$NON-NLS-1$
097: public static final AccessibleRole SCROLL_PANE = new AccessibleRole(
098: "scrollPane"); //$NON-NLS-1$
099: public static final AccessibleRole SCROLL_BAR = new AccessibleRole(
100: "scrollBar"); //$NON-NLS-1$
101: public static final AccessibleRole VIEWPORT = new AccessibleRole(
102: "viewport"); //$NON-NLS-1$
103: public static final AccessibleRole SLIDER = new AccessibleRole(
104: "slider"); //$NON-NLS-1$
105: public static final AccessibleRole SPLIT_PANE = new AccessibleRole(
106: "splitPane"); //$NON-NLS-1$
107: public static final AccessibleRole TABLE = new AccessibleRole(
108: "table"); //$NON-NLS-1$
109: public static final AccessibleRole TEXT = new AccessibleRole("text"); //$NON-NLS-1$
110: public static final AccessibleRole TREE = new AccessibleRole("tree"); //$NON-NLS-1$
111: public static final AccessibleRole TOOL_BAR = new AccessibleRole(
112: "toolBar"); //$NON-NLS-1$
113: public static final AccessibleRole TOOL_TIP = new AccessibleRole(
114: "toolTip"); //$NON-NLS-1$
115: public static final AccessibleRole AWT_COMPONENT = new AccessibleRole(
116: "awtComponent"); //$NON-NLS-1$
117: public static final AccessibleRole SWING_COMPONENT = new AccessibleRole(
118: "swingComponent"); //$NON-NLS-1$
119: public static final AccessibleRole UNKNOWN = new AccessibleRole(
120: "unknown"); //$NON-NLS-1$
121: public static final AccessibleRole STATUS_BAR = new AccessibleRole(
122: "statusBar"); //$NON-NLS-1$
123: public static final AccessibleRole DATE_EDITOR = new AccessibleRole(
124: "dateEditor"); //$NON-NLS-1$
125: public static final AccessibleRole SPIN_BOX = new AccessibleRole(
126: "spinBox"); //$NON-NLS-1$
127: public static final AccessibleRole FONT_CHOOSER = new AccessibleRole(
128: "fontChooser"); //$NON-NLS-1$
129: public static final AccessibleRole GROUP_BOX = new AccessibleRole(
130: "groupBox"); //$NON-NLS-1$
131: public static final AccessibleRole HEADER = new AccessibleRole(
132: "header"); //$NON-NLS-1$
133: public static final AccessibleRole FOOTER = new AccessibleRole(
134: "footer"); //$NON-NLS-1$
135: public static final AccessibleRole PARAGRAPH = new AccessibleRole(
136: "paragraph"); //$NON-NLS-1$
137: public static final AccessibleRole RULER = new AccessibleRole(
138: "ruler"); //$NON-NLS-1$
139: public static final AccessibleRole EDITBAR = new AccessibleRole(
140: "editBar"); //$NON-NLS-1$
141: public static final AccessibleRole PROGRESS_MONITOR = new AccessibleRole(
142: "progressMonitor"); //$NON-NLS-1$
143:
144: protected AccessibleRole(final String key) {
145: this.key = key;
146: }
147: }
|