|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.accessibility.AccessibleContext | +--javax.swing.JComponent.AccessibleJComponent | +--javax.swing.JTree.AccessibleJTree
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. A future release of Swing will provide support for long term persistence.
Inner Class Summary | |
protected class |
JTree.AccessibleJTree.AccessibleJTreeNode
|
Inner classes inherited from class javax.swing.JComponent.AccessibleJComponent |
JComponent.AccessibleJComponent.AccessibleContainerHandler |
Fields inherited from class javax.swing.JComponent.AccessibleJComponent |
accessibleContainerHandler |
Constructor Summary | |
JTree.AccessibleJTree()
|
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 which allows its Accessible children to be selected. |
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. |
Methods inherited from class javax.accessibility.AccessibleContext |
firePropertyChange,
getAccessibleAction,
getAccessibleText,
getAccessibleValue,
setAccessibleDescription,
setAccessibleName,
setAccessibleParent |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public JTree.AccessibleJTree()
Method Detail |
public void valueChanged(TreeSelectionEvent e)
e
- ListSelectionEventpublic void fireVisibleDataPropertyChange()
public void treeNodesChanged(TreeModelEvent e)
e
- a Tree Model eventpublic void treeNodesInserted(TreeModelEvent e)
e
- a Tree node insertion eventpublic void treeNodesRemoved(TreeModelEvent e)
e
- a Tree node(s) removal eventpublic void treeStructureChanged(TreeModelEvent e)
e
- a Tree Model eventpublic void treeCollapsed(TreeExpansionEvent e)
e
- a TreeExpansionEventpublic void treeExpanded(TreeExpansionEvent e)
e
- a Tree node insertion eventpublic AccessibleRole getAccessibleRole()
AccessibleRole
public Accessible getAccessibleAt(Point p)
p
- point in local coordinates of the this Accessiblepublic int getAccessibleChildrenCount()
public Accessible getAccessibleChild(int i)
i
- zero-based index of childpublic int getAccessibleIndexInParent()
JComponent.AccessibleJComponent.getAccessibleParent()
public AccessibleSelection getAccessibleSelection()
AccessibleSelection
public int getAccessibleSelectionCount()
public Accessible getAccessibleSelection(int i)
i
- the zero-based index of selected itemspublic boolean isAccessibleChildSelected(int i)
i
- the zero-based index of the child in this Accessible object.AccessibleContext.getAccessibleChild(int)
public void addAccessibleSelection(int i)
i
- the zero-based index of selectable itemspublic void removeAccessibleSelection(int i)
i
- the zero-based index of selectable itemspublic void clearAccessibleSelection()
public void selectAllAccessibleSelection()
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |