|  | Modifier and Type | Method and Description | 
|  | addFocusListener   | 
void addFocusListener(FocusListener l)
 Adds the specified focus listener to receive focus events from this
 component. 
Adds the specified focus listener to receive focus events from this
 component. 
Specified by:addFocusListenerin interfacejavax.accessibility.AccessibleComponentParameters:l- the focus listenerSee Also:AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) | 
|  | addPropertyChangeListener   | 
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
 Adds a PropertyChangeListener to the listener list. 
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener) 
Adds a PropertyChangeListener to the listener list. 
Overrides:addPropertyChangeListenerin classComponent.AccessibleAWTComponentParameters:listener- the PropertyChangeListener to be addedSee Also:AccessibleContext.ACCESSIBLE_NAME_PROPERTY,AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY,AccessibleContext.ACCESSIBLE_STATE_PROPERTY,AccessibleContext.ACCESSIBLE_VALUE_PROPERTY,AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY,AccessibleContext.ACCESSIBLE_TEXT_PROPERTY,AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY | 
|  | contains   | 
boolean contains(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. 
public boolean contains (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:containsin interfacejavax.accessibility.AccessibleComponentParameters:p- thePointrelative to the
     coordinate system of the objectReturns:true if object contains Point; otherwise falseSee Also:AccessibleComponent.getBounds() | 
|  | firePropertyChange   | 
void firePropertyChange(java.lang.String propertyName,
                  java.lang.Object oldValue,
                  java.lang.Object newValue)
 Support for reporting bound property changes. 
public void firePropertyChange(java.lang.String propertyName,
                      java.lang.Object oldValue,
                      java.lang.Object newValue) 
Description copied from class: javax.accessibility.AccessibleContext Support for reporting bound property changes.  If oldValue and
 newValue are not equal and the PropertyChangeEvent listener list
 is not empty, then fire a PropertyChange event to each listener.
 In general, this is for use by the Accessible objects themselves
 and should not be called by an application program. Parameters:propertyName- The programmatic name of the property that
 was changed.oldValue- The old value of the property.newValue- The new value of the property.See Also:PropertyChangeSupport,AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener),AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener),AccessibleContext.ACCESSIBLE_NAME_PROPERTY,AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY,AccessibleContext.ACCESSIBLE_STATE_PROPERTY,AccessibleContext.ACCESSIBLE_VALUE_PROPERTY,AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY,AccessibleContext.ACCESSIBLE_TEXT_PROPERTY,AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY
 | 
|  | getAccessibleAction   | 
javax.accessibility.AccessibleAction getAccessibleAction()
 Gets the AccessibleAction associated with this object that supports
 one or more actions. 
public javax.accessibility.AccessibleAction getAccessibleAction() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleAction associated with this object that supports
 one or more actions. Returns:AccessibleAction if supported by object; else return nullSee Also:AccessibleAction
 | 
|  | getAccessibleAt   | 
javax.accessibility.Accessible getAccessibleAt(Point p)
 Returns the Accessiblechild, if one exists,
 contained at the local coordinatePoint. 
public javax.accessibility.Accessible getAccessibleAt (Point  p)
Returns the Accessiblechild, if one exists,
 contained at the local coordinatePoint. 
Specified by:getAccessibleAtin interfacejavax.accessibility.AccessibleComponentOverrides:getAccessibleAtin classComponent.AccessibleAWTComponentParameters:p- the point defining the top-left corner of theAccessible, given in the coordinate space
    of the object's parentReturns:the Accessible, if it exists,
    at the specified location; elsenull | 
|  | getAccessibleChild   | 
javax.accessibility.Accessible getAccessibleChild(int i)
 Returns the nth Accessiblechild of the object. 
public javax.accessibility.Accessible getAccessibleChild(int i) 
Returns the nth Accessiblechild of the object. 
Overrides:getAccessibleChildin classComponent.AccessibleAWTComponentParameters:i- zero-based index of childReturns:the nth Accessiblechild of the objectSee Also:AccessibleContext.getAccessibleChildrenCount() | 
|  | getAccessibleChildrenCount   | 
int getAccessibleChildrenCount()
 Returns the number of accessible children in the object. 
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. 
Overrides:getAccessibleChildrenCountin classComponent.AccessibleAWTComponentReturns:the number of accessible children in the object | 
|  | getAccessibleComponent   | 
javax.accessibility.AccessibleComponent getAccessibleComponent()
 Gets the AccessibleComponentassociated
 with this object if one exists. 
public javax.accessibility.AccessibleComponent getAccessibleComponent() 
Gets the AccessibleComponentassociated
 with this object if one exists.
 Otherwise returnnull. 
Overrides:getAccessibleComponentin classjavax.accessibility.AccessibleContextReturns:the componentSee Also:AccessibleComponent | 
|  | getAccessibleDescription   | 
java.lang.String getAccessibleDescription()
 Gets the accessible description of this object. 
public 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:getAccessibleDescriptionin classjavax.accessibility.AccessibleContextReturns:the localized description of the object -- can be
        nullif this object does not have a descriptionSee Also:AccessibleContext.setAccessibleDescription(java.lang.String) | 
|  | getAccessibleEditableText   | 
javax.accessibility.AccessibleEditableText getAccessibleEditableText()
 Gets the AccessibleEditableText associated with this object
 presenting editable text on the display. 
public javax.accessibility.AccessibleEditableText getAccessibleEditableText() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleEditableText associated with this object
 presenting editable text on the display. Returns:AccessibleEditableText if supported by object; else return nullSince:1.4See Also:AccessibleEditableText
 | 
|  | getAccessibleIcon   | 
javax.accessibility.AccessibleIcon[] getAccessibleIcon()
 Gets the AccessibleIcons associated with an object that has
 one or more associated icons 
public javax.accessibility.AccessibleIcon[] getAccessibleIcon() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleIcons associated with an object that has
 one or more associated icons Returns:an array of AccessibleIcon if supported by object;
 otherwise return nullSince:1.3See Also:AccessibleIcon
 | 
|  | getAccessibleIndexInParent   | 
int getAccessibleIndexInParent()
 Gets the index of this object in its accessible parent. 
public int getAccessibleIndexInParent() 
Gets the index of this object in its accessible parent. 
Specified by:getAccessibleIndexInParentin classjavax.accessibility.AccessibleContextReturns:the index of this object in its parent; or -1 if this
    object does not have an accessible parentSee Also:Component.AccessibleAWTComponent.getAccessibleParent() | 
|  | getAccessibleName   | 
java.lang.String getAccessibleName()
 Gets the accessible name of this object. 
public 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:getAccessibleNamein classjavax.accessibility.AccessibleContextReturns:the localized name of the object -- can be
         nullif this
         object does not have a nameSee Also:AccessibleContext.setAccessibleName(java.lang.String) | 
|  | getAccessibleParent   | 
javax.accessibility.Accessible getAccessibleParent()
 Gets the Accessibleparent of this object. 
public javax.accessibility.Accessible getAccessibleParent() 
Gets the Accessibleparent of this object.
 If the parent of this object implementsAccessible,
 this method should simply returngetParent. 
Overrides:getAccessibleParentin classjavax.accessibility.AccessibleContextReturns:the Accessibleparent of this
      object -- can benullif this
      object does not have anAccessibleparent | 
|  | getAccessibleRelationSet   | 
javax.accessibility.AccessibleRelationSet getAccessibleRelationSet()
 Gets the AccessibleRelationSet associated with an object 
public javax.accessibility.AccessibleRelationSet getAccessibleRelationSet() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleRelationSet associated with an object Returns:an AccessibleRelationSet if supported by object;
 otherwise return nullSince:1.3See Also:AccessibleRelationSet
 | 
|  | getAccessibleRole   | 
javax.accessibility.AccessibleRole getAccessibleRole()
 Get the role of this object. 
public javax.accessibility.AccessibleRole getAccessibleRole() 
Get the role of this object. 
Overrides:getAccessibleRolein classComponent.AccessibleAWTComponentReturns:an instance of AccessibleRole describing the role of the
 objectSee Also:AccessibleRole | 
|  | getAccessibleSelection   | 
javax.accessibility.AccessibleSelection getAccessibleSelection()
 Gets the AccessibleSelection associated with this object which allows its
 Accessible children to be selected. 
public javax.accessibility.AccessibleSelection getAccessibleSelection() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleSelection associated with this object which allows its
 Accessible children to be selected. Returns:AccessibleSelection if supported by object; else return nullSee Also:AccessibleSelection
 | 
|  | getAccessibleStateSet   | 
javax.accessibility.AccessibleStateSet getAccessibleStateSet()
 Get the state of this object. 
public javax.accessibility.AccessibleStateSet getAccessibleStateSet() 
Get the state of this object. 
Overrides:getAccessibleStateSetin classComponent.AccessibleAWTComponentReturns:an instance of AccessibleStateSet containing the current
 state set of the objectSee Also:AccessibleState | 
|  | getAccessibleTable   | 
javax.accessibility.AccessibleTable getAccessibleTable()
 Gets the AccessibleTable associated with an object 
public javax.accessibility.AccessibleTable getAccessibleTable() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleTable associated with an object Returns:an AccessibleTable if supported by object;
 otherwise return nullSince:1.3See Also:AccessibleTable
 | 
|  | getAccessibleText   | 
javax.accessibility.AccessibleText getAccessibleText()
 Gets the AccessibleText associated with this object presenting
 text on the display. 
public javax.accessibility.AccessibleText getAccessibleText() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleText associated with this object presenting
 text on the display. Returns:AccessibleText if supported by object; else return nullSee Also:AccessibleText
 | 
|  | getAccessibleValue   | 
javax.accessibility.AccessibleValue getAccessibleValue()
 Gets the AccessibleValue associated with this object that supports a
 Numerical value. 
public javax.accessibility.AccessibleValue getAccessibleValue() 
Description copied from class: javax.accessibility.AccessibleContext Gets the AccessibleValue associated with this object that supports a
 Numerical value. Returns:AccessibleValue if supported by object; else return nullSee Also:AccessibleValue
 | 
|  | getBackground   | 
Gets the background color of this object. 
public Color getBackground ()
Gets the background color of this object. 
Specified by:getBackgroundin interfacejavax.accessibility.AccessibleComponentReturns:the background color, if supported, of the object;
      otherwise, nullSee Also:AccessibleComponent.setBackground(java.awt.Color) | 
|  | getBounds   | 
Gets the bounds of this object in the form of a Rectangle object. 
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:getBoundsin interfacejavax.accessibility.AccessibleComponentReturns:a rectangle indicating this component's bounds;
   nullif this object is not on the screenSee Also:AccessibleComponent.contains(java.awt.Point) | 
|  | getCursor   | 
Gets the Cursorof this object. 
Gets the Cursorof this object. 
Specified by:getCursorin interfacejavax.accessibility.AccessibleComponentReturns:the Cursor, if supported,
     of the object; otherwise,nullSee Also:AccessibleComponent.setCursor(java.awt.Cursor) | 
|  | getFont   | 
Gets the Fontof this object. 
Gets the Fontof this object. 
Specified by:getFontin interfacejavax.accessibility.AccessibleComponentReturns:the Font, if supported,
    for the object; otherwise,nullSee Also:AccessibleComponent.setFont(java.awt.Font) | 
|  | getFontMetrics   | 
Gets the FontMetricsof this object. 
Gets the FontMetricsof this object. 
Specified by:getFontMetricsin interfacejavax.accessibility.AccessibleComponentParameters:f- theFontReturns:the FontMetrics, if supported,
     the object; otherwise,nullSee Also:Component.AccessibleAWTComponent.getFont() | 
|  | getForeground   | 
Gets the foreground color of this object. 
public Color getForeground ()
Gets the foreground color of this object. 
Specified by:getForegroundin interfacejavax.accessibility.AccessibleComponentReturns:the foreground color, if supported, of the object;
     otherwise, nullSee Also:AccessibleComponent.setForeground(java.awt.Color) | 
|  | getLocale   | 
java.util.Locale getLocale()
 Returns the locale of this object. 
public java.util.Locale getLocale() 
Returns the locale of this object. 
Specified by:getLocalein classjavax.accessibility.AccessibleContextReturns:the locale of this object | 
|  | 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. 
public 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:getLocationin interfacejavax.accessibility.AccessibleComponentReturns:an instance of Point representing the top-left corner of
 the object's bounds in the coordinate space of the screen;
 nullif this object or its parent are not on the screenSee Also:AccessibleComponent.getBounds(),AccessibleComponent.getLocationOnScreen() | 
