java.lang.Object | |||||
↳ | javax.accessibility.AccessibleContext | ||||
↳ | java.awt.Component.AccessibleAWTComponent | ||||
↳ | java.awt.Container.AccessibleAWTContainer | ||||
↳ | javax.swing.JComponent.AccessibleJComponent | ||||
↳ | javax.swing.JTree.AccessibleJTree |
This class implements accessibility support for the
JTree
class. It provides an implementation of the
Java Accessibility API appropriate to tree user-interface elements.
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
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JTree.AccessibleJTree.AccessibleJTreeNode | This class implements accessibility support for the
JTree child. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified selected item in the object to the object's
selection.
| |||||||||||
Clears the selection in the object, so that nothing in the
object is selected.
| |||||||||||
Fire a visible data property change notification.
| |||||||||||
Returns the
Accessible child, if one exists,
contained at the local coordinate Point . | |||||||||||
Return the nth Accessible child of the object.
| |||||||||||
Returns the number of top-level children nodes of this
JTree.
| |||||||||||
Get the index of this object in its accessible parent.
| |||||||||||
Get the role of this object.
| |||||||||||
Returns an Accessible representing the specified selected item
in the object.
| |||||||||||
Get the AccessibleSelection associated with this object.
| |||||||||||
Returns the number of items currently selected.
| |||||||||||
Returns true if the current child of this object is selected.
| |||||||||||
Removes the specified selected item in the object from the object's
selection.
| |||||||||||
Causes every selected item in the object to be selected
if the object supports multiple selections.
| |||||||||||
Tree Collapsed notification.
| |||||||||||
Tree Model Expansion notification.
| |||||||||||
Tree Model Node change notification.
| |||||||||||
Tree Model Node change notification.
| |||||||||||
Tree Model Node change notification.
| |||||||||||
Tree Model structure change change notification.
| |||||||||||
Tree Selection Listener value change method.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Adds the specified selected item in the object to the object's selection. If the object supports multiple selections, the specified item is added to any existing selection, otherwise it replaces any existing selection in the object. If the specified item is already selected, this method has no effect.
i | the zero-based index of selectable items |
---|
Clears the selection in the object, so that nothing in the object is selected.
Fire a visible data property change notification. A 'visible' data property is one that represents something about the way the component appears on the display, where that appearance isn't bound to any other property. It notifies screen readers that the visual appearance of the component has changed, so they can notify the user.
Returns the Accessible
child, if one exists,
contained at the local coordinate Point
.
Otherwise returns null
.
p | point in local coordinates of this Accessible |
---|
Accessible
, if it exists,
at the specified location; else null
Return the nth Accessible child of the object.
i | zero-based index of child |
---|
Returns the number of top-level children nodes of this JTree. Each of these nodes may in turn have children nodes.
Get the index of this object in its accessible parent.
Get the role of this object.
Returns an Accessible representing the specified selected item in the object. If there isn't a selection, or there are fewer items selected than the integer passed in, the return value will be null.
i | the zero-based index of selected items |
---|
Get the AccessibleSelection associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleSelection interface on behalf of itself.
Returns the number of items currently selected. If no items are selected, the return value will be 0.
Returns true if the current child of this object is selected.
i | the zero-based index of the child in this Accessible object. |
---|
Removes the specified selected item in the object from the object's selection. If the specified item isn't currently selected, this method has no effect.
i | the zero-based index of selectable items |
---|
Causes every selected item in the object to be selected if the object supports multiple selections.
Tree Collapsed notification.
e | a TreeExpansionEvent |
---|
Tree Model Expansion notification.
e | a Tree node insertion event |
---|
Tree Model Node change notification.
e | a Tree Model event |
---|
Tree Model Node change notification.
e | a Tree node insertion event |
---|
Tree Model Node change notification.
e | a Tree node(s) removal event |
---|
Tree Model structure change change notification.
e | a Tree Model event |
---|
Tree Selection Listener value change method. Used to fire the property change
e | ListSelectionEvent |
---|