java.awt
Class Component.AccessibleAWTComponent

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
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
Direct Known Subclasses:
Box.Filler.AccessibleBoxFiller sample code for javax.swing.Box.Filler.AccessibleBoxFiller definition code for javax.swing.Box.Filler.AccessibleBoxFiller , Button.AccessibleAWTButton sample code for java.awt.Button.AccessibleAWTButton definition code for java.awt.Button.AccessibleAWTButton , Canvas.AccessibleAWTCanvas sample code for java.awt.Canvas.AccessibleAWTCanvas definition code for java.awt.Canvas.AccessibleAWTCanvas , Checkbox.AccessibleAWTCheckbox sample code for java.awt.Checkbox.AccessibleAWTCheckbox definition code for java.awt.Checkbox.AccessibleAWTCheckbox , Choice.AccessibleAWTChoice sample code for java.awt.Choice.AccessibleAWTChoice definition code for java.awt.Choice.AccessibleAWTChoice , Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer , Label.AccessibleAWTLabel sample code for java.awt.Label.AccessibleAWTLabel definition code for java.awt.Label.AccessibleAWTLabel , List.AccessibleAWTList sample code for java.awt.List.AccessibleAWTList definition code for java.awt.List.AccessibleAWTList , List.AccessibleAWTList.AccessibleAWTListChild sample code for java.awt.List.AccessibleAWTList.AccessibleAWTListChild definition code for java.awt.List.AccessibleAWTList.AccessibleAWTListChild , Scrollbar.AccessibleAWTScrollBar sample code for java.awt.Scrollbar.AccessibleAWTScrollBar definition code for java.awt.Scrollbar.AccessibleAWTScrollBar , TextComponent.AccessibleAWTTextComponent sample code for java.awt.TextComponent.AccessibleAWTTextComponent definition code for java.awt.TextComponent.AccessibleAWTTextComponent
Enclosing class:
Component sample code for java.awt.Component definition code for java.awt.Component

protected abstract class Component.AccessibleAWTComponent
extends AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
implements 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

Inner class of Component 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.

The class used to obtain the accessible role for this object.

See Also:
Serialized Form

Nested Class Summary
protected  class Component.AccessibleAWTComponent.AccessibleAWTComponentHandler sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTComponentHandler definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTComponentHandler
          Fire PropertyChange listener, if one is registered, when shown/hidden..
protected  class Component.AccessibleAWTComponent.AccessibleAWTFocusHandler sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
          Fire PropertyChange listener, if one is registered, when focus events happen
 
Field Summary
protected  ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener accessibleAWTComponentHandler sample code for java.awt.Component.AccessibleAWTComponent.accessibleAWTComponentHandler definition code for java.awt.Component.AccessibleAWTComponent.accessibleAWTComponentHandler
           
protected  FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener 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 Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent.Component.AccessibleAWTComponent() definition code for java.awt.Component.AccessibleAWTComponent.Component.AccessibleAWTComponent() ()
          Though the class is abstract, this should be called by all sub-classes.
 
