| 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 | CheckboxMenuItem.AccessibleAWTCheckboxMenuItem. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Panel.AccessibleAWTPanel. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Canvas.AccessibleAWTCanvas. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Choice.AccessibleAWTChoice. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | ScrollPane.AccessibleAWTScrollPane. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Scrollbar.AccessibleAWTScrollBar. 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 | Label.AccessibleAWTLabel. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | TextComponent.AccessibleAWTTextComponent. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | Button.AccessibleAWTButton. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | MenuBar.AccessibleAWTMenuBar. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | MenuComponent.AccessibleAWTMenuComponent. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | MenuItem.AccessibleAWTMenuItem. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Menu.AccessibleAWTMenu. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | PopupMenu.AccessibleAWTPopupMenu. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Frame.AccessibleAWTFrame. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Dialog.AccessibleAWTDialog. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | Component.AccessibleAWTComponent. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | Window.AccessibleAWTWindow. getAccessibleRole()Get the role of this object. | 
| Modifier and Type | Field and Description | 
|---|---|
| static AccessibleRole | AccessibleRole. ALERTObject is used to alert the user about something. | 
| static AccessibleRole | AccessibleRole. AWT_COMPONENTAn AWT component, but nothing else is known about it. | 
| static AccessibleRole | AccessibleRole. CANVASObject that can be drawn into and is used to trap
 events. | 
| static AccessibleRole | AccessibleRole. CHECK_BOXA choice that can be checked or unchecked and provides a
 separate indicator for the current state. | 
| static AccessibleRole | AccessibleRole. COLOR_CHOOSERA specialized pane that lets the user choose a color. | 
| static AccessibleRole | AccessibleRole. COLUMN_HEADERThe header for a column of data. | 
| static AccessibleRole | AccessibleRole. COMBO_BOXA list of choices the user can select from. | 
| static AccessibleRole | AccessibleRole. DATE_EDITORA DATE_EDITOR is a component that allows users to edit
 java.util.Date and java.util.Time objects | 
| static AccessibleRole | AccessibleRole. DESKTOP_ICONAn iconified internal frame in a DESKTOP_PANE. | 
| static AccessibleRole | AccessibleRole. DESKTOP_PANEA pane that supports internal frames and
 iconified versions of those internal frames. | 
| static AccessibleRole | AccessibleRole. DIALOGA top level window with title bar and a border. | 
| static AccessibleRole | AccessibleRole. DIRECTORY_PANEA pane that allows the user to navigate through
 and select the contents of a directory. | 
| static AccessibleRole | AccessibleRole. EDITBARA role indicating the object acts as a formula for
 calculating a value. | 
| static AccessibleRole | AccessibleRole. FILE_CHOOSERA 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. FILLERAn object that fills up space in a user interface. | 
| static AccessibleRole | AccessibleRole. FONT_CHOOSERA FONT_CHOOSER is a component that lets the user pick various
 attributes for fonts. | 
| static AccessibleRole | AccessibleRole. FOOTERA text footer | 
| static AccessibleRole | AccessibleRole. FRAMEA top level window with a title bar, border, menu bar, etc. | 
| static AccessibleRole | AccessibleRole. GLASS_PANEA pane that is guaranteed to be painted on top
 of all panes beneath it. | 
| static AccessibleRole | AccessibleRole. GROUP_BOXA GROUP_BOX is a simple container that contains a border
 around it and contains components inside it. | 
| static AccessibleRole | AccessibleRole. HEADERA text header | 
| static AccessibleRole | AccessibleRole. HTML_CONTAINERAn object containing a collection of  Accessiblesthat
 together representsHTMLcontent. | 
| static AccessibleRole | AccessibleRole. HYPERLINKA hypertext anchor | 
| static AccessibleRole | AccessibleRole. ICONA small fixed size picture, typically used to decorate components. | 
| static AccessibleRole | AccessibleRole. INTERNAL_FRAMEA frame-like object that is clipped by a desktop pane. | 
| static AccessibleRole | AccessibleRole. LABELAn object used to present an icon or short string in an interface. | 
| static AccessibleRole | AccessibleRole. LAYERED_PANEA specialized pane that allows its children to be drawn in layers,
 providing a form of stacking order. | 
| static AccessibleRole | AccessibleRole. LISTAn 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_ITEMAn object that presents an element in a list. | 
| static AccessibleRole | AccessibleRole. MENUAn object usually found inside a menu bar that contains a list
 of actions the user can choose from. | 
| static AccessibleRole | AccessibleRole. MENU_BARAn 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_ITEMAn object usually contained in a menu that presents an action
 the user can choose. | 
| static AccessibleRole | AccessibleRole. OPTION_PANEA specialized pane whose primary use is inside a DIALOG | 
| static AccessibleRole | AccessibleRole. PAGE_TABAn object that is a child of a page tab list. | 
| static AccessibleRole | AccessibleRole. PAGE_TAB_LISTAn object that presents a series of panels (or page tabs), one at a
 time, through some mechanism provided by the object. | 
