javax.swing
Class JComponent.AccessibleJComponent

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext 
      extended by java.awt.Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent 
          extended by java.awt.Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer 
              extended by javax.swing.JComponent.AccessibleJComponent
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent , AccessibleExtendedComponent sample code for javax.accessibility.AccessibleExtendedComponent definition code for javax.accessibility.AccessibleExtendedComponent
Direct Known Subclasses:
AbstractButton.AccessibleAbstractButton sample code for javax.swing.AbstractButton.AccessibleAbstractButton definition code for javax.swing.AbstractButton.AccessibleAbstractButton , JColorChooser.AccessibleJColorChooser sample code for javax.swing.JColorChooser.AccessibleJColorChooser definition code for javax.swing.JColorChooser.AccessibleJColorChooser , JComboBox.AccessibleJComboBox sample code for javax.swing.JComboBox.AccessibleJComboBox definition code for javax.swing.JComboBox.AccessibleJComboBox , JDesktopPane.AccessibleJDesktopPane sample code for javax.swing.JDesktopPane.AccessibleJDesktopPane definition code for javax.swing.JDesktopPane.AccessibleJDesktopPane , JFileChooser.AccessibleJFileChooser sample code for javax.swing.JFileChooser.AccessibleJFileChooser definition code for javax.swing.JFileChooser.AccessibleJFileChooser , JInternalFrame.AccessibleJInternalFrame sample code for javax.swing.JInternalFrame.AccessibleJInternalFrame definition code for javax.swing.JInternalFrame.AccessibleJInternalFrame , JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon , JLabel.AccessibleJLabel sample code for javax.swing.JLabel.AccessibleJLabel definition code for javax.swing.JLabel.AccessibleJLabel , JLayeredPane.AccessibleJLayeredPane sample code for javax.swing.JLayeredPane.AccessibleJLayeredPane definition code for javax.swing.JLayeredPane.AccessibleJLayeredPane , JList.AccessibleJList sample code for javax.swing.JList.AccessibleJList definition code for javax.swing.JList.AccessibleJList , JMenuBar.AccessibleJMenuBar sample code for javax.swing.JMenuBar.AccessibleJMenuBar definition code for javax.swing.JMenuBar.AccessibleJMenuBar , JOptionPane.AccessibleJOptionPane sample code for javax.swing.JOptionPane.AccessibleJOptionPane definition code for javax.swing.JOptionPane.AccessibleJOptionPane , JPanel.AccessibleJPanel sample code for javax.swing.JPanel.AccessibleJPanel definition code for javax.swing.JPanel.AccessibleJPanel , JPopupMenu.AccessibleJPopupMenu sample code for javax.swing.JPopupMenu.AccessibleJPopupMenu definition code for javax.swing.JPopupMenu.AccessibleJPopupMenu , JProgressBar.AccessibleJProgressBar sample code for javax.swing.JProgressBar.AccessibleJProgressBar definition code for javax.swing.JProgressBar.AccessibleJProgressBar , JRootPane.AccessibleJRootPane sample code for javax.swing.JRootPane.AccessibleJRootPane definition code for javax.swing.JRootPane.AccessibleJRootPane , JScrollBar.AccessibleJScrollBar sample code for javax.swing.JScrollBar.AccessibleJScrollBar definition code for javax.swing.JScrollBar.AccessibleJScrollBar , JScrollPane.AccessibleJScrollPane sample code for javax.swing.JScrollPane.AccessibleJScrollPane definition code for javax.swing.JScrollPane.AccessibleJScrollPane , JSeparator.AccessibleJSeparator sample code for javax.swing.JSeparator.AccessibleJSeparator definition code for javax.swing.JSeparator.AccessibleJSeparator , JSlider.AccessibleJSlider sample code for javax.swing.JSlider.AccessibleJSlider definition code for javax.swing.JSlider.AccessibleJSlider , JSpinner.AccessibleJSpinner sample code for javax.swing.JSpinner.AccessibleJSpinner definition code for javax.swing.JSpinner.AccessibleJSpinner , JSplitPane.AccessibleJSplitPane sample code for javax.swing.JSplitPane.AccessibleJSplitPane definition code for javax.swing.JSplitPane.AccessibleJSplitPane , JTabbedPane.AccessibleJTabbedPane sample code for javax.swing.JTabbedPane.AccessibleJTabbedPane definition code for javax.swing.JTabbedPane.AccessibleJTabbedPane , JTable.AccessibleJTable sample code for javax.swing.JTable.AccessibleJTable definition code for javax.swing.JTable.AccessibleJTable , JTableHeader.AccessibleJTableHeader sample code for javax.swing.table.JTableHeader.AccessibleJTableHeader definition code for javax.swing.table.JTableHeader.AccessibleJTableHeader , JTextComponent.AccessibleJTextComponent sample code for javax.swing.text.JTextComponent.AccessibleJTextComponent definition code for javax.swing.text.JTextComponent.AccessibleJTextComponent , JToolBar.AccessibleJToolBar sample code for javax.swing.JToolBar.AccessibleJToolBar definition code for javax.swing.JToolBar.AccessibleJToolBar , JToolTip.AccessibleJToolTip sample code for javax.swing.JToolTip.AccessibleJToolTip definition code for javax.swing.JToolTip.AccessibleJToolTip , JTree.AccessibleJTree sample code for javax.swing.JTree.AccessibleJTree definition code for javax.swing.JTree.AccessibleJTree , JViewport.AccessibleJViewport sample code for javax.swing.JViewport.AccessibleJViewport definition code for javax.swing.JViewport.AccessibleJViewport
Enclosing class:
JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent

public abstract class JComponent.AccessibleJComponent
extends Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer
implements AccessibleExtendedComponent sample code for javax.accessibility.AccessibleExtendedComponent definition code for javax.accessibility.AccessibleExtendedComponent

Inner class of JComponent used to provide default support for accessibility. This class is not meant to be used directly by application developers, but is instead meant only to be subclassed by component developers.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder sample code for java.beans.XMLEncoder definition code for java.beans.XMLEncoder .

See Also:
Serialized Form

Nested Class Summary
protected  class JComponent.AccessibleJComponent.AccessibleContainerHandler sample code for javax.swing.JComponent.AccessibleJComponent.AccessibleContainerHandler definition code for javax.swing.JComponent.AccessibleJComponent.AccessibleContainerHandler
          Fire PropertyChange listener, if one is registered, when children added/removed.
protected  class JComponent.AccessibleJComponent.AccessibleFocusHandler sample code for javax.swing.JComponent.AccessibleJComponent.AccessibleFocusHandler definition code for javax.swing.JComponent.AccessibleJComponent.AccessibleFocusHandler
          Fire PropertyChange listener, if one is registered, when focus events happen
 
Nested classes/interfaces inherited from class java.awt.Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTComponentHandler definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTComponentHandler , Component.AccessibleAWTComponent.AccessibleAWTFocusHandler sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
 
Field Summary
protected  ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener accessibleContainerHandler sample code for javax.swing.JComponent.AccessibleJComponent.accessibleContainerHandler definition code for javax.swing.JComponent.AccessibleJComponent.accessibleContainerHandler
           
protected  FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener accessibleFocusHandler sample code for javax.swing.JComponent.AccessibleJComponent.accessibleFocusHandler definition code for javax.swing.JComponent.AccessibleJComponent.accessibleFocusHandler
           
 
Fields inherited from class java.awt.Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
accessibleAWTComponentHandler sample code for java.awt.Component.AccessibleAWTComponent.accessibleAWTComponentHandler definition code for java.awt.Component.AccessibleAWTComponent.accessibleAWTComponentHandler , accessibleAWTFocusHandler sample code for java.awt.Component.AccessibleAWTComponent.accessibleAWTFocusHandler definition code for java.awt.Component.AccessibleAWTComponent.accessibleAWTFocusHandler
 