Method Summary
 void 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) (FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
          Adds the specified focus listener to receive focus events from this component.
 void addPropertyChangeListener sample code for java.awt.Component.AccessibleAWTComponent.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Component.AccessibleAWTComponent.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.
 boolean contains sample code for java.awt.Component.AccessibleAWTComponent.contains(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.contains(java.awt.Point) (Point sample code for java.awt.Point definition code for java.awt.Point  p)
          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 sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleAt sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleAt(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleAt(java.awt.Point) (Point sample code for java.awt.Point definition code for java.awt.Point  p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleChild sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleChild(int) definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleChild(int) (int i)
          Returns the nth Accessible child of the object.
 int getAccessibleChildrenCount sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleChildrenCount() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleChildrenCount() ()
          Returns the number of accessible children in the object.
 AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent getAccessibleComponent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleComponent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleComponent() ()
          Gets the AccessibleComponent associated with this object if one exists.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleDescription sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleDescription() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleDescription() ()
          Gets the accessible description of this object.
 int getAccessibleIndexInParent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleIndexInParent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleIndexInParent() ()
          Gets the index of this object in its accessible parent.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleName sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleName() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleName() ()
          Gets the accessible name of this object.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleParent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent() ()
          Gets the Accessible parent of this object.
 AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole getAccessibleRole sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleRole() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleRole() ()
          Gets the role of this object.
 AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet getAccessibleStateSet sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleStateSet() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleStateSet() ()
          Gets the state of this object.
 Color sample code for java.awt.Color definition code for java.awt.Color getBackground sample code for java.awt.Component.AccessibleAWTComponent.getBackground() definition code for java.awt.Component.AccessibleAWTComponent.getBackground() ()
          Gets the background color of this object.
 Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle getBounds sample code for java.awt.Component.AccessibleAWTComponent.getBounds() definition code for java.awt.Component.AccessibleAWTComponent.getBounds() ()
          Gets the bounds of this object in the form of a Rectangle object.
 Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor getCursor sample code for java.awt.Component.AccessibleAWTComponent.getCursor() definition code for java.awt.Component.AccessibleAWTComponent.getCursor() ()
          Gets the Cursor of this object.
 Font sample code for java.awt.Font definition code for java.awt.Font getFont sample code for java.awt.Component.AccessibleAWTComponent.getFont() definition code for java.awt.Component.AccessibleAWTComponent.getFont() ()
          Gets the Font of this object.
 FontMetrics sample code for java.awt.FontMetrics definition code for java.awt.FontMetrics getFontMetrics sample code for java.awt.Component.AccessibleAWTComponent.getFontMetrics(java.awt.Font) definition code for java.awt.Component.AccessibleAWTComponent.getFontMetrics(java.awt.Font) (Font sample code for java.awt.Font definition code for java.awt.Font  f)
          Gets the FontMetrics of this object.
 Color sample code for java.awt.Color definition code for java.awt.Color getForeground sample code for java.awt.Component.AccessibleAWTComponent.getForeground() definition code for java.awt.Component.AccessibleAWTComponent.getForeground() ()
          Gets the foreground color of this object.
 Locale sample code for java.util.Locale definition code for java.util.Locale getLocale sample code for java.awt.Component.AccessibleAWTComponent.getLocale() definition code for java.awt.Component.AccessibleAWTComponent.getLocale() ()
          Returns the locale of this object.
 Point sample code for java.awt.Point definition code for java.awt.Point getLocation sample code for java.awt.Component.AccessibleAWTComponent.getLocation() definition code for java.awt.Component.AccessibleAWTComponent.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 sample code for java.awt.Point definition code for java.awt.Point getLocationOnScreen sample code for java.awt.Component.AccessibleAWTComponent.getLocationOnScreen() definition code for java.awt.Component.AccessibleAWTComponent.getLocationOnScreen() ()
          Returns the location of the object on the screen.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getSize sample code for java.awt.Component.AccessibleAWTComponent.getSize() definition code for java.awt.Component.AccessibleAWTComponent.getSize() ()
          Returns the size of this object in the form of a Dimension object.
 boolean isEnabled sample code for java.awt.Component.AccessibleAWTComponent.isEnabled() definition code for java.awt.Component.AccessibleAWTComponent.isEnabled() ()
          Determines if the object is enabled.
 boolean isFocusTraversable sample code for java.awt.Component.AccessibleAWTComponent.isFocusTraversable() definition code for java.awt.Component.AccessibleAWTComponent.isFocusTraversable() ()
          Returns whether this object can accept focus or not.
 boolean isShowing sample code for java.awt.Component.AccessibleAWTComponent.isShowing() definition code for java.awt.Component.AccessibleAWTComponent.isShowing() ()
          Determines if the object is showing.
 boolean isVisible sample code for java.awt.Component.AccessibleAWTComponent.isVisible() definition code for java.awt.Component.AccessibleAWTComponent.isVisible() ()
          Determines if the object is visible.
 void 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) (FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
          Removes the specified focus listener so it no longer receives focus events from this component.
 void removePropertyChangeListener sample code for java.awt.Component.AccessibleAWTComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Component.AccessibleAWTComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) (PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  listener)
          Remove a PropertyChangeListener from the listener list.
 void requestFocus sample code for java.awt.Component.AccessibleAWTComponent.requestFocus() definition code for java.awt.Component.AccessibleAWTComponent.requestFocus() ()
          Requests focus for this object.
 void setBackground sample code for java.awt.Component.AccessibleAWTComponent.setBackground(java.awt.Color) definition code for java.awt.Component.AccessibleAWTComponent.setBackground(java.awt.Color) (Color sample code for java.awt.Color definition code for java.awt.Color  c)
          Sets the background color of this object.
 void setBounds sample code for java.awt.Component.AccessibleAWTComponent.setBounds(java.awt.Rectangle) definition code for java.awt.Component.AccessibleAWTComponent.setBounds(java.awt.Rectangle) (Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  r)
          Sets the bounds of this object in the form of a Rectangle object.
 void setCursor sample code for java.awt.Component.AccessibleAWTComponent.setCursor(java.awt.Cursor) definition code for java.awt.Component.AccessibleAWTComponent.setCursor(java.awt.Cursor) (Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor  cursor)
          Sets the Cursor of this object.
 void setEnabled sample code for java.awt.Component.AccessibleAWTComponent.setEnabled(boolean) definition code for java.awt.Component.AccessibleAWTComponent.setEnabled(boolean) (boolean b)
          Sets the enabled state of the object.
 void setFont sample code for java.awt.Component.AccessibleAWTComponent.setFont(java.awt.Font) definition code for java.awt.Component.AccessibleAWTComponent.setFont(java.awt.Font) (Font sample code for java.awt.Font definition code for java.awt.Font  f)
          Sets the Font of this object.
 void setForeground sample code for java.awt.Component.AccessibleAWTComponent.setForeground(java.awt.Color) definition code for java.awt.Component.AccessibleAWTComponent.setForeground(java.awt.Color) (Color sample code for java.awt.Color definition code for java.awt.Color  c)
          Sets the foreground color of this object.
 void setLocation sample code for java.awt.Component.AccessibleAWTComponent.setLocation(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.setLocation(java.awt.Point) (Point sample code for java.awt.Point definition code for java.awt.Point  p)
          Sets the location of the object relative to the parent.
 void setSize sample code for java.awt.Component.AccessibleAWTComponent.setSize(java.awt.Dimension) definition code for java.awt.Component.AccessibleAWTComponent.setSize(java.awt.Dimension) (Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  d)
          Resizes this object so that it has width width and height.
 void setVisible sample code for java.awt.Component.AccessibleAWTComponent.setVisible(boolean) definition code for java.awt.Component.AccessibleAWTComponent.setVisible(boolean) (boolean b)
          Sets the visible state of the object.
 
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)
 

Field Detail

accessibleAWTComponentHandler sample code for java.awt.Component.AccessibleAWTComponent.accessibleAWTComponentHandler

protected ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  accessibleAWTComponentHandler

accessibleAWTFocusHandler sample code for java.awt.Component.AccessibleAWTComponent.accessibleAWTFocusHandler

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

Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent() definition code for java.awt.Component.AccessibleAWTComponent()

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

Method Detail

addPropertyChangeListener sample code for java.awt.Component.AccessibleAWTComponent.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Component.AccessibleAWTComponent.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 javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Parameters:
listener - the property change listener 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 java.awt.Component.AccessibleAWTComponent.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Component.AccessibleAWTComponent.removePropertyChangeListener(java.beans.PropertyChangeListener)

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

Overrides:
removePropertyChangeListener sample code for javax.accessibility.AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Parameters:
listener - The PropertyChangeListener to be removed

getAccessibleName sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleName() definition code for java.awt.Component.AccessibleAWTComponent.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 (e.g. a menu item), the accessible name should be the text of the object (e.g. "save"). If the object has a tooltip, the tooltip text may also be an appropriate String to return.

Overrides:
getAccessibleName sample code for javax.accessibility.AccessibleContext.getAccessibleName() definition code for javax.accessibility.AccessibleContext.getAccessibleName() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
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 java.awt.Component.AccessibleAWTComponent.getAccessibleDescription() definition code for java.awt.Component.AccessibleAWTComponent.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 - e.g. 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 javax.accessibility.AccessibleContext.getAccessibleDescription() definition code for javax.accessibility.AccessibleContext.getAccessibleDescription() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
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 java.awt.Component.AccessibleAWTComponent.getAccessibleRole() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleRole()

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

Specified by:
getAccessibleRole sample code for javax.accessibility.AccessibleContext.getAccessibleRole() definition code for javax.accessibility.AccessibleContext.getAccessibleRole() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
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 java.awt.Component.AccessibleAWTComponent.getAccessibleStateSet() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleStateSet()

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

Specified by:
getAccessibleStateSet sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
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

getAccessibleParent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent()

public Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleParent()
Gets the Accessible parent of this object. If the parent of this object implements Accessible, this method should simply return getParent.

Overrides:
getAccessibleParent sample code for javax.accessibility.AccessibleContext.getAccessibleParent() definition code for javax.accessibility.AccessibleContext.getAccessibleParent() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the Accessible parent of this object -- can be null if this object does not have an Accessible parent

getAccessibleIndexInParent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleIndexInParent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleIndexInParent()

public int getAccessibleIndexInParent()
Gets the index of this object in its accessible parent.

Specified by:
getAccessibleIndexInParent sample code for javax.accessibility.AccessibleContext.getAccessibleIndexInParent() definition code for javax.accessibility.AccessibleContext.getAccessibleIndexInParent() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the index of this object in its parent; or -1 if this object does not have an accessible parent
See Also:
getAccessibleParent() sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleParent()

getAccessibleChildrenCount sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleChildrenCount() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleChildrenCount()

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

Specified by:
getAccessibleChildrenCount sample code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount() definition code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the number of accessible children in the object

getAccessibleChild sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleChild(int) definition code for java.awt.Component.AccessibleAWTComponent.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.

Specified by:
getAccessibleChild sample code for javax.accessibility.AccessibleContext.getAccessibleChild(int) definition code for javax.accessibility.AccessibleContext.getAccessibleChild(int) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
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()

getLocale sample code for java.awt.Component.AccessibleAWTComponent.getLocale() definition code for java.awt.Component.AccessibleAWTComponent.getLocale()

public Locale sample code for java.util.Locale definition code for java.util.Locale  getLocale()
Returns the locale of this object.

Specified by:
getLocale sample code for javax.accessibility.AccessibleContext.getLocale() definition code for javax.accessibility.AccessibleContext.getLocale() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the locale of this object

getAccessibleComponent sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleComponent() definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleComponent()

public AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent  getAccessibleComponent()
Gets the AccessibleComponent associated with this object if one exists. Otherwise return null.

Overrides:
getAccessibleComponent sample code for javax.accessibility.AccessibleContext.getAccessibleComponent() definition code for javax.accessibility.AccessibleContext.getAccessibleComponent() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the component
See Also:
AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent

getBackground sample code for java.awt.Component.AccessibleAWTComponent.getBackground() definition code for java.awt.Component.AccessibleAWTComponent.getBackground()

public Color sample code for java.awt.Color definition code for java.awt.Color  getBackground()
Gets the background color of this object.

Specified by:
getBackground sample code for javax.accessibility.AccessibleComponent.getBackground() definition code for javax.accessibility.AccessibleComponent.getBackground() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the background color, if supported, of the object; otherwise, null
See Also:
AccessibleComponent.setBackground(java.awt.Color) sample code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color)

setBackground sample code for java.awt.Component.AccessibleAWTComponent.setBackground(java.awt.Color) definition code for java.awt.Component.AccessibleAWTComponent.setBackground(java.awt.Color)

public void setBackground(Color sample code for java.awt.Color definition code for java.awt.Color  c)
Sets the background color of this object. (For transparency, see isOpaque.)

Specified by:
setBackground sample code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
c - the new Color for the background
See Also:
Component.isOpaque() sample code for java.awt.Component.isOpaque() definition code for java.awt.Component.isOpaque()

getForeground sample code for java.awt.Component.AccessibleAWTComponent.getForeground() definition code for java.awt.Component.AccessibleAWTComponent.getForeground()

public Color sample code for java.awt.Color definition code for java.awt.Color  getForeground()
Gets the foreground color of this object.

Specified by:
getForeground sample code for javax.accessibility.AccessibleComponent.getForeground() definition code for javax.accessibility.AccessibleComponent.getForeground() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the foreground color, if supported, of the object; otherwise, null
See Also:
AccessibleComponent.setForeground(java.awt.Color) sample code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color)

setForeground sample code for java.awt.Component.AccessibleAWTComponent.setForeground(java.awt.Color) definition code for java.awt.Component.AccessibleAWTComponent.setForeground(java.awt.Color)

public void setForeground(Color sample code for java.awt.Color definition code for java.awt.Color  c)
Sets the foreground color of this object.

Specified by:
setForeground sample code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
c - the new Color for the foreground
See Also:
AccessibleComponent.getForeground() sample code for javax.accessibility.AccessibleComponent.getForeground() definition code for javax.accessibility.AccessibleComponent.getForeground()

getCursor sample code for java.awt.Component.AccessibleAWTComponent.getCursor() definition code for java.awt.Component.AccessibleAWTComponent.getCursor()

public Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor  getCursor()
Gets the Cursor of this object.

Specified by:
getCursor sample code for javax.accessibility.AccessibleComponent.getCursor() definition code for javax.accessibility.AccessibleComponent.getCursor() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the Cursor, if supported, of the object; otherwise, null
See Also:
AccessibleComponent.setCursor(java.awt.Cursor) sample code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) definition code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor)

setCursor sample code for java.awt.Component.AccessibleAWTComponent.setCursor(java.awt.Cursor) definition code for java.awt.Component.AccessibleAWTComponent.setCursor(java.awt.Cursor)

public void setCursor(Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor  cursor)
Sets the Cursor of this object.

Specified by:
setCursor sample code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) definition code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
cursor - the new Cursor for the object
See Also:
AccessibleComponent.getCursor() sample code for javax.accessibility.AccessibleComponent.getCursor() definition code for javax.accessibility.AccessibleComponent.getCursor()

getFont sample code for java.awt.Component.AccessibleAWTComponent.getFont() definition code for java.awt.Component.AccessibleAWTComponent.getFont()

public Font sample code for java.awt.Font definition code for java.awt.Font  getFont()
Gets the Font of this object.

Specified by:
getFont sample code for javax.accessibility.AccessibleComponent.getFont() definition code for javax.accessibility.AccessibleComponent.getFont() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the Font, if supported, for the object; otherwise, null
See Also:
AccessibleComponent.setFont(java.awt.Font) sample code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font)

setFont sample code for java.awt.Component.AccessibleAWTComponent.setFont(java.awt.Font) definition code for java.awt.Component.AccessibleAWTComponent.setFont(java.awt.Font)

public void setFont(Font sample code for java.awt.Font definition code for java.awt.Font  f)
Sets the Font of this object.

