|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

, Applet.AccessibleApplet
, Box.AccessibleBox
, Box.Filler.AccessibleBoxFiller
, Button.AccessibleAWTButton
, Canvas.AccessibleAWTCanvas
, CellRendererPane.AccessibleCellRendererPane
, Checkbox.AccessibleAWTCheckbox
, CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
, Choice.AccessibleAWTChoice
, Component.AccessibleAWTComponent
, Container.AccessibleAWTContainer
, Dialog.AccessibleAWTDialog
, Frame.AccessibleAWTFrame
, JApplet.AccessibleJApplet
, JButton.AccessibleJButton
, JCheckBox.AccessibleJCheckBox
, JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem
, JColorChooser.AccessibleJColorChooser
, JComboBox.AccessibleJComboBox
, JComponent.AccessibleJComponent
, JDesktopPane.AccessibleJDesktopPane
, JDialog.AccessibleJDialog
, JEditorPane.AccessibleJEditorPane
, JEditorPane.AccessibleJEditorPaneHTML
, JEditorPane.JEditorPaneAccessibleHypertextSupport
, JFileChooser.AccessibleJFileChooser
, JFrame.AccessibleJFrame
, JInternalFrame.AccessibleJInternalFrame
, JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon
, JLabel.AccessibleJLabel
, JLayeredPane.AccessibleJLayeredPane
, JList.AccessibleJList
, JList.AccessibleJList.AccessibleJListChild
, JMenu.AccessibleJMenu
, JMenuBar.AccessibleJMenuBar
, JMenuItem.AccessibleJMenuItem
, JOptionPane.AccessibleJOptionPane
, JPanel.AccessibleJPanel
, JPasswordField.AccessibleJPasswordField
, JPopupMenu.AccessibleJPopupMenu
, JProgressBar.AccessibleJProgressBar
, JRadioButton.AccessibleJRadioButton
, JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem
, JRootPane.AccessibleJRootPane
, JScrollBar.AccessibleJScrollBar
, JScrollPane.AccessibleJScrollPane
, JSeparator.AccessibleJSeparator
, JSlider.AccessibleJSlider
, JSpinner.AccessibleJSpinner
, JSplitPane.AccessibleJSplitPane
, JTabbedPane.AccessibleJTabbedPane
, JTable.AccessibleJTable
, JTable.AccessibleJTable.AccessibleJTableCell
, JTableHeader.AccessibleJTableHeader
, JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry
, JTextArea.AccessibleJTextArea
, JTextComponent.AccessibleJTextComponent
, JTextField.AccessibleJTextField
, JToggleButton.AccessibleJToggleButton
, JToolBar.AccessibleJToolBar
, JToolTip.AccessibleJToolTip
, JTree.AccessibleJTree
, JTree.AccessibleJTree.AccessibleJTreeNode
, JViewport.AccessibleJViewport
, JWindow.AccessibleJWindow
, Label.AccessibleAWTLabel
, List.AccessibleAWTList
, List.AccessibleAWTList.AccessibleAWTListChild
, Menu.AccessibleAWTMenu
, MenuBar.AccessibleAWTMenuBar
, MenuComponent.AccessibleAWTMenuComponent
, MenuItem.AccessibleAWTMenuItem
, Panel.AccessibleAWTPanel
, PopupMenu.AccessibleAWTPopupMenu
, Scrollbar.AccessibleAWTScrollBar
, ScrollPane.AccessibleAWTScrollPane
, TextArea.AccessibleAWTTextArea
, TextComponent.AccessibleAWTTextComponent
, TextField.AccessibleAWTTextField
, Window.AccessibleAWTWindow

public interface AccessibleComponent
The AccessibleComponent interface should be supported by any object
that is rendered on the screen. This interface provides the standard
mechanism for an assistive technology to determine and set the
graphical representation of an object. Applications can determine
if an object supports the AccessibleComponent interface by first
obtaining its AccessibleContext
and then calling the
AccessibleContext.getAccessibleComponent()
method.
If the return value is not null, the object supports this interface.
Accessible
,
Accessible.getAccessibleContext()
,
AccessibleContext
,
AccessibleContext.getAccessibleComponent()

| Method Summary | |
|---|---|
void |
addFocusListener
Adds the specified focus listener to receive focus events from this component. |
boolean |
contains
Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object. |
Accessible |
getAccessibleAt
Returns the Accessible child, if one exists, contained at the local coordinate Point. |
Color |
getBackground
Gets the background color of this object. |
Rectangle |
getBounds
Gets the bounds of this object in the form of a Rectangle object. |
Cursor |
getCursor
Gets the Cursor of this object. |
Font |
getFont
Gets the Font of this object. |
FontMetrics |
getFontMetrics
Gets the FontMetrics of this object. |
Color |
getForeground
Gets the foreground color of this object. |
Point |
getLocation
Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space. |
Point |
getLocationOnScreen
Returns the location of the object on the screen. |
Dimension |
getSize
Returns the size of this object in the form of a Dimension object. |
boolean |
isEnabled
Determines if the object is enabled. |
boolean |
isFocusTraversable
Returns whether this object can accept focus or not. |
boolean |
isShowing
Determines if the object is showing. |
boolean |
isVisible
Determines if the object is visible. |
void |
removeFocusListener
Removes the specified focus listener so it no longer receives focus events from this component. |
void |
requestFocus
Requests focus for this object. |
void |
setBackground
Sets the background color of this object. |
void |
setBounds
Sets the bounds of this object in the form of a Rectangle object. |
void |
setCursor
Sets the Cursor of this object. |
void |
setEnabled
Sets the enabled state of the object. |
void |
setFont
Sets the Font of this object. |
void |
setForeground
Sets the foreground color of this object. |
void |
setLocation
Sets the location of the object relative to the parent. |
void |
setSize
Resizes this object so that it has width and height. |
void |
setVisible
Sets the visible state of the object. |
| Method Detail |
|---|

Color![]()
![]()
getBackground()
setBackground(java.awt.Color)


void setBackground(Color![]()
![]()
c)
c - the new Color for the backgroundsetBackground(java.awt.Color)


Color![]()
![]()
getForeground()
setForeground(java.awt.Color)


void setForeground(Color![]()
![]()
c)
c - the new Color for the foregroundgetForeground()


Cursor![]()
![]()
getCursor()
setCursor(java.awt.Cursor)


void setCursor(Cursor![]()
![]()
cursor)
cursor - the new Cursor for the objectgetCursor()


Font![]()
![]()
getFont()
setFont(java.awt.Font)


void setFont(Font