| Package | Description | 
|---|---|
| java.applet | 
 Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context. 
 | 
| java.awt | 
 Contains all of the classes for creating user
interfaces and for painting graphics and images. 
 | 
| javax.accessibility | 
 Defines a contract between user-interface components and an assistive technology
that provides access to those components. 
 | 
| javax.swing | 
 Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. 
 | 
| javax.swing.table | 
 Provides classes and interfaces for dealing with
 
javax.swing.JTable. | 
| javax.swing.text | 
 Provides classes and interfaces that deal with editable
and noneditable text components. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AccessibleRole | 
Applet.AccessibleApplet.getAccessibleRole()
Get the role of this object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AccessibleRole | 
ScrollPane.AccessibleAWTScrollPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Dialog.AccessibleAWTDialog.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Panel.AccessibleAWTPanel.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Component.AccessibleAWTComponent.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
Button.AccessibleAWTButton.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Label.AccessibleAWTLabel.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Checkbox.AccessibleAWTCheckbox.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
List.AccessibleAWTList.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
List.AccessibleAWTList.AccessibleAWTListChild.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Choice.AccessibleAWTChoice.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
TextComponent.AccessibleAWTTextComponent.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
Window.AccessibleAWTWindow.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
MenuComponent.AccessibleAWTMenuComponent.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
Canvas.AccessibleAWTCanvas.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Scrollbar.AccessibleAWTScrollBar.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
MenuBar.AccessibleAWTMenuBar.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Frame.AccessibleAWTFrame.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Menu.AccessibleAWTMenu.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
MenuItem.AccessibleAWTMenuItem.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
PopupMenu.AccessibleAWTPopupMenu.getAccessibleRole()
Get the role of this object. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static AccessibleRole | 
AccessibleRole.ALERT
Object is used to alert the user about something. 
 | 
static AccessibleRole | 
AccessibleRole.AWT_COMPONENT
An AWT component, but nothing else is known about it. 
 | 
static AccessibleRole | 
AccessibleRole.CANVAS
Object that can be drawn into and is used to trap
 events. 
 | 
static AccessibleRole | 
AccessibleRole.CHECK_BOX
A choice that can be checked or unchecked and provides a
 separate indicator for the current state. 
 | 
static AccessibleRole | 
AccessibleRole.COLOR_CHOOSER
A specialized pane that lets the user choose a color. 
 | 
static AccessibleRole | 
AccessibleRole.COLUMN_HEADER
The header for a column of data. 
 | 
static AccessibleRole | 
AccessibleRole.COMBO_BOX
A list of choices the user can select from. 
 | 
static AccessibleRole | 
AccessibleRole.DATE_EDITOR
A DATE_EDITOR is a component that allows users to edit
 java.util.Date and java.util.Time objects 
 | 
static AccessibleRole | 
AccessibleRole.DESKTOP_ICON
An iconified internal frame in a DESKTOP_PANE. 
 | 
static AccessibleRole | 
AccessibleRole.DESKTOP_PANE
A pane that supports internal frames and
 iconified versions of those internal frames. 
 | 
static AccessibleRole | 
AccessibleRole.DIALOG
A top level window with title bar and a border. 
 | 
static AccessibleRole | 
AccessibleRole.DIRECTORY_PANE
A pane that allows the user to navigate through
 and select the contents of a directory. 
 | 
static AccessibleRole | 
AccessibleRole.EDITBAR
A role indicating the object acts as a formula for
 calculating a value. 
 | 
static AccessibleRole | 
AccessibleRole.FILE_CHOOSER
A specialized dialog that displays the files in the directory
 and lets the user select a file, browse a different directory,
 or specify a filename. 
 | 
static AccessibleRole | 
AccessibleRole.FILLER
An object that fills up space in a user interface. 
 | 
static AccessibleRole | 
AccessibleRole.FONT_CHOOSER
A FONT_CHOOSER is a component that lets the user pick various
 attributes for fonts. 
 | 
static AccessibleRole | 
AccessibleRole.FOOTER
A text footer 
 | 
static AccessibleRole | 
AccessibleRole.FRAME
A top level window with a title bar, border, menu bar, etc. 
 | 
static AccessibleRole | 
AccessibleRole.GLASS_PANE
A pane that is guaranteed to be painted on top
 of all panes beneath it. 
 | 
static AccessibleRole | 
AccessibleRole.GROUP_BOX
A GROUP_BOX is a simple container that contains a border
 around it and contains components inside it. 
 | 
static AccessibleRole | 
AccessibleRole.HEADER
A text header 
 | 
static AccessibleRole | 
AccessibleRole.HTML_CONTAINER
An object containing a collection of  
Accessibles that
 together represents HTML content. | 
static AccessibleRole | 
AccessibleRole.HYPERLINK
A hypertext anchor 
 | 
static AccessibleRole | 
AccessibleRole.ICON
A small fixed size picture, typically used to decorate components. 
 | 
static AccessibleRole | 
AccessibleRole.INTERNAL_FRAME
A frame-like object that is clipped by a desktop pane. 
 | 
static AccessibleRole | 
AccessibleRole.LABEL
An object used to present an icon or short string in an interface. 
 | 
static AccessibleRole | 
AccessibleRole.LAYERED_PANE
A specialized pane that allows its children to be drawn in layers,
 providing a form of stacking order. 
 | 
static AccessibleRole | 
AccessibleRole.LIST
An object that presents a list of objects to the user and allows the
 user to select one or more of them. 
 | 
static AccessibleRole | 
AccessibleRole.LIST_ITEM
An object that presents an element in a list. 
 | 
static AccessibleRole | 
AccessibleRole.MENU
An object usually found inside a menu bar that contains a list
 of actions the user can choose from. 
 | 
static AccessibleRole | 
AccessibleRole.MENU_BAR
An object usually drawn at the top of the primary dialog box of
 an application that contains a list of menus the user can choose
 from. 
 | 
static AccessibleRole | 
AccessibleRole.MENU_ITEM
An object usually contained in a menu that presents an action
 the user can choose. 
 | 
static AccessibleRole | 
AccessibleRole.OPTION_PANE
A specialized pane whose primary use is inside a DIALOG 
 | 
static AccessibleRole | 
AccessibleRole.PAGE_TAB
An object that is a child of a page tab list. 
 | 
static AccessibleRole | 
AccessibleRole.PAGE_TAB_LIST
An object that presents a series of panels (or page tabs), one at a
 time, through some mechanism provided by the object. 
 | 
static AccessibleRole | 
AccessibleRole.PANEL
A generic container that is often used to group objects. 
 | 
static AccessibleRole | 
AccessibleRole.PARAGRAPH
A text paragraph 
 | 
static AccessibleRole | 
AccessibleRole.PASSWORD_TEXT
A text object used for passwords, or other places where the
 text contents is not shown visibly to the user 
 | 
static AccessibleRole | 
AccessibleRole.POPUP_MENU
A temporary window that is usually used to offer the user a
 list of choices, and then hides when the user selects one of
 those choices. 
 | 
static AccessibleRole | 
AccessibleRole.PROGRESS_BAR
An object used to indicate how much of a task has been completed. 
 | 
static AccessibleRole | 
AccessibleRole.PROGRESS_MONITOR
A role indicating the object monitors the progress
 of some operation. 
 | 
static AccessibleRole | 
AccessibleRole.PUSH_BUTTON
An object the user can manipulate to tell the application to do
 something. 
 | 
static AccessibleRole | 
AccessibleRole.RADIO_BUTTON
A specialized check box that will cause other radio buttons in the
 same group to become unchecked when this one is checked. 
 | 
static AccessibleRole | 
AccessibleRole.ROOT_PANE
A specialized pane that has a glass pane and a layered pane as its
 children. 
 | 
static AccessibleRole | 
AccessibleRole.ROW_HEADER
The header for a row of data. 
 | 
static AccessibleRole | 
AccessibleRole.RULER
A ruler is an object used to measure distance 
 | 
static AccessibleRole | 
AccessibleRole.SCROLL_BAR
An object usually used to allow a user to incrementally view a
 large amount of data. 
 | 
static AccessibleRole | 
AccessibleRole.SCROLL_PANE
An object that allows a user to incrementally view a large amount
 of information. 
 | 
static AccessibleRole | 
AccessibleRole.SEPARATOR
An object usually contained in a menu to provide a visual
 and logical separation of the contents in a menu. 
 | 
static AccessibleRole | 
AccessibleRole.SLIDER
An object that allows the user to select from a bounded range. 
 | 
static AccessibleRole | 
AccessibleRole.SPIN_BOX
A SPIN_BOX is a simple spinner component and its main use
 is for simple numbers. 
 | 
static AccessibleRole | 
AccessibleRole.SPLIT_PANE
A specialized panel that presents two other panels at the same time. 
 | 
static AccessibleRole | 
AccessibleRole.STATUS_BAR
A STATUS_BAR is an simple component that can contain
 multiple labels of status information to the user. 
 | 
static AccessibleRole | 
AccessibleRole.SWING_COMPONENT
A Swing component, but nothing else is known about it. 
 | 
static AccessibleRole | 
AccessibleRole.TABLE
An object used to present information in terms of rows and columns. 
 | 
static AccessibleRole | 
AccessibleRole.TEXT
An object that presents text to the user. 
 | 
static AccessibleRole | 
AccessibleRole.TOGGLE_BUTTON
A specialized push button that can be checked or unchecked, but
 does not provide a separate indicator for the current state. 
 | 
static AccessibleRole | 
AccessibleRole.TOOL_BAR
A bar or palette usually composed of push buttons or toggle buttons. 
 | 
static AccessibleRole | 
AccessibleRole.TOOL_TIP
An object that provides information about another object. 
 | 
static AccessibleRole | 
AccessibleRole.TREE
An object used to present hierarchical information to the user. 
 | 
static AccessibleRole | 
AccessibleRole.UNKNOWN
The object contains some Accessible information, but its role is
 not known. 
 | 
static AccessibleRole | 
AccessibleRole.VIEWPORT
An object usually used in a scroll pane. 
 | 
static AccessibleRole | 
AccessibleRole.WINDOW
A top level window with no title or border. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract AccessibleRole | 
AccessibleContext.getAccessibleRole()
Gets the role of this object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AccessibleRole | 
ProgressMonitor.AccessibleProgressMonitor.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JOptionPane.AccessibleJOptionPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JColorChooser.AccessibleJColorChooser.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JLayeredPane.AccessibleJLayeredPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JToolBar.AccessibleJToolBar.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JViewport.AccessibleJViewport.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JMenu.AccessibleJMenu.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JSplitPane.AccessibleJSplitPane.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JScrollBar.AccessibleJScrollBar.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JPopupMenu.AccessibleJPopupMenu.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JToolTip.AccessibleJToolTip.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JCheckBox.AccessibleJCheckBox.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JSlider.AccessibleJSlider.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
CellRendererPane.AccessibleCellRendererPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JList.AccessibleJList.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JList.AccessibleJList.AccessibleJListChild.getAccessibleRole()  | 
AccessibleRole | 
JTree.AccessibleJTree.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JScrollPane.AccessibleJScrollPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JProgressBar.AccessibleJProgressBar.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JMenuBar.AccessibleJMenuBar.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
ImageIcon.AccessibleImageIcon.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JPanel.AccessibleJPanel.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
Box.Filler.AccessibleBoxFiller.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
Box.AccessibleBox.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JMenuItem.AccessibleJMenuItem.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JLabel.AccessibleJLabel.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JTable.AccessibleJTable.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JToggleButton.AccessibleJToggleButton.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JDesktopPane.AccessibleJDesktopPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JTabbedPane.AccessibleJTabbedPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JSeparator.AccessibleJSeparator.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JRootPane.AccessibleJRootPane.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JButton.AccessibleJButton.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JInternalFrame.AccessibleJInternalFrame.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JRadioButton.AccessibleJRadioButton.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JComboBox.AccessibleJComboBox.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JFileChooser.AccessibleJFileChooser.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JComponent.AccessibleJComponent.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JPasswordField.AccessibleJPasswordField.getAccessibleRole()
Gets the role of this object. 
 | 
AccessibleRole | 
JSpinner.AccessibleJSpinner.getAccessibleRole()
Gets the role of this object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AccessibleRole | 
JTableHeader.AccessibleJTableHeader.getAccessibleRole()
Get the role of this object. 
 | 
AccessibleRole | 
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getAccessibleRole()  | 
| Modifier and Type | Method and Description | 
|---|---|
AccessibleRole | 
JTextComponent.AccessibleJTextComponent.getAccessibleRole()
Gets the role of this object. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates.  All rights reserved.