Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
protected class: JTree.AccessibleJTree.AccessibleJTreeNode [javadoc | source]
java.lang.Object
   javax.accessibility.AccessibleContext
      javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode

All Implemented Interfaces:
    AccessibleAction, AccessibleComponent, Accessible, AccessibleSelection

This class implements accessibility support for the JTree child. It provides an implementation of the Java Accessibility API appropriate to tree nodes.
Fields inherited from javax.accessibility.AccessibleContext:
ACCESSIBLE_NAME_PROPERTY,  ACCESSIBLE_DESCRIPTION_PROPERTY,  ACCESSIBLE_STATE_PROPERTY,  ACCESSIBLE_VALUE_PROPERTY,  ACCESSIBLE_SELECTION_PROPERTY,  ACCESSIBLE_CARET_PROPERTY,  ACCESSIBLE_VISIBLE_DATA_PROPERTY,  ACCESSIBLE_CHILD_PROPERTY,  ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY,  ACCESSIBLE_TABLE_CAPTION_CHANGED,  ACCESSIBLE_TABLE_SUMMARY_CHANGED,  ACCESSIBLE_TABLE_MODEL_CHANGED,  ACCESSIBLE_TABLE_ROW_HEADER_CHANGED,  ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED,  ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED,  ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED,  ACCESSIBLE_ACTION_PROPERTY,  ACCESSIBLE_HYPERTEXT_OFFSET,  ACCESSIBLE_TEXT_PROPERTY,  ACCESSIBLE_INVALIDATE_CHILDREN,  ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED,  ACCESSIBLE_COMPONENT_BOUNDS_CHANGED,  accessibleParent,  accessibleName,  accessibleDescription
Constructor:
 public AccessibleJTreeNode(JTree t,
    TreePath p,
    Accessible ap) 
    Constructs an AccessibleJTreeNode
    since: 1.4 -
Method from javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode Summary:
addAccessibleSelection,   addFocusListener,   addPropertyChangeListener,   clearAccessibleSelection,   contains,   doAccessibleAction,   getAccessibleAction,   getAccessibleActionCount,   getAccessibleActionDescription,   getAccessibleAt,   getAccessibleChild,   getAccessibleChildrenCount,   getAccessibleComponent,   getAccessibleContext,   getAccessibleDescription,   getAccessibleIndexInParent,   getAccessibleName,   getAccessibleParent,   getAccessibleRole,   getAccessibleSelection,   getAccessibleSelection,   getAccessibleSelectionCount,   getAccessibleStateSet,   getAccessibleText,   getAccessibleValue,   getBackground,   getBounds,   getCursor,   getFont,   getFontMetrics,   getForeground,   getLocale,   getLocation,   getLocationInJTree,   getLocationOnScreen,   getSize,   isAccessibleChildSelected,   isEnabled,   isFocusTraversable,   isShowing,   isVisible,   removeAccessibleSelection,   removeFocusListener,   removePropertyChangeListener,   requestFocus,   selectAllAccessibleSelection,   setAccessibleDescription,   setAccessibleName,   setBackground,   setBounds,   setCursor,   setEnabled,   setFont,   setForeground,   setLocation,   setSize,   setVisible
Methods from javax.accessibility.AccessibleContext:
addPropertyChangeListener,   firePropertyChange,   getAccessibleAction,   getAccessibleChild,   getAccessibleChildrenCount,   getAccessibleComponent,   getAccessibleDescription,   getAccessibleEditableText,   getAccessibleIcon,   getAccessibleIndexInParent,   getAccessibleName,   getAccessibleParent,   getAccessibleRelationSet,   getAccessibleRole,   getAccessibleSelection,   getAccessibleStateSet,   getAccessibleTable,   getAccessibleText,   getAccessibleValue,   getLocale,   removePropertyChangeListener,   setAccessibleDescription,   setAccessibleName,   setAccessibleParent
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode Detail:
 public  void addAccessibleSelection(int i) 
    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.
 public  void addFocusListener(FocusListener l) 
 public  void addPropertyChangeListener(PropertyChangeListener l) 
    Add a PropertyChangeListener to the listener list. The listener is registered for all properties.
 public  void clearAccessibleSelection() 
    Clears the selection in the object, so that nothing in the object is selected.
 public boolean contains(Point p) 
 public boolean doAccessibleAction(int i) 
    Perform the specified Action on the tree node. If this node is not a leaf, there is at least one action which can be done (toggle expand), in addition to any available on the object behind the TreeCellRenderer.
 public AccessibleAction getAccessibleAction() 
    Get the AccessibleAction associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleAction interface on behalf of itself.
 public int getAccessibleActionCount() 
    Returns the number of accessible actions available in this tree node. If this node is not a leaf, there is at least one action (toggle expand), in addition to any available on the object behind the TreeCellRenderer.
 public String getAccessibleActionDescription(int i) 
    Return a description of the specified action of the tree node. If this node is not a leaf, there is at least one action description (toggle expand), in addition to any available on the object behind the TreeCellRenderer.
 public Accessible getAccessibleAt(Point p) 
    Returns the Accessible child, if one exists, contained at the local coordinate Point. Otherwise returns null.
 public Accessible getAccessibleChild(int i) 
    Return the specified Accessible child of the object.
 public int getAccessibleChildrenCount() 
    Returns the number of accessible children in the object.
 public AccessibleComponent getAccessibleComponent() 
    Get the AccessibleComponent associated with this object. In the implementation of the Java Accessibility API for this class, return this object, which is responsible for implementing the AccessibleComponent interface on behalf of itself.
 public AccessibleContext getAccessibleContext() 
    Get the AccessibleContext associated with this tree node. In the implementation of the Java Accessibility API for this class, return this object, which is its own AccessibleContext.
 public String getAccessibleDescription() 
    Get the accessible description of this object.
 public int getAccessibleIndexInParent() 
    Get the index of this object in its accessible parent.
 public String getAccessibleName() 
    Get the accessible name of this object.
 public Accessible getAccessibleParent() 
    Get the Accessible parent of this object.
 public AccessibleRole getAccessibleRole() 
    Get the role of this object.
 public AccessibleSelection getAccessibleSelection() 
    Get the AccessibleSelection associated with this object if one exists. Otherwise return null.
 public Accessible getAccessibleSelection(int i) 
    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.
 public int getAccessibleSelectionCount() 
    Returns the number of items currently selected. If no items are selected, the return value will be 0.
 public AccessibleStateSet getAccessibleStateSet() 
    Get the state set of this object.
 public AccessibleText getAccessibleText() 
    Get the AccessibleText associated with this object if one exists. Otherwise return null.
 public AccessibleValue getAccessibleValue() 
    Get the AccessibleValue associated with this object if one exists. Otherwise return null.
 public Color getBackground() 
    Get the background color of this object.
 public Rectangle getBounds() 
 public Cursor getCursor() 
 public Font getFont() 
 public FontMetrics getFontMetrics(Font f) 
 public Color getForeground() 
    Get the foreground color of this object.
 public Locale getLocale() 
    Gets the locale of the component. If the component does not have a locale, then the locale of its parent is returned.
 public Point getLocation() 
 protected Point getLocationInJTree() 
 public Point getLocationOnScreen() 
 public Dimension getSize() 
 public boolean isAccessibleChildSelected(int i) 
    Returns true if the current child of this object is selected.
 public boolean isEnabled() 
 public boolean isFocusTraversable() 
 public boolean isShowing() 
 public boolean isVisible() 
 public  void removeAccessibleSelection(int i) 
    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.
 public  void removeFocusListener(FocusListener l) 
 public  void removePropertyChangeListener(PropertyChangeListener l) 
    Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.
 public  void requestFocus() 
 public  void selectAllAccessibleSelection() 
    Causes every selected item in the object to be selected if the object supports multiple selections.
 public  void setAccessibleDescription(String s) 
    Set the accessible description of this object.
 public  void setAccessibleName(String s) 
    Set the localized accessible name of this object.
 public  void setBackground(Color c) 
    Set the background color of this object.
 public  void setBounds(Rectangle r) 
 public  void setCursor(Cursor c) 
 public  void setEnabled(boolean b) 
 public  void setFont(Font f) 
 public  void setForeground(Color c) 
 public  void setLocation(Point p) 
 public  void setSize(Dimension d) 
 public  void setVisible(boolean b)