Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.accessibility

Class AccessibleRole

java.lang.Object
|
+--javax.accessibility.AccessibleBundle
   |
   +--javax.accessibility.AccessibleRole


public class AccessibleRole

extends AccessibleBundle

The role of an accessible object. For example, this could be "button" or "table". This strongly typed "enumeration" supports localized strings. If the constants of this class are not adequate, new ones may be added in a similar matter, while avoiding a public constructor.

Since:Author:

Field Summary

static javax.accessibility.AccessibleRoleALERT

The object alerts the user about something.
static javax.accessibility.AccessibleRoleAWT_COMPONENT

An AWT component with nothing else known about it.
static javax.accessibility.AccessibleRoleCANVAS

The object can be drawn into, and traps events.
static javax.accessibility.AccessibleRoleCHECK_BOX

A choice which can be on or off, and has a separate indicator.
static javax.accessibility.AccessibleRoleCOLOR_CHOOSER

A specialized dialog for choosing a color.
static javax.accessibility.AccessibleRoleCOLUMN_HEADER

The header for a column of data.
static javax.accessibility.AccessibleRoleCOMBO_BOX

A list of choices, which may optionally allow the user to create a new choice.
static javax.accessibility.AccessibleRoleDATE_EDITOR

A component which allows editing of Date and Time objects.
static javax.accessibility.AccessibleRoleDESKTOP_ICON

An iconified frame in a desktop.
static javax.accessibility.AccessibleRoleDESKTOP_PANE

A pane which supports internal frames and their icons.
static javax.accessibility.AccessibleRoleDIALOG

A top level window title bar and border.
static javax.accessibility.AccessibleRoleDIRECTORY_PANE

A pane for navigating through directories.
static javax.accessibility.AccessibleRoleFILE_CHOOSER

A specialized dialog that allows a user to select a file.
static javax.accessibility.AccessibleRoleFILLER

An object to fill space between other components.
static javax.accessibility.AccessibleRoleFONT_CHOOSER

A component for choosing fonts and their attributes.
static javax.accessibility.AccessibleRoleFRAME

A top level window with title, menu bar, border, and so forth.
static javax.accessibility.AccessibleRoleGLASS_PANE

A pane guaranteed to be painted on top of panes beneath it.
static javax.accessibility.AccessibleRoleGROUP_BOX

A component with a border to group other components.
static javax.accessibility.AccessibleRoleHYPERLINK

A hypertext anchor.
static javax.accessibility.AccessibleRoleICON

A small picture to decorate components.
static javax.accessibility.AccessibleRoleINTERNAL_FRAME

A frame-like object clipped by a desktop pane.
static javax.accessibility.AccessibleRoleLABEL

An object to label something in a graphic interface.
static javax.accessibility.AccessibleRoleLAYERED_PANE

A specialized pane that allows drawing children in layers.
static javax.accessibility.AccessibleRoleLIST

An object which presents a list of items for selection.
static javax.accessibility.AccessibleRoleLIST_ITEM

An object which represents an item in a list.
static javax.accessibility.AccessibleRoleMENU

An object usually in a menu bar which contains a list of actions to perform.
static javax.accessibility.AccessibleRoleMENU_BAR

An object usually at the top of a frame to list available menus.
static javax.accessibility.AccessibleRoleMENU_ITEM

An object usually in a menu with an action available for the user.
static javax.accessibility.AccessibleRoleOPTION_PANE

A specialized pane for use in a dialog.
static javax.accessibility.AccessibleRolePAGE_TAB

An object in a page tab list, which contains the panel to display when selected from the list.
static javax.accessibility.AccessibleRolePAGE_TAB_LIST

An object which presents a series of panels, usually via tabs along the top.
static javax.accessibility.AccessibleRolePANEL

A generic container to group objects.
static javax.accessibility.AccessibleRolePASSWORD_TEXT

An object for passwords which should not be shown to the user.
static javax.accessibility.AccessibleRolePOPUP_MENU

A temporary window with a menu of options, which hides on selection.
static javax.accessibility.AccessibleRolePROGRESS_BAR

An object used to track amount of a task that has completed.
static javax.accessibility.AccessibleRolePUSH_BUTTON

An object that can be manipulated to do something.
static javax.accessibility.AccessibleRoleRADIO_BUTTON

A specialized choice which toggles radio buttons in the group when it is selected.
static javax.accessibility.AccessibleRoleROOT_PANE

A specialized pane with a glass pane and layered pane as children.
static javax.accessibility.AccessibleRoleROW_HEADER