| static AccessibleRole | AccessibleRole. PANELA generic container that is often used to group objects. | 
| static AccessibleRole | AccessibleRole. PARAGRAPHA text paragraph | 
| static AccessibleRole | AccessibleRole. PASSWORD_TEXTA text object used for passwords, or other places where the
 text contents is not shown visibly to the user | 
| static AccessibleRole | AccessibleRole. POPUP_MENUA 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_BARAn object used to indicate how much of a task has been completed. | 
| static AccessibleRole | AccessibleRole. PROGRESS_MONITORA role indicating the object monitors the progress
 of some operation. | 
| static AccessibleRole | AccessibleRole. PUSH_BUTTONAn object the user can manipulate to tell the application to do
 something. | 
| static AccessibleRole | AccessibleRole. RADIO_BUTTONA 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_PANEA specialized pane that has a glass pane and a layered pane as its
 children. | 
| static AccessibleRole | AccessibleRole. ROW_HEADERThe header for a row of data. | 
| static AccessibleRole | AccessibleRole. RULERA ruler is an object used to measure distance | 
| static AccessibleRole | AccessibleRole. SCROLL_BARAn object usually used to allow a user to incrementally view a
 large amount of data. | 
| static AccessibleRole | AccessibleRole. SCROLL_PANEAn object that allows a user to incrementally view a large amount
 of information. | 
| static AccessibleRole | AccessibleRole. SEPARATORAn object usually contained in a menu to provide a visual
 and logical separation of the contents in a menu. | 
| static AccessibleRole | AccessibleRole. SLIDERAn object that allows the user to select from a bounded range. | 
| static AccessibleRole | AccessibleRole. SPIN_BOXA SPIN_BOX is a simple spinner component and its main use
 is for simple numbers. | 
| static AccessibleRole | AccessibleRole. SPLIT_PANEA specialized panel that presents two other panels at the same time. | 
| static AccessibleRole | AccessibleRole. STATUS_BARA STATUS_BAR is an simple component that can contain
 multiple labels of status information to the user. | 
| static AccessibleRole | AccessibleRole. SWING_COMPONENTA Swing component, but nothing else is known about it. | 
| static AccessibleRole | AccessibleRole. TABLEAn object used to present information in terms of rows and columns. | 
| static AccessibleRole | AccessibleRole. TEXTAn object that presents text to the user. | 
| static AccessibleRole | AccessibleRole. TOGGLE_BUTTONA specialized push button that can be checked or unchecked, but
 does not provide a separate indicator for the current state. | 
| static AccessibleRole | AccessibleRole. TOOL_BARA bar or palette usually composed of push buttons or toggle buttons. | 
| static AccessibleRole | AccessibleRole. TOOL_TIPAn object that provides information about another object. | 
| static AccessibleRole | AccessibleRole. TREEAn object used to present hierarchical information to the user. | 
| static AccessibleRole | AccessibleRole. UNKNOWNThe object contains some Accessible information, but its role is
 not known. | 
| static AccessibleRole | AccessibleRole. VIEWPORTAn object usually used in a scroll pane. | 
| static AccessibleRole | AccessibleRole. WINDOWA 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 | JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | ProgressMonitor.AccessibleProgressMonitor. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | JPasswordField.AccessibleJPasswordField. getAccessibleRole()Gets 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 | ImageIcon.AccessibleImageIcon. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JRadioButton.AccessibleJRadioButton. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JTabbedPane.AccessibleJTabbedPane. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JOptionPane.AccessibleJOptionPane. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JProgressBar.AccessibleJProgressBar. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | JCheckBox.AccessibleJCheckBox. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JToggleButton.AccessibleJToggleButton. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JToolBar.AccessibleJToolBar. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | CellRendererPane.AccessibleCellRendererPane. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JTree.AccessibleJTree. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JTree.AccessibleJTree.AccessibleJTreeNode. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JSplitPane.AccessibleJSplitPane. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | JSeparator.AccessibleJSeparator. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JSlider.AccessibleJSlider. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JDesktopPane.AccessibleJDesktopPane. 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 | JFileChooser.AccessibleJFileChooser. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | JComboBox.AccessibleJComboBox. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JColorChooser.AccessibleJColorChooser. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JSpinner.AccessibleJSpinner. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | JLabel.AccessibleJLabel. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JScrollBar.AccessibleJScrollBar. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JViewport.AccessibleJViewport. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JScrollPane.AccessibleJScrollPane. 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 | JList.AccessibleJList. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JList.AccessibleJList.AccessibleJListChild. getAccessibleRole() | 
| AccessibleRole | JMenu.AccessibleJMenu. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JButton.AccessibleJButton. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JLayeredPane.AccessibleJLayeredPane. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JMenuBar.AccessibleJMenuBar. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JMenuItem.AccessibleJMenuItem. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JRootPane.AccessibleJRootPane. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JToolTip.AccessibleJToolTip. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JPopupMenu.AccessibleJPopupMenu. getAccessibleRole()Get the role of this object. | 
| AccessibleRole | JComponent.AccessibleJComponent. getAccessibleRole()Gets the role of this object. | 
| AccessibleRole | JPanel.AccessibleJPanel. getAccessibleRole()Get 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, 2023, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.