Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
protected class JTree.AccessibleJTree
extends JComponent.AccessibleJComponent
Nested Class Summary | |
protected class |
|
Nested classes/interfaces inherited from class javax.swing.JComponent.AccessibleJComponent | |
JComponent.AccessibleJComponent.AccessibleContainerHandler , JComponent.AccessibleJComponent.AccessibleFocusHandler |
Nested classes/interfaces inherited from class java.awt.Container.AccessibleAWTContainer | |
Container.AccessibleAWTContainer.AccessibleContainerHandler |
Nested classes/interfaces inherited from class java.awt.Component.AccessibleAWTComponent | |
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler , Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
Field Summary |
Fields inherited from class javax.swing.JComponent.AccessibleJComponent | |
accessibleContainerHandler , accessibleFocusHandler |
Fields inherited from class java.awt.Container.AccessibleAWTContainer | |
accessibleContainerHandler |
Fields inherited from class java.awt.Component.AccessibleAWTComponent | |
accessibleAWTComponentHandler , accessibleAWTFocusHandler |
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
void |
|
Accessible |
|
Accessible |
|
int |
|
int |
|
AccessibleRole |
|
AccessibleSelection |
|
Accessible |
|
int |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class java.awt.Container.AccessibleAWTContainer | |
getAccessibleAt , getAccessibleChild , getAccessibleChildrenCount |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public void addAccessibleSelection(int i)
Adds the specified selected item in the object to the object's selection.
- Specified by:
- addAccessibleSelection in interface AccessibleSelection
- Parameters:
i
- - the row to add to the tree's selection
public void clearAccessibleSelection()
Clears the selection in the object, so that nothing in the object is selected.
- Specified by:
- clearAccessibleSelection in interface AccessibleSelection
public void fireVisibleDataPropertyChange()
Fire a visible data property change notification.
public Accessible getAccessibleAt(Point p)
Returns the Accessible child, if one exists, contained at the local coordinate Point.
- Specified by:
- getAccessibleAt in interface AccessibleComponent
- Overrides:
- getAccessibleAt in interface Container.AccessibleAWTContainer
- Parameters:
p
- - the point of the accessible to get.
- Returns:
- the accessible at point p.
public Accessible getAccessibleChild(int i)
Return the nth Accessible child of the object.
- Overrides:
- getAccessibleChild in interface JComponent.AccessibleJComponent
- Parameters:
i
- - the accessible child to get
- Returns:
- the i-th child
public int getAccessibleChildrenCount()
Returns the number of top-level children nodes of this JTree.
- Overrides:
- getAccessibleChildrenCount in interface JComponent.AccessibleJComponent
- Returns:
- the number of top-level children
public int getAccessibleIndexInParent()
Get the index of this object in its accessible parent.
- Overrides:
- getAccessibleIndexInParent in interface Component.AccessibleAWTComponent
- Returns:
- the index of this object.
public AccessibleRole getAccessibleRole()
Get the role of this object.
- Overrides:
- getAccessibleRole in interface JComponent.AccessibleJComponent
- Returns:
- the role of this object
public AccessibleSelection getAccessibleSelection()
Get the AccessibleSelection associated with this object.
- Overrides:
- getAccessibleSelection in interface AccessibleContext
- Returns:
- the accessible selection of the tree
public Accessible getAccessibleSelection(int i)
Returns an Accessible representing the specified selected item in the object.
- Specified by:
- getAccessibleSelection in interface AccessibleSelection
- Returns:
- the i-th accessible in the selection
public int getAccessibleSelectionCount()
Returns the number of items currently selected.
- Specified by:
- getAccessibleSelectionCount in interface AccessibleSelection
- Returns:
- the number of selected accessibles.
public boolean isAccessibleChildSelected(int i)
Returns true if the current child of this object is selected.
- Specified by:
- isAccessibleChildSelected in interface AccessibleSelection
- Parameters:
i
- - the child of this object
- Returns:
- true if the i-th child is selected.
public void removeAccessibleSelection(int i)
Removes the specified selected item in the object from the object's selection.
- Specified by:
- removeAccessibleSelection in interface AccessibleSelection
- Parameters:
i
- - the i-th selected item to remove
public void selectAllAccessibleSelection()
Causes every selected item in the object to be selected if the object supports multiple selections.
- Specified by:
- selectAllAccessibleSelection in interface AccessibleSelection
public void treeCollapsed(TreeExpansionEvent e)
Tree Collapsed notification
- Specified by:
- treeCollapsed in interface TreeExpansionListener
- Parameters:
e
- - the event
public void treeExpanded(TreeExpansionEvent e)
Tree Model Expansion notification.
- Specified by:
- treeExpanded in interface TreeExpansionListener
- Parameters:
e
- - the event
public void treeNodesChanged(TreeModelEvent e)
Tree Model Node change notification.
- Specified by:
- treeNodesChanged in interface TreeModelListener
- Parameters:
e
- - the event
public void treeNodesInserted(TreeModelEvent e)
Tree Model Node change notification.
- Specified by:
- treeNodesInserted in interface TreeModelListener
- Parameters:
e
- - the event
public void treeNodesRemoved(TreeModelEvent e)
Tree Model Node change notification.
- Specified by:
- treeNodesRemoved in interface TreeModelListener
- Parameters:
e
- - the event
public void treeStructureChanged(TreeModelEvent e)
Tree Model structure change change notification.
- Specified by:
- treeStructureChanged in interface TreeModelListener
- Parameters:
e
- - the event
public void valueChanged(TreeSelectionEvent e)
Tree Selection Listener value change method.
- Specified by:
- valueChanged in interface TreeSelectionListener
- Parameters:
e
- - the event