The header for a row of data.
static javax.accessibility.AccessibleRoleSCROLL_BAR

An object which allows selection of the view in a scroll pane.
static javax.accessibility.AccessibleRoleSCROLL_PANE

An object which allows an incremental view of a larger pane.
static javax.accessibility.AccessibleRoleSEPARATOR

An object usually in a menu which separates logical sections of items.
static javax.accessibility.AccessibleRoleSLIDER

An object which allows selection in a bounded range.
static javax.accessibility.AccessibleRoleSPIN_BOX

A component with spinner arrows for simple numbers.
static javax.accessibility.AccessibleRoleSPLIT_PANE

A specialized pane which presents two other panels, and can often adjust the divider between them.
static javax.accessibility.AccessibleRoleSTATUS_BAR

A component with multiple labels of status information.
static javax.accessibility.AccessibleRoleSWING_COMPONENT

A swing component with nothing else known about it.
static javax.accessibility.AccessibleRoleTABLE

An object for presenting data in rows and columns.
static javax.accessibility.AccessibleRoleTEXT

An object which represents text, usually editable by the user.
static javax.accessibility.AccessibleRoleTOGGLE_BUTTON

A specialized button which can be on or off, with no separate indicator.
static javax.accessibility.AccessibleRoleTOOL_BAR

A bar or pallete with buttons for common actions in an application.
static javax.accessibility.AccessibleRoleTOOL_TIP

An object which provides information about another object.
static javax.accessibility.AccessibleRoleTREE

An object which represents a hierachical view of data.
static javax.accessibility.AccessibleRoleUNKNOWN

An accessible object whose role is unknown.
static javax.accessibility.AccessibleRoleVIEWPORT

An object which represents the visual section in a scroll pane.
static javax.accessibility.AccessibleRoleWINDOW

A top level window with no title or border.

Constructor Summary

AccessibleRole(java.lang.String key)

Create a new constant with a locale independent key.

Field Details

ALERT

public static final AccessibleRole ALERT

The object alerts the user about something.


AWT_COMPONENT

public static final AccessibleRole AWT_COMPONENT

An AWT component with nothing else known about it.

See Also:


CANVAS

public static final AccessibleRole CANVAS

The object can be drawn into, and traps events.

See Also:


CHECK_BOX

public static final AccessibleRole CHECK_BOX

A choice which can be on or off, and has a separate indicator.

See Also:


COLOR_CHOOSER

public static final AccessibleRole COLOR_CHOOSER

A specialized dialog for choosing a color.


COLUMN_HEADER

public static final AccessibleRole COLUMN_HEADER

The header for a column of data.


COMBO_BOX

public static final AccessibleRole COMBO_BOX

A list of choices, which may optionally allow the user to create a new choice.


DATE_EDITOR

public static final AccessibleRole DATE_EDITOR

A component which allows editing of Date and Time objects.


DESKTOP_ICON

public static final AccessibleRole DESKTOP_ICON

An iconified frame in a desktop.

See Also:


DESKTOP_PANE

public static final AccessibleRole DESKTOP_PANE

A pane which supports internal frames and their icons.

See Also:


DIALOG

public static final AccessibleRole DIALOG

A top level window title bar and border. It is limited compared to a frame, and is often a secondary window.

See Also:


DIRECTORY_PANE

public static final AccessibleRole DIRECTORY_PANE

A pane for navigating through directories.

See Also:


FILE_CHOOSER

public static final AccessibleRole FILE_CHOOSER

A specialized dialog that allows a user to select a file.

See Also:


FILLER

public static final AccessibleRole FILLER

An object to fill space between other components.


FONT_CHOOSER

public static final AccessibleRole FONT_CHOOSER

A component for choosing fonts and their attributes.


FRAME

public static final AccessibleRole FRAME

A top level window with title, menu bar, border, and so forth. It is often the primary window of an application.

See Also:


GLASS_PANE

public static final AccessibleRole GLASS_PANE

A pane guaranteed to be painted on top of panes beneath it.

See Also:


GROUP_BOX

public static final AccessibleRole GROUP_BOX

A component with a border to group other components.


HYPERLINK

public static final AccessibleRole HYPERLINK

A hypertext anchor.


ICON

public static final AccessibleRole ICON

A small picture to decorate components.


INTERNAL_FRAME

public static final AccessibleRole INTERNAL_FRAME

A frame-like object clipped by a desktop pane.

See Also:


LABEL

public static final AccessibleRole LABEL

An object to label something in a graphic interface.


LAYERED_PANE

