The AccessibleComponent interface should be supported by any object
that is rendered on the screen. This interface provides the standard
mechanism for an assistive technology to determine and set the
graphical representation of an object. Applications can determine
if an object supports the AccessibleComponent interface by first
obtaining its AccessibleContext
and then calling the
AccessibleContext#getAccessibleComponent
method.
If the return value is not null, the object supports this interface.
Adds the specified focus listener to receive focus events from this
component.
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.
Returns the Accessible child, if one exists, contained at the local
coordinate Point.
Gets the background color of this 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.
Gets the Cursor of this object.
Gets the Font of this object.
Gets the FontMetrics of this object.
Gets the foreground color of this object.
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.
Returns the location of the object on the screen.
Returns the size of this object in the form of a Dimension object.
The height field of the Dimension object contains this object's
height, and the width field of the Dimension object contains this
object's width.
Determines if the object is enabled. Objects that are enabled
will also have the AccessibleState.ENABLED state set in their
AccessibleStateSets.
Returns whether this object can accept focus or not. Objects that
can accept focus will also have the AccessibleState.FOCUSABLE state
set in their AccessibleStateSets.
Determines if the object is showing. This is determined by checking
the visibility of the object and its ancestors.
Note: this
will return true even if the object is obscured by another (for example,
it is underneath a menu that was pulled down).
Determines if the object is visible. Note: this means that the
object intends to be visible; however, it may not be
showing on the screen because one of the objects that this object
is contained by is currently not visible. To determine if an object is
showing on the screen, use isShowing().
Objects that are visible will also have the
AccessibleState.VISIBLE state set in their AccessibleStateSets.
Removes the specified focus listener so it no longer receives focus
events from this component.
Requests focus for this object. If this object cannot accept focus,
nothing will happen. Otherwise, the object will attempt to take
focus.
Sets the background color of this object.
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.
Sets the Cursor of this object.
Sets the enabled state of the object.
Sets the Font of this object.
Sets the foreground color of this object.
Sets the location of the object relative to the parent.
Resizes this object so that it has width and height.
Sets the visible state of the object.