Specified by:
setFont sample code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
f - the new Font for the object
See Also:
AccessibleComponent.getFont() sample code for javax.accessibility.AccessibleComponent.getFont() definition code for javax.accessibility.AccessibleComponent.getFont()

getFontMetrics sample code for java.awt.Component.AccessibleAWTComponent.getFontMetrics(java.awt.Font) definition code for java.awt.Component.AccessibleAWTComponent.getFontMetrics(java.awt.Font)

public FontMetrics sample code for java.awt.FontMetrics definition code for java.awt.FontMetrics  getFontMetrics(Font sample code for java.awt.Font definition code for java.awt.Font  f)
Gets the FontMetrics of this object.

Specified by:
getFontMetrics sample code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
f - the Font
Returns:
the FontMetrics, if supported, the object; otherwise, null
See Also:
getFont() sample code for java.awt.Component.AccessibleAWTComponent.getFont() definition code for java.awt.Component.AccessibleAWTComponent.getFont()

isEnabled sample code for java.awt.Component.AccessibleAWTComponent.isEnabled() definition code for java.awt.Component.AccessibleAWTComponent.isEnabled()

public boolean isEnabled()
Determines if the object is enabled.

Specified by:
isEnabled sample code for javax.accessibility.AccessibleComponent.isEnabled() definition code for javax.accessibility.AccessibleComponent.isEnabled() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object is enabled; otherwise, false
See Also:
AccessibleComponent.setEnabled(boolean) sample code for javax.accessibility.AccessibleComponent.setEnabled(boolean) definition code for javax.accessibility.AccessibleComponent.setEnabled(boolean) , AccessibleContext.getAccessibleStateSet() sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() , AccessibleState.ENABLED sample code for javax.accessibility.AccessibleState.ENABLED definition code for javax.accessibility.AccessibleState.ENABLED , AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet

setEnabled sample code for java.awt.Component.AccessibleAWTComponent.setEnabled(boolean) definition code for java.awt.Component.AccessibleAWTComponent.setEnabled(boolean)

public void setEnabled(boolean b)
Sets the enabled state of the object.

Specified by:
setEnabled sample code for javax.accessibility.AccessibleComponent.setEnabled(boolean) definition code for javax.accessibility.AccessibleComponent.setEnabled(boolean) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
b - if true, enables this object; otherwise, disables it
See Also:
AccessibleComponent.isEnabled() sample code for javax.accessibility.AccessibleComponent.isEnabled() definition code for javax.accessibility.AccessibleComponent.isEnabled()

isVisible sample code for java.awt.Component.AccessibleAWTComponent.isVisible() definition code for java.awt.Component.AccessibleAWTComponent.isVisible()

public boolean isVisible()
Determines if the object is visible. Note: this means that the object intends to be visible; however, it may not in fact be showing on the screen because one of the objects that this object is contained by is not visible. To determine if an object is showing on the screen, use isShowing.

Specified by:
isVisible sample code for javax.accessibility.AccessibleComponent.isVisible() definition code for javax.accessibility.AccessibleComponent.isVisible() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object is visible; otherwise, false
See Also:
AccessibleComponent.setVisible(boolean) sample code for javax.accessibility.AccessibleComponent.setVisible(boolean) definition code for javax.accessibility.AccessibleComponent.setVisible(boolean) , AccessibleContext.getAccessibleStateSet() sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() , AccessibleState.VISIBLE sample code for javax.accessibility.AccessibleState.VISIBLE definition code for javax.accessibility.AccessibleState.VISIBLE , AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet

setVisible sample code for java.awt.Component.AccessibleAWTComponent.setVisible(boolean) definition code for java.awt.Component.AccessibleAWTComponent.setVisible(boolean)

public void setVisible(boolean b)
Sets the visible state of the object.

Specified by:
setVisible sample code for javax.accessibility.AccessibleComponent.setVisible(boolean) definition code for javax.accessibility.AccessibleComponent.setVisible(boolean) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
b - if true, shows this object; otherwise, hides it
See Also:
AccessibleComponent.isVisible() sample code for javax.accessibility.AccessibleComponent.isVisible() definition code for javax.accessibility.AccessibleComponent.isVisible()

isShowing sample code for java.awt.Component.AccessibleAWTComponent.isShowing() definition code for java.awt.Component.AccessibleAWTComponent.isShowing()

public boolean isShowing()
Determines if the object is showing. This is determined by checking the visibility of the object and ancestors of the object. Note: this will return true even if the object is obscured by another (for example, it happens to be underneath a menu that was pulled down).

Specified by:
isShowing sample code for javax.accessibility.AccessibleComponent.isShowing() definition code for javax.accessibility.AccessibleComponent.isShowing() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object is showing; otherwise, false

contains sample code for java.awt.Component.AccessibleAWTComponent.contains(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.contains(java.awt.Point)

public boolean contains(Point sample code for java.awt.Point definition code for java.awt.Point  p)
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.

Specified by:
contains sample code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
p - the Point relative to the coordinate system of the object
Returns:
true if object contains Point; otherwise false
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds()

getLocationOnScreen sample code for java.awt.Component.AccessibleAWTComponent.getLocationOnScreen() definition code for java.awt.Component.AccessibleAWTComponent.getLocationOnScreen()

public Point sample code for java.awt.Point definition code for java.awt.Point  getLocationOnScreen()
Returns the location of the object on the screen.

Specified by:
getLocationOnScreen sample code for javax.accessibility.AccessibleComponent.getLocationOnScreen() definition code for javax.accessibility.AccessibleComponent.getLocationOnScreen() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
location of object on screen -- can be null if this object is not on the screen
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds() , AccessibleComponent.getLocation() sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation()

getLocation sample code for java.awt.Component.AccessibleAWTComponent.getLocation() definition code for java.awt.Component.AccessibleAWTComponent.getLocation()

public Point sample code for java.awt.Point definition code for java.awt.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.

Specified by:
getLocation sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
an instance of Point representing the top-left corner of the object's bounds in the coordinate space of the screen; null if this object or its parent are not on the screen
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds() , AccessibleComponent.getLocationOnScreen() sample code for javax.accessibility.AccessibleComponent.getLocationOnScreen() definition code for javax.accessibility.AccessibleComponent.getLocationOnScreen()

setLocation sample code for java.awt.Component.AccessibleAWTComponent.setLocation(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.setLocation(java.awt.Point)

public void setLocation(Point sample code for java.awt.Point definition code for java.awt.Point  p)
Sets the location of the object relative to the parent.

Specified by:
setLocation sample code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
p - the coordinates of the object
See Also:
AccessibleComponent.getLocation() sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation()

getBounds sample code for java.awt.Component.AccessibleAWTComponent.getBounds() definition code for java.awt.Component.AccessibleAWTComponent.getBounds()

public Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  getBounds()
Gets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.

Specified by:
getBounds sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
a rectangle indicating this component's bounds; null if this object is not on the screen
See Also:
AccessibleComponent.contains(java.awt.Point) sample code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.contains(java.awt.Point)

setBounds sample code for java.awt.Component.AccessibleAWTComponent.setBounds(java.awt.Rectangle) definition code for java.awt.Component.AccessibleAWTComponent.setBounds(java.awt.Rectangle)

public void setBounds(Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  r)
Sets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.

Specified by:
setBounds sample code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle) definition code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
r - a rectangle indicating this component's bounds
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds()

getSize sample code for java.awt.Component.AccessibleAWTComponent.getSize() definition code for java.awt.Component.AccessibleAWTComponent.getSize()

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getSize()
Returns the size of this object in the form of a Dimension object. The height field of the Dimension object contains this objects's height, and the width field of the Dimension object contains this object's width.

Specified by:
getSize sample code for javax.accessibility.AccessibleComponent.getSize() definition code for javax.accessibility.AccessibleComponent.getSize() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
a Dimension object that indicates the size of this component; null if this object is not on the screen
See Also:
AccessibleComponent.setSize(java.awt.Dimension) sample code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) definition code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension)