public static final AccessibleRole LAYERED_PANE

A specialized pane that allows drawing children in layers. This is often used in menus and other visual components.

See Also:


LIST

public static final AccessibleRole LIST

An object which presents a list of items for selection. Often contained in a scroll pane.

See Also:


LIST_ITEM

public static final AccessibleRole LIST_ITEM

An object which represents an item in a list. Often contained in a scroll pane.

See Also:


MENU

public static final AccessibleRole MENU

An object usually in a menu bar which contains a list of actions to perform. Such actions are usually associated with menu items or submenus.

See Also:


MENU_BAR

public static final AccessibleRole MENU_BAR

An object usually at the top of a frame to list available menus.

See Also:


MENU_ITEM

public static final AccessibleRole MENU_ITEM

An object usually in a menu with an action available for the user.

See Also:


OPTION_PANE

public static final AccessibleRole OPTION_PANE

A specialized pane for use in a dialog.

See Also:


PAGE_TAB

public static final AccessibleRole PAGE_TAB

An object in a page tab list, which contains the panel to display when selected from the list.

See Also:


PAGE_TAB_LIST

public static final AccessibleRole PAGE_TAB_LIST

An object which presents a series of panels, usually via tabs along the top. Children are all page tabs.

See Also:


PANEL

public static final AccessibleRole PANEL

A generic container to group objects.


PASSWORD_TEXT

public static final AccessibleRole PASSWORD_TEXT

An object for passwords which should not be shown to the user.


POPUP_MENU

public static final AccessibleRole POPUP_MENU

A temporary window with a menu of options, which hides on selection.

See Also:


PROGRESS_BAR

public static final AccessibleRole PROGRESS_BAR

An object used to track amount of a task that has completed.


PUSH_BUTTON

public static final AccessibleRole PUSH_BUTTON

An object that can be manipulated to do something.

See Also:


RADIO_BUTTON

public static final AccessibleRole RADIO_BUTTON

A specialized choice which toggles radio buttons in the group when it is selected.

See Also:


ROOT_PANE

public static final AccessibleRole ROOT_PANE

A specialized pane with a glass pane and layered pane as children.

See Also:


ROW_HEADER

public static final AccessibleRole ROW_HEADER

The header for a row of data.


SCROLL_BAR

public static final AccessibleRole SCROLL_BAR

An object which allows selection of the view in a scroll pane.

See Also:


SCROLL_PANE

public static final AccessibleRole SCROLL_PANE

An object which allows an incremental view of a larger pane.

See Also:


SEPARATOR

public static final AccessibleRole SEPARATOR

An object usually in a menu which separates logical sections of items.

See Also:


SLIDER

public static final AccessibleRole SLIDER

An object which allows selection in a bounded range.


SPIN_BOX

public static final AccessibleRole SPIN_BOX

A component with spinner arrows for simple numbers.


SPLIT_PANE

public static final AccessibleRole SPLIT_PANE

A specialized pane which presents two other panels, and can often adjust the divider between them.


STATUS_BAR

public static final AccessibleRole STATUS_BAR

A component with multiple labels of status information.


SWING_COMPONENT

public static final AccessibleRole SWING_COMPONENT

A swing component with nothing else known about it.

See Also:


TABLE

public static final AccessibleRole TABLE

An object for presenting data in rows and columns.


TEXT

public static final AccessibleRole TEXT

An object which represents text, usually editable by the user.

See Also:


TOGGLE_BUTTON

public static final AccessibleRole TOGGLE_BUTTON

A specialized button which can be on or off, with no separate indicator.

See Also:


TOOL_BAR

public static final AccessibleRole TOOL_BAR

A bar or pallete with buttons for common actions in an application.


TOOL_TIP

public static final AccessibleRole TOOL_TIP

An object which provides information about another object. This is often displayed as a "help bubble" when a mouse hovers over the other object.


TREE

public static final AccessibleRole TREE

An object which represents a hierachical view of data. Subnodes can often be expanded or collapsed.


UNKNOWN

public static final AccessibleRole UNKNOWN

An accessible object whose role is unknown.

See Also:


VIEWPORT

public static final AccessibleRole VIEWPORT

An object which represents the visual section in a scroll pane.

See Also:


WINDOW

public static final AccessibleRole WINDOW

A top level window with no title or border.

See Also:


Constructor Details

AccessibleRole

protected AccessibleRole(java.lang.String key)

Create a new constant with a locale independent key. Follow the example, keep the constructor private and make public constants instead.

Parameters:

See Also: