java.lang.Object | ||
↳ | javax.accessibility.AccessibleContext | |
↳ | javax.swing.JTable.AccessibleJTable.AccessibleJTableCell |
The class provides an implementation of the Java Accessibility API appropriate to table cells.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an
AccessibleJTableHeaderEntry . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified focus listener to receive focus events from this
component.
| |||||||||||
Adds a
PropertyChangeListener to the listener list. | |||||||||||
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.
| |||||||||||
Gets the
AccessibleAction associated with this
object if one exists. | |||||||||||
Returns the Accessible child, if one exists, contained at the local
coordinate Point.
| |||||||||||
Returns the specified
Accessible child of the
object. | |||||||||||
Returns the number of accessible children in the object.
| |||||||||||
Gets the
AccessibleComponent associated with
this object if one exists. | |||||||||||
Gets the
AccessibleContext associated with this
component. | |||||||||||
Gets the accessible description of this object.
| |||||||||||
Gets the index of this object in its accessible parent.
| |||||||||||
Gets the accessible name of this object.
| |||||||||||
Gets the
Accessible parent of this object. | |||||||||||
Gets the role of this object.
| |||||||||||
Gets the
AccessibleSelection associated with
this object if one exists. | |||||||||||
Gets the state set of this object.
| |||||||||||
Gets the
AccessibleText associated with this
object if one exists. | |||||||||||
Gets the
AccessibleValue associated with
this object if one exists. | |||||||||||
Gets the background color of this object.
| |||||||||||
Gets the bounds of this object in the form of a Rectangle object.
| |||||||||||
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 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.
| |||||||||||
Determines if the object is enabled.
| |||||||||||
Returns whether this object can accept focus or not.
| |||||||||||
Determines if the object is showing.
| |||||||||||
Determines if this object is visible.
| |||||||||||
Removes the specified focus listener so it no longer receives focus
events from this component.
| |||||||||||
Removes a
PropertyChangeListener from the
listener list. | |||||||||||
Requests focus for this object.
| |||||||||||
Sets the accessible description of this object.
| |||||||||||
Sets the localized accessible name of this object.
| |||||||||||
Sets the background color of this object.
| |||||||||||
Sets the bounds of this object in the form of a Rectangle object.
| |||||||||||
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.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the AccessibleContext for the table cell renderer.
| |||||||||||
Gets the table cell renderer component.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs an AccessibleJTableHeaderEntry
.
Adds the specified focus listener to receive focus events from this component.
l | the focus listener |
---|
Adds a PropertyChangeListener
to the listener list.
The listener is registered for all properties.
l | the PropertyChangeListener
to be added
|
---|
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 |
---|
Point
;
otherwise false
Gets the AccessibleAction
associated with this
object if one exists. Otherwise returns null
.
AccessibleAction
, or null
Returns the Accessible child, if one exists, contained at the local coordinate Point.
p | The point relative to the coordinate system of this object. |
---|
Returns the specified Accessible
child of the
object.
i | zero-based index of child |
---|
Accessible
child of the object
Returns the number of accessible children in the object.
Gets the AccessibleComponent
associated with
this object if one exists. Otherwise returns null
.
AccessibleComponent
, or
null
Gets the AccessibleContext
associated with this
component. In the implementation of the Java Accessibility
API for this class, return this object, which is its own
AccessibleContext
.
Gets the accessible description of this object.
null
if this object does not have
a description
Gets the index of this object in its accessible parent.
Gets the accessible name of this object.
null
if this object does not have a name
Gets the Accessible
parent of this object.
null
if this object does not
have an Accessible
parent
Gets the role of this object.
AccessibleRole
describing the role of the objectGets the AccessibleSelection
associated with
this object if one exists. Otherwise returns null
.
AccessibleSelection
, or
null
Gets the state set of this object.
AccessibleStateSet
containing the current state set of the objectGets the AccessibleText
associated with this
object if one exists. Otherwise returns null
.
AccessibleText
, or null
Gets the AccessibleValue
associated with
this object if one exists. Otherwise returns null
.
AccessibleValue
, or null
Gets the background color of this object.
null
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.
Cursor
, if supported,
of the object; otherwise, null
Gets the Font
of this object.
Font
,if supported,
for the object; otherwise, null
Gets the FontMetrics
of this object.
f | the Font |
---|
FontMetrics
object, if supported;
otherwise null
Gets the foreground color of this object.
null
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.
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
Returns the location of the object on the screen.
null
if this object is not 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.
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 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).
Determines if this 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
.
Removes the specified focus listener so it no longer receives focus events from this component.
l | the focus listener |
---|
Removes a PropertyChangeListener
from the
listener list. This removes a PropertyChangeListener
that was registered for all properties.
l | the PropertyChangeListener
to be removed
|
---|
Requests focus for this object. If this object cannot accept focus, nothing will happen. Otherwise, the object will attempt to take focus.
Sets the accessible description of this object.
s | the new localized description of the object |
---|
Sets the localized accessible name of this object.
s | the new localized name of the object |
---|
Sets 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 |
---|
Sets the Cursor
of this object.
c | the new Cursor for the object
|
---|
Sets the enabled state of the object.
b | if true, enables this object; otherwise, disables it |
---|
Sets 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. |
---|
Sets the visible state of the object.
b | if true, shows this object; otherwise, hides it |
---|
Gets the AccessibleContext for the table cell renderer.
AccessibleContext
for the table
cell renderer if one exists;
otherwise, returns null
.Gets the table cell renderer component.
null
.