All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.accessibility.AccessibleRole

java.lang.Object
   |
   +----com.sun.java.accessibility.AccessibleEnumeration
           |
           +----com.sun.java.accessibility.AccessibleRole

public class AccessibleRole
extends AccessibleEnumeration

Class used to determine the role of a component. The role of a component describes the generic function of the component, such as "push button," "table," or "list."

The toDisplayString method allows you to obtain the localized string for a locale independent key from a predefined ResourceBundle for the keys defined in this class.

The constants in this class present a strongly typed enumeration of common object roles. A public constructor for this class has been purposely omitted and applications should use one of the constants from this class. If the constants in this class are not sufficient to describe the role of an object, a subclass should be generated from this class and it should provide constants in a similar manner.


Variable Index

 o ALERT
 o APPLICATION
 o BORDER
 o CHECK_BOX
 o CHECK_BOX_MENU_ITEM
 o CHOICE
 o COLUMN
 o COLUMN_HEADER
 o COMBO_BOX
 o CURSOR
 o DOCUMENT
 o GROUPING
 o IMAGE
 o INDICATOR
 o LABEL
 o LIST
 o LIST_ITEM
 o MENU
 o MENU_BAR
 o MENU_ITEM
 o PAGE_TAB
 o PAGE_TAB_LIST
 o PANEL
 o POPUP_MENU
 o PROGRESS_BAR
 o PUSH_BUTTON
 o RADIO_BUTTON
 o RADIO_BUTTON_MENU_ITEM
 o ROW
 o ROW_HEADER
 o SCROLL_BAR
 o SCROLL_PANE
 o SEPARATOR
 o SLIDER
 o SPLIT_PANE
 o TABLE
 o TEXT
 o TOOL_BAR
 o TOOL_TIP
 o TREE
 o TREE_NODE
 o UNKNOWN
 o WINDOW

Constructor Index

 o AccessibleRole(String)
Create a new AccessibleRole using the given locale independent key.

Variables

 o ALERT
 public static final AccessibleRole ALERT
 o APPLICATION
 public static final AccessibleRole APPLICATION
 o BORDER
 public static final AccessibleRole BORDER
 o CHECK_BOX
 public static final AccessibleRole CHECK_BOX
 o CHECK_BOX_MENU_ITEM
 public static final AccessibleRole CHECK_BOX_MENU_ITEM
 o CHOICE
 public static final AccessibleRole CHOICE
 o COLUMN
 public static final AccessibleRole COLUMN
 o COLUMN_HEADER
 public static final AccessibleRole COLUMN_HEADER
 o COMBO_BOX
 public static final AccessibleRole COMBO_BOX
 o CURSOR
 public static final AccessibleRole CURSOR
 o DOCUMENT
 public static final AccessibleRole DOCUMENT
 o GROUPING
 public static final AccessibleRole GROUPING
 o IMAGE
 public static final AccessibleRole IMAGE
 o INDICATOR
 public static final AccessibleRole INDICATOR
 o LABEL
 public static final AccessibleRole LABEL
 o LIST
 public static final AccessibleRole LIST
 o LIST_ITEM
 public static final AccessibleRole LIST_ITEM
 o MENU_BAR
 public static final AccessibleRole MENU_BAR
 o MENU
 public static final AccessibleRole MENU
 o MENU_ITEM
 public static final AccessibleRole MENU_ITEM
 o PAGE_TAB
 public static final AccessibleRole PAGE_TAB
 o PAGE_TAB_LIST
 public static final AccessibleRole PAGE_TAB_LIST
 o PANEL
 public static final AccessibleRole PANEL
 o POPUP_MENU
 public static final AccessibleRole POPUP_MENU
 o PROGRESS_BAR
 public static final AccessibleRole PROGRESS_BAR
 o PUSH_BUTTON
 public static final AccessibleRole PUSH_BUTTON
 o RADIO_BUTTON
 public static final AccessibleRole RADIO_BUTTON
 o RADIO_BUTTON_MENU_ITEM
 public static final AccessibleRole RADIO_BUTTON_MENU_ITEM
 o ROW
 public static final AccessibleRole ROW
 o ROW_HEADER
 public static final AccessibleRole ROW_HEADER
 o SCROLL_BAR
 public static final AccessibleRole SCROLL_BAR
 o SCROLL_PANE
 public static final AccessibleRole SCROLL_PANE
 o SEPARATOR
 public static final AccessibleRole SEPARATOR
 o SLIDER
 public static final AccessibleRole SLIDER
 o SPLIT_PANE
 public static final AccessibleRole SPLIT_PANE
 o TABLE
 public static final AccessibleRole TABLE
 o TEXT
 public static final AccessibleRole TEXT
 o TREE
 public static final AccessibleRole TREE
 o TREE_NODE
 public static final AccessibleRole TREE_NODE
 o TOOL_BAR
 public static final AccessibleRole TOOL_BAR
 o TOOL_TIP
 public static final AccessibleRole TOOL_TIP
 o UNKNOWN
 public static final AccessibleRole UNKNOWN
 o WINDOW
 public static final AccessibleRole WINDOW

Constructors

 o AccessibleRole
 protected AccessibleRole(String key)
Create a new AccessibleRole using the given locale independent key. This should not be a public method. Instead, it is used to create the constants in this file to make it a strongly typed enumeration. Subclasses of this class should enforce similar policy.

Parameters:
key - the locale independent name of the role.
See Also:
toDisplayString

All Packages  Class Hierarchy  This Package  Previous  Next  Index