setSize sample code for java.awt.Component.AccessibleAWTComponent.setSize(java.awt.Dimension) definition code for java.awt.Component.AccessibleAWTComponent.setSize(java.awt.Dimension)

public void setSize(Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  d)
Resizes this object so that it has width width and height.

Specified by:
setSize sample code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) definition code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
d - - the dimension specifying the new size of the object
See Also:
AccessibleComponent.getSize() sample code for javax.accessibility.AccessibleComponent.getSize() definition code for javax.accessibility.AccessibleComponent.getSize()

getAccessibleAt sample code for java.awt.Component.AccessibleAWTComponent.getAccessibleAt(java.awt.Point) definition code for java.awt.Component.AccessibleAWTComponent.getAccessibleAt(java.awt.Point)

public Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleAt(Point sample code for java.awt.Point definition code for java.awt.Point  p)
Returns the Accessible child, if one exists, contained at the local coordinate Point. Otherwise returns null.

Specified by:
getAccessibleAt sample code for javax.accessibility.AccessibleComponent.getAccessibleAt(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.getAccessibleAt(java.awt.Point) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
p - the point defining the top-left corner of the Accessible, given in the coordinate space of the object's parent
Returns:
the Accessible, if it exists, at the specified location; else null

isFocusTraversable sample code for java.awt.Component.AccessibleAWTComponent.isFocusTraversable() definition code for java.awt.Component.AccessibleAWTComponent.isFocusTraversable()

public boolean isFocusTraversable()
Returns whether this object can accept focus or not.

Specified by:
isFocusTraversable sample code for javax.accessibility.AccessibleComponent.isFocusTraversable() definition code for javax.accessibility.AccessibleComponent.isFocusTraversable() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object can accept focus; otherwise false
See Also:
AccessibleContext.getAccessibleStateSet() sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() , AccessibleState.FOCUSABLE sample code for javax.accessibility.AccessibleState.FOCUSABLE definition code for javax.accessibility.AccessibleState.FOCUSABLE , AccessibleState.FOCUSED sample code for javax.accessibility.AccessibleState.FOCUSED definition code for javax.accessibility.AccessibleState.FOCUSED , AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet

requestFocus sample code for java.awt.Component.AccessibleAWTComponent.requestFocus() definition code for java.awt.Component.AccessibleAWTComponent.requestFocus()

public void requestFocus()
Requests focus for this object.

Specified by:
requestFocus sample code for javax.accessibility.AccessibleComponent.requestFocus() definition code for javax.accessibility.AccessibleComponent.requestFocus() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
See Also:
AccessibleComponent.isFocusTraversable() sample code for javax.accessibility.AccessibleComponent.isFocusTraversable() definition code for javax.accessibility.AccessibleComponent.isFocusTraversable()

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)

public void addFocusListener(FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
Adds the specified focus listener to receive focus events from this component.

Specified by:
addFocusListener sample code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
l - the focus listener
See Also:
AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) sample code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener)

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)

public void removeFocusListener(FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
Removes the specified focus listener so it no longer receives focus events from this component.

Specified by:
removeFocusListener sample code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
l - the focus listener
See Also:
AccessibleComponent.addFocusListener(java.awt.event.FocusListener) sample code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener)