java.lang.Object | |||||
↳ | javax.accessibility.AccessibleContext | ||||
↳ | java.awt.Component.AccessibleAWTComponent | ||||
↳ | java.awt.Container.AccessibleAWTContainer | ||||
↳ | javax.swing.JComponent.AccessibleJComponent | ||||
↳ | javax.swing.JLabel.AccessibleJLabel |
The class used to obtain the accessible role for this object.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans
package.
Please see XMLEncoder
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the AccessibleIcons associated with this object if one
or more exist.
| |||||||||||
Returns key bindings associated with this object
| |||||||||||
Get the accessible name of this object.
| |||||||||||
Get the AccessibleRelationSet associated with this object if one
exists.
| |||||||||||
Get the role of this object.
| |||||||||||
Gets the AccessibleText associated with this object presenting
text on the display.
| |||||||||||
Returns the String after a given index.
| |||||||||||
Returns the String at a given index.
| |||||||||||
Returns the String before a given index.
| |||||||||||
Return the zero-based offset of the caret.
| |||||||||||
Return the number of characters (valid indicies)
| |||||||||||
Return the AttributeSet for a given character at a given index
| |||||||||||
Determine the bounding box of the character at the given
index into the string.
| |||||||||||
Given a point in local coordinates, return the zero-based index
of the character under that Point.
| |||||||||||
Returns the portion of the text that is selected.
| |||||||||||
Returns the end offset within the selected text.
| |||||||||||
Returns the start offset within the selected text.
| |||||||||||
Returns the titled border text
| |||||||||||
Returns the tool tip text
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Get the AccessibleIcons associated with this object if one or more exist. Otherwise return null.
Returns key bindings associated with this object
Get the accessible name of this object.
Get the AccessibleRelationSet associated with this object if one exists. Otherwise return null.
Get the role of this object.
Gets the AccessibleText associated with this object presenting text on the display.
Returns the String after a given index.
part | the AccessibleText.CHARACTER, AccessibleText.WORD, or AccessibleText.SENTENCE to retrieve |
---|---|
index | an index within the text >= 0 |
Returns the String at a given index.
part | the AccessibleText.CHARACTER, AccessibleText.WORD, or AccessibleText.SENTENCE to retrieve |
---|---|
index | an index within the text >= 0 |
Returns the String before a given index.
part | the AccessibleText.CHARACTER, AccessibleText.WORD, or AccessibleText.SENTENCE to retrieve |
---|---|
index | an index within the text >= 0 |
Return the zero-based offset of the caret. Note: That to the right of the caret will have the same index value as the offset (the caret is between two characters).
Return the number of characters (valid indicies)
Return the AttributeSet for a given character at a given index
i | the zero-based index into the text |
---|
Determine the bounding box of the character at the given index into the string. The bounds are returned in local coordinates. If the index is invalid an empty rectangle is returned.
i | the index into the String |
---|
Given a point in local coordinates, return the zero-based index of the character under that Point. If the point is invalid, this method returns -1.
p | the Point in local coordinates |
---|
Returns the portion of the text that is selected.
Returns the end offset within the selected text. If there is no selection, but there is a caret, the start and end offsets will be the same.
Returns the start offset within the selected text. If there is no selection, but there is a caret, the start and end offsets will be the same.
Returns the titled border text
Returns the tool tip text