|  | getLocationOnScreen   | 
Point getLocationOnScreen()Returns the location of the object on the screen. 
public Point getLocationOnScreen ()
Returns the location of the object on the screen. 
Specified by:getLocationOnScreenin interfacejavax.accessibility.AccessibleComponentReturns:location of object on screen -- can be
    nullif this object is not on the screenSee Also:AccessibleComponent.getBounds(),AccessibleComponent.getLocation() | 
|  | getSize   | 
Returns the size of this object in the form of a
 Dimensionobject. 
Returns the size of this object in the form of a
 Dimensionobject. The height field of theDimensionobject contains this objects's
 height, and the width field of theDimensionobject contains this object's width. 
Specified by:getSizein interfacejavax.accessibility.AccessibleComponentReturns:a Dimensionobject that indicates
     the size of this component;nullif
     this object is not on the screenSee Also:AccessibleComponent.setSize(java.awt.Dimension) | 
|  | isEnabled   | 
boolean isEnabled()
 Determines if the object is enabled. 
public boolean isEnabled() 
Determines if the object is enabled. 
Specified by:isEnabledin interfacejavax.accessibility.AccessibleComponentReturns:true if object is enabled; otherwise, falseSee Also:AccessibleComponent.setEnabled(boolean),AccessibleContext.getAccessibleStateSet(),AccessibleState.ENABLED,AccessibleStateSet | 
|  | isFocusTraversable   | 
boolean isFocusTraversable()
 Returns whether this object can accept focus or not. 
public boolean isFocusTraversable() 
Returns whether this object can accept focus or not. 
Specified by:isFocusTraversablein interfacejavax.accessibility.AccessibleComponentReturns:true if object can accept focus; otherwise falseSee Also:AccessibleContext.getAccessibleStateSet(),AccessibleState.FOCUSABLE,AccessibleState.FOCUSED,AccessibleStateSet | 
|  | isShowing   | 
boolean isShowing()
 Determines if the object is showing. 
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:isShowingin interfacejavax.accessibility.AccessibleComponentReturns:true if object is showing; otherwise, false | 
|  | isVisible   | 
boolean isVisible()
 Determines if the object is visible. 
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:isVisiblein interfacejavax.accessibility.AccessibleComponentReturns:true if object is visible; otherwise, falseSee Also:AccessibleComponent.setVisible(boolean),AccessibleContext.getAccessibleStateSet(),AccessibleState.VISIBLE,AccessibleStateSet | 
|  | removeFocusListener   | 
void removeFocusListener(FocusListener l)
 Removes the specified focus listener so it no longer receives focus
 events from this component. 
Removes the specified focus listener so it no longer receives focus
 events from this component. 
Specified by:removeFocusListenerin interfacejavax.accessibility.AccessibleComponentParameters:l- the focus listenerSee Also:AccessibleComponent.addFocusListener(java.awt.event.FocusListener) | 
|  | removePropertyChangeListener   | 
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
 Remove a PropertyChangeListener from the listener list. 
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener) 
Remove a PropertyChangeListener from the listener list.
 This removes a PropertyChangeListener that was registered
 for all properties. 
Overrides:removePropertyChangeListenerin classjavax.accessibility.AccessibleContextParameters:listener- The PropertyChangeListener to be removed | 
|  | requestFocus   | 
void requestFocus()
 Requests focus for this object. 
public void requestFocus() 
Requests focus for this object. 
Specified by:requestFocusin interfacejavax.accessibility.AccessibleComponentSee Also:AccessibleComponent.isFocusTraversable() | 
|  | setAccessibleDescription   | 
void setAccessibleDescription(java.lang.String s)
 Sets the accessible description of this object. 
public void setAccessibleDescription(java.lang.String s) 
Description copied from class: javax.accessibility.AccessibleContext Sets the accessible description of this object.  Changing the
 name will cause a PropertyChangeEvent to be fired for the
 ACCESSIBLE_DESCRIPTION_PROPERTY property. Parameters:s- the new localized description of the objectSee Also:AccessibleContext.setAccessibleName(java.lang.String),AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener)
 | 
|  | setAccessibleName   | 
void setAccessibleName(java.lang.String s)
 Sets the localized accessible name of this object. 