Fields inherited from class javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
ACCESSIBLE_ACTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTION_PROPERTY , ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY , ACCESSIBLE_CARET_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_CARET_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_CARET_PROPERTY , ACCESSIBLE_CHILD_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY , ACCESSIBLE_COMPONENT_BOUNDS_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED , ACCESSIBLE_DESCRIPTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY , ACCESSIBLE_HYPERTEXT_OFFSET sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET , ACCESSIBLE_INVALIDATE_CHILDREN sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN , ACCESSIBLE_NAME_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY , ACCESSIBLE_SELECTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY , ACCESSIBLE_STATE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY , ACCESSIBLE_TABLE_CAPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED , ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED , ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED , ACCESSIBLE_TABLE_MODEL_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED , ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED , ACCESSIBLE_TABLE_ROW_HEADER_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED , ACCESSIBLE_TABLE_SUMMARY_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED , ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED , ACCESSIBLE_TEXT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY , ACCESSIBLE_VALUE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY , ACCESSIBLE_VISIBLE_DATA_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY , accessibleDescription sample code for javax.accessibility.AccessibleContext.accessibleDescription definition code for javax.accessibility.AccessibleContext.accessibleDescription , accessibleName sample code for javax.accessibility.AccessibleContext.accessibleName definition code for javax.accessibility.AccessibleContext.accessibleName , accessibleParent sample code for javax.accessibility.AccessibleContext.accessibleParent definition code for javax.accessibility.AccessibleContext.accessibleParent
 
Constructor Summary
protected JComponent.AccessibleJComponent sample code for javax.swing.JComponent.AccessibleJComponent.JComponent.AccessibleJComponent() definition code for javax.swing.JComponent.AccessibleJComponent.JComponent.AccessibleJComponent() ()
          Though the class is abstract, this should be called by all sub-classes.
 
Method Summary
 void addPropertyChangeListener sample code for javax.swing.JComponent.AccessibleJComponent.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JComponent.AccessibleJComponent.addPropertyChangeListener(java.beans.PropertyChangeListener) (PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  listener)
          Adds a PropertyChangeListener to the listener list.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleChild sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChild(int) definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChild(int) (int i)
          Returns the nth Accessible child of the object.
 int getAccessibleChildrenCount sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChildrenCount() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChildrenCount() ()
          Returns the number of accessible children in the object.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleDescription sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleDescription() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleDescription() ()
          Gets the accessible description of this object.
 AccessibleKeyBinding sample code for javax.accessibility.AccessibleKeyBinding definition code for javax.accessibility.AccessibleKeyBinding getAccessibleKeyBinding sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleKeyBinding() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleKeyBinding() ()
          Returns key bindings associated with this object
 String sample code for java.lang.String definition code for java.lang.String getAccessibleName sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleName() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleName() ()
          Gets the accessible name of this object.
 AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole getAccessibleRole sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleRole() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleRole() ()
          Gets the role of this object.
 AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet getAccessibleStateSet sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleStateSet() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleStateSet() ()
          Gets the state of this object.
protected  String sample code for java.lang.String definition code for java.lang.String getBorderTitle sample code for javax.swing.JComponent.AccessibleJComponent.getBorderTitle(javax.swing.border.Border) definition code for javax.swing.JComponent.AccessibleJComponent.getBorderTitle(javax.swing.border.Border) (Border sample code for javax.swing.border.Border definition code for javax.swing.border.Border  b)
          Recursively search through the border hierarchy (if it exists) for a TitledBorder with a non-null title.
 String sample code for java.lang.String definition code for java.lang.String getTitledBorderText sample code for javax.swing.JComponent.AccessibleJComponent.getTitledBorderText() definition code for javax.swing.JComponent.AccessibleJComponent.getTitledBorderText() ()
          Returns the titled border text
 String sample code for java.lang.String definition code for java.lang.String getToolTipText sample code for javax.swing.JComponent.AccessibleJComponent.getToolTipText() definition code for javax.swing.JComponent.AccessibleJComponent.getToolTipText() ()
          Returns the tool tip text
 void removePropertyChangeListener sample code for javax.swing.JComponent.AccessibleJComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JComponent.AccessibleJComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) (PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  listener)
          Removes a PropertyChangeListener from the listener list.
 
Methods inherited from class java.awt.Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer
getAccessibleAt sample code for java.awt.Container.AccessibleAWTContainer.getAccessibleAt(java.awt.Point) definition code for java.awt.Container.AccessibleAWTContainer.getAccessibleAt(java.awt.Point)
 
Methods inherited from class java.awt.Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
addFocusListener sample code for java.awt.Component.AccessibleAWTComponent.addFocusListener(java.awt.event.FocusListener) definition code for java.awt.Component.AccessibleAWTComponent.addFocusListener(java.awt.event.FocusListener) , contains sample code for java.awt.Component.AccessibleAWTComponent.contains(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.contains(java.awt.Point) , getAccessibleComponent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleComponent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleComponent() , getAccessibleIndexInParent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleIndexInParent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleIndexInParent() , getAccessibleParent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent() , getBackground sample code for java.awt.Component.AccessibleAWTComponent.getBackground() definition code for java.awt.Component.AccessibleAWTComponent.getBackground() , getBounds sample code for java.awt.Component.AccessibleAWTComponent.getBounds() definition code for java.awt.Component.AccessibleAWTComponent.getBounds() , getCursor sample code for java.awt.Component.AccessibleAWTComponent.getCursor() definition code for java.awt.Component.AccessibleAWTComponent.getCursor() , getFont sample code for java.awt.Component.AccessibleAWTComponent.getFont() definition code for java.awt.Component.AccessibleAWTComponent.getFont() , getFontMetrics sample code for java.awt.Component.AccessibleAWTComponent.getFontMetrics(java.awt.Font) definition code for java.awt.Component.AccessibleAWTComponent.getFontMetrics(java.awt.Font) , getForeground sample code for java.awt.Component.AccessibleAWTComponent.getForeground() definition code for java.awt.Component.AccessibleAWTComponent.getForeground() , getLocale sample code for java.awt.Component.AccessibleAWTComponent.getLocale() definition code for java.awt.Component.AccessibleAWTComponent.getLocale() , getLocation sample code for java.awt.Component.AccessibleAWTComponent.getLocation() definition code for java.awt.Component.AccessibleAWTComponent.getLocation() , getLocationOnScreen sample code for java.awt.Component.AccessibleAWTComponent.getLocationOnScreen() definition code for java.awt.Component.AccessibleAWTComponent.getLocationOnScreen() , getSize sample code for java.awt.Component.AccessibleAWTComponent.getSize() definition code for java.awt.Component.AccessibleAWTComponent.getSize() , isEnabled sample code for java.awt.Component.AccessibleAWTComponent.isEnabled() definition code for java.awt.Component.AccessibleAWTComponent.isEnabled() , isFocusTraversable sample code for java.awt.Component.AccessibleAWTComponent.isFocusTraversable() definition code for java.awt.Component.AccessibleAWTComponent.isFocusTraversable() , isShowing sample code for java.awt.Component.AccessibleAWTComponent.isShowing() definition code for java.awt.Component.AccessibleAWTComponent.isShowing() , isVisible sample code for java.awt.Component.AccessibleAWTComponent.isVisible() definition code for java.awt.Component.AccessibleAWTComponent.isVisible() , removeFocusListener sample code for java.awt.Component.AccessibleAWTComponent.removeFocusListener(java.awt.event.FocusListener) definition code for java.awt.Component.AccessibleAWTComponent.removeFocusListener(java.awt.event.FocusListener) , requestFocus sample code for java.awt.Component.AccessibleAWTComponent.requestFocus() definition code for java.awt.Component.AccessibleAWTComponent.requestFocus() , setBackground sample code for java.awt.Component.AccessibleAWTComponent.setBackground(java.awt.Color) definition code for java.awt.Component.AccessibleAWTComponent.setBackground(java.awt.Color) , setBounds sample code for java.awt.Component.AccessibleAWTComponent.setBounds(java.awt.Rectangle) definition code for java.awt.Component.AccessibleAWTComponent.setBounds(java.awt.Rectangle) , setCursor sample code for java.awt.Component.AccessibleAWTComponent.setCursor(java.awt.Cursor) definition code for java.awt.Component.AccessibleAWTComponent.setCursor(java.awt.Cursor) , setEnabled sample code for java.awt.Component.AccessibleAWTComponent.setEnabled(boolean) definition code for java.awt.Component.AccessibleAWTComponent.setEnabled(boolean) , setFont sample code for java.awt.Component.AccessibleAWTComponent.setFont(java.awt.Font) definition code for java.awt.Component.AccessibleAWTComponent.setFont(java.awt.Font) , setForeground sample code for java.awt.Component.AccessibleAWTComponent.setForeground(java.awt.Color) definition code for java.awt.Component.AccessibleAWTComponent.setForeground(java.awt.Color) , setLocation sample code for java.awt.Component.AccessibleAWTComponent.setLocation(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.setLocation(java.awt.Point) , setSize sample code for java.awt.Component.AccessibleAWTComponent.setSize(java.awt.Dimension) definition code for java.awt.Component.AccessibleAWTComponent.setSize(java.awt.Dimension) , setVisible sample code for java.awt.Component.AccessibleAWTComponent.setVisible(boolean) definition code for java.awt.Component.AccessibleAWTComponent.setVisible(boolean)
 
Methods inherited from class javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
firePropertyChange sample code for javax.accessibility.AccessibleContext.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) definition code for javax.accessibility.AccessibleContext.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) , getAccessibleAction sample code for javax.accessibility.AccessibleContext.getAccessibleAction() definition code for javax.accessibility.AccessibleContext.getAccessibleAction() , getAccessibleEditableText sample code for javax.accessibility.AccessibleContext.getAccessibleEditableText() definition code for javax.accessibility.AccessibleContext.getAccessibleEditableText() , getAccessibleIcon sample code for javax.accessibility.AccessibleContext.getAccessibleIcon() definition code for javax.accessibility.AccessibleContext.getAccessibleIcon() , getAccessibleRelationSet sample code for javax.accessibility.AccessibleContext.getAccessibleRelationSet() definition code for javax.accessibility.AccessibleContext.getAccessibleRelationSet() , getAccessibleSelection sample code for javax.accessibility.AccessibleContext.getAccessibleSelection() definition code for javax.accessibility.AccessibleContext.getAccessibleSelection() , getAccessibleTable sample code for javax.accessibility.AccessibleContext.getAccessibleTable() definition code for javax.accessibility.AccessibleContext.getAccessibleTable() , getAccessibleText sample code for javax.accessibility.AccessibleContext.getAccessibleText() definition code for javax.accessibility.AccessibleContext.getAccessibleText() , getAccessibleValue sample code for javax.accessibility.AccessibleContext.getAccessibleValue() definition code for javax.accessibility.AccessibleContext.getAccessibleValue() , setAccessibleDescription sample code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) , setAccessibleName sample code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) , setAccessibleParent sample code for javax.accessibility.AccessibleContext.setAccessibleParent(javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleContext.setAccessibleParent(javax.accessibility.Accessible)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface javax.accessibility.AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
addFocusListener sample code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) , contains sample code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) , getAccessibleAt sample code for javax.accessibility.AccessibleComponent.getAccessibleAt(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.getAccessibleAt(java.awt.Point) , getBackground sample code for javax.accessibility.AccessibleComponent.getBackground() definition code for javax.accessibility.AccessibleComponent.getBackground() , getBounds sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds() , getCursor sample code for javax.accessibility.AccessibleComponent.getCursor() definition code for javax.accessibility.AccessibleComponent.getCursor() , getFont sample code for javax.accessibility.AccessibleComponent.getFont() definition code for javax.accessibility.AccessibleComponent.getFont() , getFontMetrics sample code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font) , getForeground sample code for javax.accessibility.AccessibleComponent.getForeground() definition code for javax.accessibility.AccessibleComponent.getForeground() , getLocation sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation() , getLocationOnScreen sample code for javax.accessibility.AccessibleComponent.getLocationOnScreen() definition code for javax.accessibility.AccessibleComponent.getLocationOnScreen() , getSize sample code for javax.accessibility.AccessibleComponent.getSize() definition code for javax.accessibility.AccessibleComponent.getSize() , isEnabled sample code for javax.accessibility.AccessibleComponent.isEnabled() definition code for javax.accessibility.AccessibleComponent.isEnabled() , isFocusTraversable sample code for javax.accessibility.AccessibleComponent.isFocusTraversable() definition code for javax.accessibility.AccessibleComponent.isFocusTraversable() , isShowing sample code for javax.accessibility.AccessibleComponent.isShowing() definition code for javax.accessibility.AccessibleComponent.isShowing() , isVisible sample code for javax.accessibility.AccessibleComponent.isVisible() definition code for javax.accessibility.AccessibleComponent.isVisible() , removeFocusListener sample code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) , requestFocus sample code for javax.accessibility.AccessibleComponent.requestFocus() definition code for javax.accessibility.AccessibleComponent.requestFocus() , setBackground sample code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) , setBounds sample code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle) definition code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle) , setCursor sample code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) definition code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) , setEnabled sample code for javax.accessibility.AccessibleComponent.setEnabled(boolean) definition code for javax.accessibility.AccessibleComponent.setEnabled(boolean) , setFont sample code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) , setForeground sample code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) , setLocation sample code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point) , setSize sample code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) definition code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) , setVisible sample code for javax.accessibility.AccessibleComponent.setVisible(boolean) definition code for javax.accessibility.AccessibleComponent.setVisible(boolean)
 

