javax.swing
protected class JTree.AccessibleJTree extends JComponent.AccessibleJComponent implements AccessibleSelection, TreeSelectionListener, TreeModelListener, TreeExpansionListener
Nested Class Summary | |
---|---|
protected class | JTree.AccessibleJTree.AccessibleJTreeNode
This class implements accessibility support for the JTree child. |
Constructor Summary | |
---|---|
AccessibleJTree()
Constructor |
Method Summary | |
---|---|
void | addAccessibleSelection(int i)
Adds the specified selected item in the object to the object's selection.
|
void | clearAccessibleSelection()
Clears the selection in the object, so that nothing in the object is selected. |
void | fireVisibleDataPropertyChange()
Fire a visible data property change notification. |
Accessible | getAccessibleAt(Point p)
Returns the Accessible child, if one exists, contained at the local
coordinate Point.
|
Accessible | getAccessibleChild(int i)
Return the nth Accessible child of the object.
|
int | getAccessibleChildrenCount()
Returns the number of top-level children nodes of this JTree.
|
int | getAccessibleIndexInParent()
Get the index of this object in its accessible parent.
|
AccessibleRole | getAccessibleRole()
Get the role of this object.
|
AccessibleSelection | getAccessibleSelection()
Get the AccessibleSelection associated with this object.
|
Accessible | getAccessibleSelection(int i)
Returns an Accessible representing the specified selected item in the object.
|
int | getAccessibleSelectionCount()
Returns the number of items currently selected.
|
boolean | isAccessibleChildSelected(int i)
Returns true if the current child of this object is selected.
|
void | removeAccessibleSelection(int i)
Removes the specified selected item in the object from the object's
selection.
|
void | selectAllAccessibleSelection()
Causes every selected item in the object to be selected if the object
supports multiple selections. |
void | treeCollapsed(TreeExpansionEvent e)
Tree Collapsed notification
|
void | treeExpanded(TreeExpansionEvent e)
Tree Model Expansion notification.
|
void | treeNodesChanged(TreeModelEvent e)
Tree Model Node change notification.
|
void | treeNodesInserted(TreeModelEvent e)
Tree Model Node change notification.
|
void | treeNodesRemoved(TreeModelEvent e)
Tree Model Node change notification.
|
void | treeStructureChanged(TreeModelEvent e)
Tree Model structure change change notification.
|
void | valueChanged(TreeSelectionEvent e)
Tree Selection Listener value change method.
|
Parameters: i - the row to add to the tree's selection
Parameters: p - the point of the accessible to get.
Returns: the accessible at point p.
Parameters: i - the accessible child to get
Returns: the i-th child
Returns: the number of top-level children
Returns: the index of this object.
Returns: the role of this object
Returns: the accessible selection of the tree
Returns: the i-th accessible in the selection
Returns: the number of selected accessibles.
Parameters: i - the child of this object
Returns: true if the i-th child is selected.
Parameters: i - the i-th selected item to remove
Parameters: e - the event
Parameters: e - the event
Parameters: e - the event
Parameters: e - the event
Parameters: e - the event
Parameters: e - the event
Parameters: e - the event