public void setAccessibleName(java.lang.String s) 
Description copied from class: javax.accessibility.AccessibleContext Sets the localized accessible name of this object.  Changing the
 name will cause a PropertyChangeEvent to be fired for the
 ACCESSIBLE_NAME_PROPERTY property. Parameters:s- the new localized name of the object.See Also:AccessibleContext.getAccessibleName(),AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener)
 | 
|  | setAccessibleParent   | 
void setAccessibleParent(javax.accessibility.Accessible a)
 Sets the Accessible parent of this object. 
public void setAccessibleParent(javax.accessibility.Accessible a) 
Description copied from class: javax.accessibility.AccessibleContext Sets the Accessible parent of this object.  This is meant to be used
 only in the situations where the actual component's parent should
 not be treated as the component's accessible parent and is a method
 that should only be called by the parent of the accessible child. Parameters:a- - Accessible to be set as the parent
 | 
|  | setBackground   | 
void setBackground(Color c)
 Sets the background color of this object. 
public void setBackground (Color  c)
Sets the background color of this object.
 (For transparency, see isOpaque.) 
Specified by:setBackgroundin interfacejavax.accessibility.AccessibleComponentParameters:c- the newColorfor the backgroundSee Also:Component.isOpaque() | 
|  | setBounds   | 
void setBounds(Rectangle r)
 Sets the bounds of this object in the form of a
 Rectangleobject. 
Sets the bounds of this object in the form of a
 Rectangleobject.
 The bounds specify this object's width, height, and location
 relative to its parent. 
Specified by:setBoundsin interfacejavax.accessibility.AccessibleComponentParameters:r- a rectangle indicating this component's boundsSee Also:AccessibleComponent.getBounds() | 
|  | setCursor   | 
void setCursor(Cursor cursor)
 Sets the Cursorof this object. 
public void setCursor (Cursor  cursor)
Sets the  Cursor of this object.
  
 The method may have no visual effect if the Java platform
 implementation and/or the native system do not support
 changing the mouse cursor shape.
Specified by:setCursorin interfacejavax.accessibility.AccessibleComponentParameters:cursor- the newCursorfor the objectSee Also:AccessibleComponent.getCursor() | 
|  | setEnabled   | 
void setEnabled(boolean b)
 Sets the enabled state of the object. 
public void setEnabled(boolean b) 
Sets the enabled state of the object. 
Specified by:setEnabledin interfacejavax.accessibility.AccessibleComponentParameters:b- if true, enables this object; otherwise, disables itSee Also:AccessibleComponent.isEnabled() | 
|  | setFont   | 
void setFont(Font f)
 Sets the Fontof this object. 
public void setFont (Font  f)
Sets the Fontof this object. 
Specified by:setFontin interfacejavax.accessibility.AccessibleComponentParameters:f- the newFontfor the objectSee Also:AccessibleComponent.getFont() | 
|  | setForeground   | 
void setForeground(Color c)
 Sets the foreground color of this object. 
public void setForeground (Color  c)
Sets the foreground color of this object. 
Specified by:setForegroundin interfacejavax.accessibility.AccessibleComponentParameters:c- the newColorfor the foregroundSee Also:AccessibleComponent.getForeground() | 
|  | setLocation   | 
void setLocation(Point p)
 Sets the location of the object relative to the parent. 
public void setLocation (Point  p)
Sets the location of the object relative to the parent. 
Specified by:setLocationin interfacejavax.accessibility.AccessibleComponentParameters:p- the coordinates of the objectSee Also:AccessibleComponent.getLocation() | 
|  | setSize   | 
void setSize(Dimension d)
 Resizes this object so that it has width and height. 
Resizes this object so that it has width and height. 
Specified by:setSizein interfacejavax.accessibility.AccessibleComponentParameters:d- - the dimension specifying the new size of the objectSee Also:AccessibleComponent.getSize() | 
|  | setVisible   | 
void setVisible(boolean b)
 Sets the visible state of the object. 
public void setVisible(boolean b) 
Sets the visible state of the object. 
Specified by:setVisiblein interfacejavax.accessibility.AccessibleComponentParameters:b- if true, shows this object; otherwise, hides itSee Also:AccessibleComponent.isVisible() |