java.lang.Object | |||
↳ | javax.accessibility.AccessibleContext | ||
↳ | java.awt.Component.AccessibleAWTComponent | ||
↳ | java.awt.List.AccessibleAWTList.AccessibleAWTListChild |
This class implements accessibility support for List children. It provides an implementation of the Java Accessibility API appropriate to list children user-interface elements.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.accessibility.AccessibleContext
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.awt.Component.AccessibleAWTComponent
| |||||||||||
From class
javax.accessibility.AccessibleContext
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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 . | |||||||||||
Return the specified Accessible child of the object.
| |||||||||||
Returns the number of accessible children of the object.
| |||||||||||
Gets the AccessibleContext for this object.
| |||||||||||
Get the 0-based index of this object in its accessible parent.
| |||||||||||
Get the role of this object.
| |||||||||||
Get the state set of this object.
| |||||||||||
Get the background color of this object.
| |||||||||||
Gets the bounds of this object in the form of a Rectangle object.
| |||||||||||
Get the Cursor of this object.
| |||||||||||
Get the Font of this object.
| |||||||||||
Get the FontMetrics of this object.
| |||||||||||
Get the foreground color of this object.
| |||||||||||
Gets the locale of the component.
| |||||||||||
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.
| |||||||||||
Determine if the object is enabled.
| |||||||||||
Returns whether this object can accept focus or not.
| |||||||||||
Determine if the object is showing.
| |||||||||||
Determine if the object is visible.
| |||||||||||
Removes the specified focus listener so it no longer receives
focus events from this component.
| |||||||||||
Requests focus for this object.
| |||||||||||
Set the background color of this object.
| |||||||||||
Sets the bounds of this object in the form of a Rectangle
object.
| |||||||||||
Set the Cursor of this object.
| |||||||||||
Set the enabled state of the object.
| |||||||||||
Set the Font of this object.
| |||||||||||
Set 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.
| |||||||||||
Set the visible state of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.awt.Component.AccessibleAWTComponent
| |||||||||||
From class
javax.accessibility.AccessibleContext
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.accessibility.Accessible
| |||||||||||
From interface
javax.accessibility.AccessibleComponent
|
Adds the specified focus listener to receive focus events from this component.
l | the focus listener |
---|
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.
p | the Point relative to the coordinate system of the object |
---|
Returns the Accessible
child, if one exists,
contained at the local coordinate Point
.
p | the point relative to the coordinate system of this object |
---|
Accessible
, if it exists,
at the specified location; otherwise null
Return the specified Accessible child of the object. The Accessible children of an Accessible object are zero-based, so the first child of an Accessible child is at index 0, the second child is at index 1, and so on.
i | zero-based index of child |
---|
Returns the number of accessible children of the object.
Gets the AccessibleContext for this object. In the implementation of the Java Accessibility API for this class, return this object, which acts as its own AccessibleContext.
Get the 0-based index of this object in its accessible parent.
Get the role of this object.
Get the state set of this object. The AccessibleStateSet of an object is composed of a set of unique AccessibleState's. A change in the AccessibleStateSet of an object will cause a PropertyChangeEvent to be fired for the ACCESSIBLE_STATE_PROPERTY property.
Get 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.
Get the Cursor of this object.
Get the Font of this object.
Get the FontMetrics of this object.
f | the Font |
---|
Get the foreground color of this object.
Gets the locale of the component. If the component does not have a locale, then the locale of its parent is returned.
IllegalComponentStateException | If the Component does not have its own locale and has not yet been added to a containment hierarchy such that the locale can be determined from the containing parent. |
---|
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 objects's height, and the width field of the Dimension object contains this object's width.
Determine if the object is enabled. Objects that are enabled will also have the AccessibleState.ENABLED state set in their AccessibleStateSet.
Returns whether this object can accept focus or not. Objects
that can accept focus will also have the
AccessibleState.FOCUSABLE
state set in their
AccessibleStateSet
.
Determine if the object is showing. This is determined by checking the visibility of the object and visibility of the object ancestors. Note: this will return true even if the object is obscured by another (for example, it to object is underneath a menu that was pulled down).
Determine 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 AccessibleStateSet.
Removes the specified focus listener so it no longer receives focus events from this component.
l | the focus listener |
---|
Requests focus for this object. If this object cannot accept focus, nothing will happen. Otherwise, the object will attempt to take focus.
Set the background color of this object.
c | the new Color for the background |
---|
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.
r | rectangle indicating this component's bounds |
---|
Set 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.
cursor | the new Cursor for the object |
---|
Set the enabled state of the object.
b | if true, enables this object; otherwise, disables it |
---|
Set the foreground color of this object.
c | the new Color for the foreground |
---|
Sets the location of the object relative to the parent.
p | the new position for the top-left corner |
---|
Resizes this object so that it has width and height.
d | - The dimension specifying the new size of the object. |
---|
Set the visible state of the object.
b | if true, shows this object; otherwise, hides it |
---|