java.lang.Object | ||
↳ | javax.accessibility.AccessibleContext | |
↳ | javax.swing.table.JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry |
This class provides an implementation of the Java Accessibility API appropropriate for JTableHeader entries.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an AccessiblJTableHeaaderEntry
|
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 that supports
one or more actions.
| |||||||||||
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 of the object.
| |||||||||||
Get the AccessibleComponent associated with this object.
| |||||||||||
Get the AccessibleContext associated with this object.
| |||||||||||
Gets the accessibleDescription property of this object.
| |||||||||||
Gets the 0-based index of this object in its accessible parent.
| |||||||||||
Gets the accessibleName property of this object.
| |||||||||||
Gets the role of this object.
| |||||||||||
Gets the AccessibleSelection associated with this object which allows its
Accessible children to be selected.
| |||||||||||
Gets the state set of this object.
| |||||||||||
Gets the AccessibleText associated with this object presenting
text on the display.
| |||||||||||
Gets the AccessibleValue associated with this object that supports a
Numerical value.
| |||||||||||
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 the 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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs an AccessiblJTableHeaaderEntry
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 Accessible properties and will be called when those properties change.
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 |
---|
Gets the AccessibleAction associated with this object that supports one or more actions.
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. 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.
Get the AccessibleComponent associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleComponent interface on behalf of itself.
Get the AccessibleContext associated with this object. In the implementation of the Java Accessibility API for this class, returns this object, which serves as its own AccessibleContext.
Gets the accessibleDescription property of this object. The accessibleDescription property of this object is a short localized phrase describing the purpose of the object. For example, in the case of a 'Cancel' button, the accessibleDescription could be 'Ignore changes and close dialog box.'
Gets the 0-based index of this object in its accessible parent.
Gets the accessibleName property of this object. The accessibleName property of an object is a localized String that designates the purpose of the object. For example, the accessibleName property of a label or button might be the text of the label or button itself. In the case of an object that doesn't display its name, the accessibleName should still be set. For example, in the case of a text field used to enter the name of a city, the accessibleName for the en_US locale could be 'city.'
Gets the role of this object. The role of the object is the generic purpose or use of the class of this object. For example, the role of a push button is AccessibleRole.PUSH_BUTTON. The roles in AccessibleRole are provided so component developers can pick from a set of predefined roles. This enables assistive technologies to provide a consistent interface to various tweaked subclasses of components (e.g., use AccessibleRole.PUSH_BUTTON for all components that act like a push button) as well as distinguish between sublasses that behave differently (e.g., AccessibleRole.CHECK_BOX for check boxes and AccessibleRole.RADIO_BUTTON for radio buttons).
Note that the AccessibleRole class is also extensible, so custom component developers can define their own AccessibleRole's if the set of predefined roles is inadequate.
Gets the AccessibleSelection associated with this object which allows its Accessible children to be selected.
Gets the state set of this object. The AccessibleStateSet of an object is composed of a set of unique AccessibleStates. A change in the AccessibleStateSet of an object will cause a PropertyChangeEvent to be fired for the ACCESSIBLE_STATE_PROPERTY property.
Gets the AccessibleText associated with this object presenting text on the display.
Gets the AccessibleValue associated with this object that supports a Numerical value.
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.
f | the Font |
---|
Gets 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.
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.
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. Changing the name will cause a PropertyChangeEvent to be fired for the ACCESSIBLE_DESCRIPTION_PROPERTY property.
s | the new localized description of the object |
---|
Sets the localized accessible name of this object. Changing the name will cause a PropertyChangeEvent to be fired for the ACCESSIBLE_NAME_PROPERTY property.
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 |
---|