Field Detail

accessibleContainerHandler sample code for javax.swing.JComponent.AccessibleJComponent.accessibleContainerHandler

protected ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  accessibleContainerHandler

accessibleFocusHandler sample code for javax.swing.JComponent.AccessibleJComponent.accessibleFocusHandler

protected FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  accessibleFocusHandler
Constructor Detail

JComponent.AccessibleJComponent sample code for javax.swing.JComponent.AccessibleJComponent() definition code for javax.swing.JComponent.AccessibleJComponent()

protected JComponent.AccessibleJComponent()
Though the class is abstract, this should be called by all sub-classes.

Method Detail

addPropertyChangeListener sample code for javax.swing.JComponent.AccessibleJComponent.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JComponent.AccessibleJComponent.addPropertyChangeListener(java.beans.PropertyChangeListener)

public void addPropertyChangeListener(PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  listener)
Adds a PropertyChangeListener to the listener list.

Overrides:
addPropertyChangeListener sample code for java.awt.Container.AccessibleAWTContainer.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Container.AccessibleAWTContainer.addPropertyChangeListener(java.beans.PropertyChangeListener) in class Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer
Parameters:
listener - the PropertyChangeListener to be added
See Also:
AccessibleContext.ACCESSIBLE_NAME_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY , AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY , AccessibleContext.ACCESSIBLE_STATE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY , AccessibleContext.ACCESSIBLE_VALUE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY , AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY , AccessibleContext.ACCESSIBLE_TEXT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY , AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY

removePropertyChangeListener sample code for javax.swing.JComponent.AccessibleJComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JComponent.AccessibleJComponent.removePropertyChangeListener(java.beans.PropertyChangeListener)

public void removePropertyChangeListener(PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  listener)
Removes a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.

Overrides:
removePropertyChangeListener sample code for java.awt.Component.AccessibleAWTComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Component.AccessibleAWTComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) in class Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
Parameters:
listener - the PropertyChangeListener to be removed

getBorderTitle sample code for javax.swing.JComponent.AccessibleJComponent.getBorderTitle(javax.swing.border.Border) definition code for javax.swing.JComponent.AccessibleJComponent.getBorderTitle(javax.swing.border.Border)

protected String sample code for java.lang.String definition code for java.lang.String  getBorderTitle(Border sample code for javax.swing.border.Border definition code for javax.swing.border.Border  b)
Recursively search through the border hierarchy (if it exists) for a TitledBorder with a non-null title. This does a depth first search on first the inside borders then the outside borders. The assumption is that titles make really pretty inside borders but not very pretty outside borders in compound border situations. It's rather arbitrary, but hopefully decent UI programmers will not create multiple titled borders for the same component.


getAccessibleName sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleName() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleName()

public String sample code for java.lang.String definition code for java.lang.String  getAccessibleName()
Gets the accessible name of this object. This should almost never return java.awt.Component.getName(), as that generally isn't a localized name, and doesn't have meaning for the user. If the object is fundamentally a text object (such as a menu item), the accessible name should be the text of the object (for example, "save"). If the object has a tooltip, the tooltip text may also be an appropriate String to return.

Overrides:
getAccessibleName sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleName() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleName() in class Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
Returns:
the localized name of the object -- can be null if this object does not have a name
See Also:
AccessibleContext.setAccessibleName(java.lang.String) sample code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String)

getAccessibleDescription sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleDescription() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleDescription()

public String sample code for java.lang.String definition code for java.lang.String  getAccessibleDescription()
Gets the accessible description of this object. This should be a concise, localized description of what this object is - what is its meaning to the user. If the object has a tooltip, the tooltip text may be an appropriate string to return, assuming it contains a concise description of the object (instead of just the name of the object - for example a "Save" icon on a toolbar that had "save" as the tooltip text shouldn't return the tooltip text as the description, but something like "Saves the current text document" instead).

Overrides:
getAccessibleDescription sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleDescription() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleDescription() in class Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
Returns:
the localized description of the object -- can be null if this object does not have a description
See Also:
AccessibleContext.setAccessibleDescription(java.lang.String) sample code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String)

getAccessibleRole sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleRole() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleRole()

public AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole  getAccessibleRole()
Gets the role of this object.

Overrides:
getAccessibleRole sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleRole() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleRole() in class Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
Returns:
an instance of AccessibleRole describing the role of the object
See Also:
AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole

getAccessibleStateSet sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleStateSet() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleStateSet()

public AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet  getAccessibleStateSet()
Gets the state of this object.

Overrides:
getAccessibleStateSet sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleStateSet() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleStateSet() in class Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent
Returns:
an instance of AccessibleStateSet containing the current state set of the object
See Also:
AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState

getAccessibleChildrenCount sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChildrenCount() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChildrenCount()

public int getAccessibleChildrenCount()
Returns the number of accessible children in the object. If all of the children of this object implement Accessible, than this method should return the number of children of this object.

Overrides:
getAccessibleChildrenCount sample code for java.awt.Container.AccessibleAWTContainer.getAccessibleChildrenCount() definition code for java.awt.Container.AccessibleAWTContainer.getAccessibleChildrenCount() in class Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer
Returns:
the number of accessible children in the object.

getAccessibleChild sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChild(int) definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleChild(int)

public Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleChild(int i)
Returns the nth Accessible child of the object.

Overrides:
getAccessibleChild sample code for java.awt.Container.AccessibleAWTContainer.getAccessibleChild(int) definition code for java.awt.Container.AccessibleAWTContainer.getAccessibleChild(int) in class Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer
Parameters:
i - zero-based index of child
Returns:
the nth Accessible child of the object
See Also:
AccessibleContext.getAccessibleChildrenCount() sample code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount() definition code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount()

getToolTipText sample code for javax.swing.JComponent.AccessibleJComponent.getToolTipText() definition code for javax.swing.JComponent.AccessibleJComponent.getToolTipText()

public String sample code for java.lang.String definition code for java.lang.String  getToolTipText()
Returns the tool tip text

Specified by:
getToolTipText sample code for javax.accessibility.AccessibleExtendedComponent.getToolTipText() definition code for javax.accessibility.AccessibleExtendedComponent.getToolTipText() in interface AccessibleExtendedComponent sample code for javax.accessibility.AccessibleExtendedComponent definition code for javax.accessibility.AccessibleExtendedComponent
Returns:
the tool tip text, if supported, of the object; otherwise, null

getTitledBorderText sample code for javax.swing.JComponent.AccessibleJComponent.getTitledBorderText() definition code for javax.swing.JComponent.AccessibleJComponent.getTitledBorderText()

public String sample code for java.lang.String definition code for java.lang.String  getTitledBorderText()
Returns the titled border text

Specified by:
getTitledBorderText sample code for javax.accessibility.AccessibleExtendedComponent.getTitledBorderText() definition code for javax.accessibility.AccessibleExtendedComponent.getTitledBorderText() in interface AccessibleExtendedComponent sample code for javax.accessibility.AccessibleExtendedComponent definition code for javax.accessibility.AccessibleExtendedComponent
Returns:
the titled border text, if supported, of the object; otherwise, null

getAccessibleKeyBinding sample code for javax.swing.JComponent.AccessibleJComponent.getAccessibleKeyBinding() definition code for javax.swing.JComponent.AccessibleJComponent.getAccessibleKeyBinding()

public AccessibleKeyBinding sample code for javax.accessibility.AccessibleKeyBinding definition code for javax.accessibility.AccessibleKeyBinding  getAccessibleKeyBinding()
Returns key bindings associated with this object

Specified by:
getAccessibleKeyBinding sample code for javax.accessibility.AccessibleExtendedComponent.getAccessibleKeyBinding() definition code for javax.accessibility.AccessibleExtendedComponent.getAccessibleKeyBinding() in interface AccessibleExtendedComponent sample code for javax.accessibility.AccessibleExtendedComponent definition code for javax.accessibility.AccessibleExtendedComponent
Returns:
the key bindings, if supported, of the object; otherwise, null
See Also:
AccessibleKeyBinding sample code for javax.accessibility.AccessibleKeyBinding definition code for javax.accessibility.AccessibleKeyBinding