javax.swing
Class JTree.AccessibleJTree.AccessibleJTreeNode

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext 
      extended by javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode
All Implemented Interfaces:
Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible , AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction , AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent , AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection
Enclosing class:
JTree.AccessibleJTree sample code for javax.swing.JTree.AccessibleJTree definition code for javax.swing.JTree.AccessibleJTree

protected class JTree.AccessibleJTree.AccessibleJTreeNode
extends AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
implements Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible , AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent , AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection , AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction

This class implements accessibility support for the JTree child. It provides an implementation of the Java Accessibility API appropriate to tree nodes.


Field Summary
 
Fields inherited from class javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
ACCESSIBLE_ACTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTION_PROPERTY , ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY , ACCESSIBLE_CARET_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_CARET_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_CARET_PROPERTY , ACCESSIBLE_CHILD_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY , ACCESSIBLE_COMPONENT_BOUNDS_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED , ACCESSIBLE_DESCRIPTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY , ACCESSIBLE_HYPERTEXT_OFFSET sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET , ACCESSIBLE_INVALIDATE_CHILDREN sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN , ACCESSIBLE_NAME_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY , ACCESSIBLE_SELECTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY , ACCESSIBLE_STATE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY , ACCESSIBLE_TABLE_CAPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED , ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED , ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED , ACCESSIBLE_TABLE_MODEL_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED , ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED , ACCESSIBLE_TABLE_ROW_HEADER_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED , ACCESSIBLE_TABLE_SUMMARY_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED , ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED , ACCESSIBLE_TEXT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY , ACCESSIBLE_VALUE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY , ACCESSIBLE_VISIBLE_DATA_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY , accessibleDescription sample code for javax.accessibility.AccessibleContext.accessibleDescription definition code for javax.accessibility.AccessibleContext.accessibleDescription , accessibleName sample code for javax.accessibility.AccessibleContext.accessibleName definition code for javax.accessibility.AccessibleContext.accessibleName
 
Fields inherited from interface javax.accessibility.AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
DECREMENT sample code for javax.accessibility.AccessibleAction.DECREMENT definition code for javax.accessibility.AccessibleAction.DECREMENT , INCREMENT sample code for javax.accessibility.AccessibleAction.INCREMENT definition code for javax.accessibility.AccessibleAction.INCREMENT , TOGGLE_EXPAND sample code for javax.accessibility.AccessibleAction.TOGGLE_EXPAND definition code for javax.accessibility.AccessibleAction.TOGGLE_EXPAND
 
Constructor Summary
JTree.AccessibleJTree.AccessibleJTreeNode sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.JTree.AccessibleJTree.AccessibleJTreeNode(javax.swing.JTree, javax.swing.tree.TreePath, javax.accessibility.Accessible) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.JTree.AccessibleJTree.AccessibleJTreeNode(javax.swing.JTree, javax.swing.tree.TreePath, javax.accessibility.Accessible) (JTree sample code for javax.swing.JTree definition code for javax.swing.JTree  t, TreePath sample code for javax.swing.tree.TreePath definition code for javax.swing.tree.TreePath  p, Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  ap)
          Constructs an AccessibleJTreeNode
 
Method Summary
 void addAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addAccessibleSelection(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addAccessibleSelection(int) (int i)
          Adds the specified selected item in the object to the object's selection.
 void addFocusListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addFocusListener(java.awt.event.FocusListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addFocusListener(java.awt.event.FocusListener) (FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
          Adds the specified focus listener to receive focus events from this component.
 void addPropertyChangeListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addPropertyChangeListener(java.beans.PropertyChangeListener) (PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  l)
          Add a PropertyChangeListener to the listener list.
 void clearAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.clearAccessibleSelection() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.clearAccessibleSelection() ()
          Clears the selection in the object, so that nothing in the object is selected.
 boolean contains sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.contains(java.awt.Point) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.contains(java.awt.Point) (Point sample code for java.awt.Point definition code for java.awt.Point  p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 boolean doAccessibleAction sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.doAccessibleAction(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.doAccessibleAction(int) (int i)
          Perform the specified Action on the tree node.
 AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction getAccessibleAction sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAction() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAction() ()
          Get the AccessibleAction associated with this object.
 int getAccessibleActionCount sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionCount() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionCount() ()
          Returns the number of accessible actions available in this tree node.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleActionDescription sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionDescription(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionDescription(int) (int i)
          Return a description of the specified action of the tree node.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleAt sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAt(java.awt.Point) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAt(java.awt.Point) (Point sample code for java.awt.Point definition code for java.awt.Point  p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleChild sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChild(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChild(int) (int i)
          Return the specified Accessible child of the object.
 int getAccessibleChildrenCount sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChildrenCount() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChildrenCount() ()
          Returns the number of accessible children in the object.
 AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent getAccessibleComponent sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleComponent() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleComponent() ()
          Get the AccessibleComponent associated with this object.
 AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext getAccessibleContext sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleContext() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleContext() ()
          Get the AccessibleContext associated with this tree node.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleDescription sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleDescription() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleDescription() ()
          Get the accessible description of this object.
 int getAccessibleIndexInParent sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleIndexInParent() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleIndexInParent() ()
          Get the index of this object in its accessible parent.
 String sample code for java.lang.String definition code for java.lang.String getAccessibleName sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleName() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleName() ()
          Get the accessible name of this object.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleParent sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleParent() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleParent() ()
          Get the Accessible parent of this object.
 AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole getAccessibleRole sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleRole() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleRole() ()
          Get the role of this object.
 AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection getAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection() ()
          Get the AccessibleSelection associated with this object if one exists.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection(int) (int i)
          Returns an Accessible representing the specified selected item in the object.
 int getAccessibleSelectionCount sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelectionCount() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelectionCount() ()
          Returns the number of items currently selected.
 AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet getAccessibleStateSet sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleStateSet() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleStateSet() ()
          Get the state set of this object.
 AccessibleText sample code for javax.accessibility.AccessibleText definition code for javax.accessibility.AccessibleText getAccessibleText sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleText() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleText() ()
          Get the AccessibleText associated with this object if one exists.
 AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue getAccessibleValue sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleValue() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleValue() ()
          Get the AccessibleValue associated with this object if one exists.
 Color sample code for java.awt.Color definition code for java.awt.Color getBackground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBackground() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBackground() ()
          Get the background color of this object.
 Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle getBounds sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBounds() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBounds() ()
          Gets the bounds of this object in the form of a Rectangle object.
 Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor getCursor sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getCursor() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getCursor() ()
          Gets the Cursor of this object.
 Font sample code for java.awt.Font definition code for java.awt.Font getFont sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFont() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFont() ()
          Gets the Font of this object.
 FontMetrics sample code for java.awt.FontMetrics definition code for java.awt.FontMetrics getFontMetrics sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFontMetrics(java.awt.Font) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFontMetrics(java.awt.Font) (Font sample code for java.awt.Font definition code for java.awt.Font  f)
          Gets the FontMetrics of this object.
 Color sample code for java.awt.Color definition code for java.awt.Color getForeground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getForeground() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getForeground() ()
          Get the foreground color of this object.
 Locale sample code for java.util.Locale definition code for java.util.Locale getLocale sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocale() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocale() ()
          Gets the locale of the component.
 Point sample code for java.awt.Point definition code for java.awt.Point getLocation sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocation() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocation() ()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
protected  Point sample code for java.awt.Point definition code for java.awt.Point getLocationInJTree sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationInJTree() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationInJTree() ()
           
 Point sample code for java.awt.Point definition code for java.awt.Point getLocationOnScreen sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationOnScreen() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationOnScreen() ()
          Returns the location of the object on the screen.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getSize sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getSize() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getSize() ()
          Returns the size of this object in the form of a Dimension object.
 boolean isAccessibleChildSelected sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isAccessibleChildSelected(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isAccessibleChildSelected(int) (int i)
          Returns true if the current child of this object is selected.
 boolean isEnabled sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isEnabled() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isEnabled() ()
          Determines if the object is enabled.
 boolean isFocusTraversable sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isFocusTraversable() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isFocusTraversable() ()
          Returns whether this object can accept focus or not.
 boolean isShowing sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isShowing() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isShowing() ()
          Determines if the object is showing.
 boolean isVisible sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isVisible() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isVisible() ()
          Determines if the object is visible.
 void removeAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeAccessibleSelection(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeAccessibleSelection(int) (int i)
          Removes the specified selected item in the object from the object's selection.
 void removeFocusListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeFocusListener(java.awt.event.FocusListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeFocusListener(java.awt.event.FocusListener) (FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
          Removes the specified focus listener so it no longer receives focus events from this component.
 void removePropertyChangeListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removePropertyChangeListener(java.beans.PropertyChangeListener) (PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  l)
          Remove a PropertyChangeListener from the listener list.
 void requestFocus sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.requestFocus() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.requestFocus() ()
          Requests focus for this object.
 void selectAllAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.selectAllAccessibleSelection() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.selectAllAccessibleSelection() ()
          Causes every selected item in the object to be selected if the object supports multiple selections.
 void setAccessibleDescription sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleDescription(java.lang.String) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleDescription(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  s)
          Set the accessible description of this object.
 void setAccessibleName sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleName(java.lang.String) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleName(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  s)
          Set the localized accessible name of this object.
 void setBackground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBackground(java.awt.Color) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBackground(java.awt.Color) (Color sample code for java.awt.Color definition code for java.awt.Color  c)
          Set the background color of this object.
 void setBounds sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBounds(java.awt.Rectangle) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBounds(java.awt.Rectangle) (Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  r)
          Sets the bounds of this object in the form of a Rectangle object.
 void setCursor sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setCursor(java.awt.Cursor) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setCursor(java.awt.Cursor) (Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor  c)
          Sets the Cursor of this object.
 void setEnabled sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setEnabled(boolean) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setEnabled(boolean) (boolean b)
          Sets the enabled state of the object.
 void setFont sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setFont(java.awt.Font) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setFont(java.awt.Font) (Font sample code for java.awt.Font definition code for java.awt.Font  f)
          Sets the Font of this object.
 void setForeground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setForeground(java.awt.Color) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setForeground(java.awt.Color) (Color sample code for java.awt.Color definition code for java.awt.Color  c)
          Sets the foreground color of this object.
 void setLocation sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setLocation(java.awt.Point) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setLocation(java.awt.Point) (Point sample code for java.awt.Point definition code for java.awt.Point  p)
          Sets the location of the object relative to the parent.
 void setSize sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setSize(java.awt.Dimension) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setSize(java.awt.Dimension) (Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  d)
          Resizes this object so that it has width and height.
 void setVisible sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setVisible(boolean) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setVisible(boolean) (boolean b)
          Sets the visible state of the object.
 
Methods inherited from class javax.accessibility.AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
firePropertyChange sample code for javax.accessibility.AccessibleContext.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) definition code for javax.accessibility.AccessibleContext.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) , getAccessibleEditableText sample code for javax.accessibility.AccessibleContext.getAccessibleEditableText() definition code for javax.accessibility.AccessibleContext.getAccessibleEditableText() , getAccessibleIcon sample code for javax.accessibility.AccessibleContext.getAccessibleIcon() definition code for javax.accessibility.AccessibleContext.getAccessibleIcon() , getAccessibleRelationSet sample code for javax.accessibility.AccessibleContext.getAccessibleRelationSet() definition code for javax.accessibility.AccessibleContext.getAccessibleRelationSet() , getAccessibleTable sample code for javax.accessibility.AccessibleContext.getAccessibleTable() definition code for javax.accessibility.AccessibleContext.getAccessibleTable() , setAccessibleParent sample code for javax.accessibility.AccessibleContext.setAccessibleParent(javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleContext.setAccessibleParent(javax.accessibility.Accessible)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

JTree.AccessibleJTree.AccessibleJTreeNode sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode(javax.swing.JTree, javax.swing.tree.TreePath, javax.accessibility.Accessible) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode(javax.swing.JTree, javax.swing.tree.TreePath, javax.accessibility.Accessible)

public JTree.AccessibleJTree.AccessibleJTreeNode(JTree sample code for javax.swing.JTree definition code for javax.swing.JTree  t,
                                                 TreePath sample code for javax.swing.tree.TreePath definition code for javax.swing.tree.TreePath  p,
                                                 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  ap)
Constructs an AccessibleJTreeNode

Method Detail

getAccessibleContext sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleContext() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleContext()

public AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.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.

Specified by:
getAccessibleContext sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() in interface Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible
Returns:
this object

getAccessibleName sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleName() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleName()

public String sample code for java.lang.String definition code for java.lang.String  getAccessibleName()
Get the accessible name of this object.

Overrides:
getAccessibleName sample code for javax.accessibility.AccessibleContext.getAccessibleName() definition code for javax.accessibility.AccessibleContext.getAccessibleName() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the localized name of the object; null if this object does not have a name
See Also:
AccessibleContext.setAccessibleName(java.lang.String) sample code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String)

setAccessibleName sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleName(java.lang.String) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleName(java.lang.String)

public void setAccessibleName(String sample code for java.lang.String definition code for java.lang.String  s)
Set the localized accessible name of this object.

Overrides:
setAccessibleName sample code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Parameters:
s - the new localized name of the object.
See Also:
AccessibleContext.getAccessibleName() sample code for javax.accessibility.AccessibleContext.getAccessibleName() definition code for javax.accessibility.AccessibleContext.getAccessibleName() , AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) sample code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener)

getAccessibleDescription sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleDescription() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleDescription()

public String sample code for java.lang.String definition code for java.lang.String  getAccessibleDescription()
Get the accessible description of this object.

Overrides:
getAccessibleDescription sample code for javax.accessibility.AccessibleContext.getAccessibleDescription() definition code for javax.accessibility.AccessibleContext.getAccessibleDescription() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the localized description of the object; null if this object does not have a description
See Also:
AccessibleContext.setAccessibleDescription(java.lang.String) sample code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String)

setAccessibleDescription sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleDescription(java.lang.String) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleDescription(java.lang.String)

public void setAccessibleDescription(String sample code for java.lang.String definition code for java.lang.String  s)
Set the accessible description of this object.

Overrides:
setAccessibleDescription sample code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleDescription(java.lang.String) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Parameters:
s - the new localized description of the object
See Also:
AccessibleContext.setAccessibleName(java.lang.String) sample code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) definition code for javax.accessibility.AccessibleContext.setAccessibleName(java.lang.String) , AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) sample code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener)

getAccessibleRole sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleRole() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleRole()

public AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole  getAccessibleRole()
Get the role of this object.

Specified by:
getAccessibleRole sample code for javax.accessibility.AccessibleContext.getAccessibleRole() definition code for javax.accessibility.AccessibleContext.getAccessibleRole() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
an instance of AccessibleRole describing the role of the object
See Also:
AccessibleRole sample code for javax.accessibility.AccessibleRole definition code for javax.accessibility.AccessibleRole

getAccessibleStateSet sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleStateSet() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleStateSet()

public AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet  getAccessibleStateSet()
Get the state set of this object.

Specified by:
getAccessibleStateSet sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
an instance of AccessibleStateSet containing the current state set of the object
See Also:
AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState

getAccessibleParent sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleParent() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleParent()

public Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleParent()
Get the Accessible parent of this object.

Overrides:
getAccessibleParent sample code for javax.accessibility.AccessibleContext.getAccessibleParent() definition code for javax.accessibility.AccessibleContext.getAccessibleParent() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the Accessible parent of this object; null if this object does not have an Accessible parent

getAccessibleIndexInParent sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleIndexInParent() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleIndexInParent()

public int getAccessibleIndexInParent()
Get the index of this object in its accessible parent.

Specified by:
getAccessibleIndexInParent sample code for javax.accessibility.AccessibleContext.getAccessibleIndexInParent() definition code for javax.accessibility.AccessibleContext.getAccessibleIndexInParent() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the index of this object in its parent; -1 if this object does not have an accessible parent.
See Also:
getAccessibleParent() sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleParent() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleParent()

getAccessibleChildrenCount sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChildrenCount() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChildrenCount()

public int getAccessibleChildrenCount()
Returns the number of accessible children in the object.

Specified by:
getAccessibleChildrenCount sample code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount() definition code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the number of accessible children in the object.

getAccessibleChild sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChild(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleChild(int)

public Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleChild(int i)
Return the specified Accessible child of the object.

Specified by:
getAccessibleChild sample code for javax.accessibility.AccessibleContext.getAccessibleChild(int) definition code for javax.accessibility.AccessibleContext.getAccessibleChild(int) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Parameters:
i - zero-based index of child
Returns:
the Accessible child of the object
See Also:
AccessibleContext.getAccessibleChildrenCount() sample code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount() definition code for javax.accessibility.AccessibleContext.getAccessibleChildrenCount()

getLocale sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocale() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocale()

public Locale sample code for java.util.Locale definition code for java.util.Locale  getLocale()
Gets the locale of the component. If the component does not have a locale, then the locale of its parent is returned.

Specified by:
getLocale sample code for javax.accessibility.AccessibleContext.getLocale() definition code for javax.accessibility.AccessibleContext.getLocale() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
This component's locale. If this component does not have a locale, the locale of its parent is returned.
Throws:
IllegalComponentStateException sample code for java.awt.IllegalComponentStateException definition code for java.awt.IllegalComponentStateException - If the Component does not have its own locale and has not yet been added to a containment hierarchy such that the locale can be determined from the containing parent.
See Also:
Component.setLocale(java.util.Locale) sample code for java.awt.Component.setLocale(java.util.Locale) definition code for java.awt.Component.setLocale(java.util.Locale)

addPropertyChangeListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addPropertyChangeListener(java.beans.PropertyChangeListener)

public void addPropertyChangeListener(PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  l)
Add a PropertyChangeListener to the listener list. The listener is registered for all properties.

Overrides:
addPropertyChangeListener sample code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Parameters:
l - The PropertyChangeListener to be added
See Also:
AccessibleContext.ACCESSIBLE_NAME_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_NAME_PROPERTY , AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY , AccessibleContext.ACCESSIBLE_STATE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_STATE_PROPERTY , AccessibleContext.ACCESSIBLE_VALUE_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VALUE_PROPERTY , AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY , AccessibleContext.ACCESSIBLE_TEXT_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_TEXT_PROPERTY , AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY sample code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY definition code for javax.accessibility.AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY

removePropertyChangeListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removePropertyChangeListener(java.beans.PropertyChangeListener)

public void removePropertyChangeListener(PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  l)
Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.

Overrides:
removePropertyChangeListener sample code for javax.accessibility.AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for javax.accessibility.AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener) in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Parameters:
l - The PropertyChangeListener to be removed

getAccessibleAction sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAction() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAction()

public AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.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.

Overrides:
getAccessibleAction sample code for javax.accessibility.AccessibleContext.getAccessibleAction() definition code for javax.accessibility.AccessibleContext.getAccessibleAction() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
this object
See Also:
AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction

getAccessibleComponent sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleComponent() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleComponent()

public AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.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.

Overrides:
getAccessibleComponent sample code for javax.accessibility.AccessibleContext.getAccessibleComponent() definition code for javax.accessibility.AccessibleContext.getAccessibleComponent() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
this object
See Also:
AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent

getAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection()

public AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection  getAccessibleSelection()
Get the AccessibleSelection associated with this object if one exists. Otherwise return null.

Overrides:
getAccessibleSelection sample code for javax.accessibility.AccessibleContext.getAccessibleSelection() definition code for javax.accessibility.AccessibleContext.getAccessibleSelection() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the AccessibleSelection, or null
See Also:
AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection

getAccessibleText sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleText() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleText()

public AccessibleText sample code for javax.accessibility.AccessibleText definition code for javax.accessibility.AccessibleText  getAccessibleText()
Get the AccessibleText associated with this object if one exists. Otherwise return null.

Overrides:
getAccessibleText sample code for javax.accessibility.AccessibleContext.getAccessibleText() definition code for javax.accessibility.AccessibleContext.getAccessibleText() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the AccessibleText, or null
See Also:
AccessibleText sample code for javax.accessibility.AccessibleText definition code for javax.accessibility.AccessibleText

getAccessibleValue sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleValue() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleValue()

public AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue  getAccessibleValue()
Get the AccessibleValue associated with this object if one exists. Otherwise return null.

Overrides:
getAccessibleValue sample code for javax.accessibility.AccessibleContext.getAccessibleValue() definition code for javax.accessibility.AccessibleContext.getAccessibleValue() in class AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext
Returns:
the AccessibleValue, or null
See Also:
AccessibleValue sample code for javax.accessibility.AccessibleValue definition code for javax.accessibility.AccessibleValue

getBackground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBackground() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBackground()

public Color sample code for java.awt.Color definition code for java.awt.Color  getBackground()
Get the background color of this object.

Specified by:
getBackground sample code for javax.accessibility.AccessibleComponent.getBackground() definition code for javax.accessibility.AccessibleComponent.getBackground() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the background color, if supported, of the object; otherwise, null
See Also:
AccessibleComponent.setBackground(java.awt.Color) sample code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color)

setBackground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBackground(java.awt.Color) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBackground(java.awt.Color)

public void setBackground(Color sample code for java.awt.Color definition code for java.awt.Color  c)
Set the background color of this object.

Specified by:
setBackground sample code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
c - the new Color for the background
See Also:
AccessibleComponent.setBackground(java.awt.Color) sample code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setBackground(java.awt.Color)

getForeground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getForeground() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getForeground()

public Color sample code for java.awt.Color definition code for java.awt.Color  getForeground()
Get the foreground color of this object.

Specified by:
getForeground sample code for javax.accessibility.AccessibleComponent.getForeground() definition code for javax.accessibility.AccessibleComponent.getForeground() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the foreground color, if supported, of the object; otherwise, null
See Also:
AccessibleComponent.setForeground(java.awt.Color) sample code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color)

setForeground sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setForeground(java.awt.Color) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setForeground(java.awt.Color)

public void setForeground(Color sample code for java.awt.Color definition code for java.awt.Color  c)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color)
Sets the foreground color of this object.

Specified by:
setForeground sample code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) definition code for javax.accessibility.AccessibleComponent.setForeground(java.awt.Color) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
c - the new Color for the foreground
See Also:
AccessibleComponent.getForeground() sample code for javax.accessibility.AccessibleComponent.getForeground() definition code for javax.accessibility.AccessibleComponent.getForeground()

getCursor sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getCursor() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getCursor()

public Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor  getCursor()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.getCursor() definition code for javax.accessibility.AccessibleComponent.getCursor()
Gets the Cursor of this object.

Specified by:
getCursor sample code for javax.accessibility.AccessibleComponent.getCursor() definition code for javax.accessibility.AccessibleComponent.getCursor() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the Cursor, if supported, of the object; otherwise, null
See Also:
AccessibleComponent.setCursor(java.awt.Cursor) sample code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) definition code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor)

setCursor sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setCursor(java.awt.Cursor) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setCursor(java.awt.Cursor)

public void setCursor(Cursor sample code for java.awt.Cursor definition code for java.awt.Cursor  c)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) definition code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor)
Sets the Cursor of this object.

Specified by:
setCursor sample code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) definition code for javax.accessibility.AccessibleComponent.setCursor(java.awt.Cursor) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
c - the new Cursor for the object
See Also:
AccessibleComponent.getCursor() sample code for javax.accessibility.AccessibleComponent.getCursor() definition code for javax.accessibility.AccessibleComponent.getCursor()

getFont sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFont() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFont()

public Font sample code for java.awt.Font definition code for java.awt.Font  getFont()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.getFont() definition code for javax.accessibility.AccessibleComponent.getFont()
Gets the Font of this object.

Specified by:
getFont sample code for javax.accessibility.AccessibleComponent.getFont() definition code for javax.accessibility.AccessibleComponent.getFont() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the Font,if supported, for the object; otherwise, null
See Also:
AccessibleComponent.setFont(java.awt.Font) sample code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font)

setFont sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setFont(java.awt.Font) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setFont(java.awt.Font)

public void setFont(Font sample code for java.awt.Font definition code for java.awt.Font  f)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font)
Sets the Font of this object.

Specified by:
setFont sample code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.setFont(java.awt.Font) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
f - the new Font for the object
See Also:
AccessibleComponent.getFont() sample code for javax.accessibility.AccessibleComponent.getFont() definition code for javax.accessibility.AccessibleComponent.getFont()

getFontMetrics sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFontMetrics(java.awt.Font) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getFontMetrics(java.awt.Font)

public FontMetrics sample code for java.awt.FontMetrics definition code for java.awt.FontMetrics  getFontMetrics(Font sample code for java.awt.Font definition code for java.awt.Font  f)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font)
Gets the FontMetrics of this object.

Specified by:
getFontMetrics sample code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font) definition code for javax.accessibility.AccessibleComponent.getFontMetrics(java.awt.Font) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
f - the Font
Returns:
the FontMetrics, if supported, the object; otherwise, null
See Also:
AccessibleComponent.getFont() sample code for javax.accessibility.AccessibleComponent.getFont() definition code for javax.accessibility.AccessibleComponent.getFont()

isEnabled sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isEnabled() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isEnabled()

public boolean isEnabled()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.isEnabled() definition code for javax.accessibility.AccessibleComponent.isEnabled()
Determines if the object is enabled. Objects that are enabled will also have the AccessibleState.ENABLED state set in their AccessibleStateSets.

Specified by:
isEnabled sample code for javax.accessibility.AccessibleComponent.isEnabled() definition code for javax.accessibility.AccessibleComponent.isEnabled() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object is enabled; otherwise, false
See Also:
AccessibleComponent.setEnabled(boolean) sample code for javax.accessibility.AccessibleComponent.setEnabled(boolean) definition code for javax.accessibility.AccessibleComponent.setEnabled(boolean) , AccessibleContext.getAccessibleStateSet() sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() , AccessibleState.ENABLED sample code for javax.accessibility.AccessibleState.ENABLED definition code for javax.accessibility.AccessibleState.ENABLED , AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet

setEnabled sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setEnabled(boolean) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setEnabled(boolean)

public void setEnabled(boolean b)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setEnabled(boolean) definition code for javax.accessibility.AccessibleComponent.setEnabled(boolean)
Sets the enabled state of the object.

Specified by:
setEnabled sample code for javax.accessibility.AccessibleComponent.setEnabled(boolean) definition code for javax.accessibility.AccessibleComponent.setEnabled(boolean) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
b - if true, enables this object; otherwise, disables it
See Also:
AccessibleComponent.isEnabled() sample code for javax.accessibility.AccessibleComponent.isEnabled() definition code for javax.accessibility.AccessibleComponent.isEnabled()

isVisible sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isVisible() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isVisible()

public boolean isVisible()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.isVisible() definition code for javax.accessibility.AccessibleComponent.isVisible()
Determines if the object is visible. Note: this means that the object intends to be visible; however, it may not be showing on the screen because one of the objects that this object is contained by is currently not visible. To determine if an object is showing on the screen, use isShowing().

Objects that are visible will also have the AccessibleState.VISIBLE state set in their AccessibleStateSets.

Specified by:
isVisible sample code for javax.accessibility.AccessibleComponent.isVisible() definition code for javax.accessibility.AccessibleComponent.isVisible() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object is visible; otherwise, false
See Also:
AccessibleComponent.setVisible(boolean) sample code for javax.accessibility.AccessibleComponent.setVisible(boolean) definition code for javax.accessibility.AccessibleComponent.setVisible(boolean) , AccessibleContext.getAccessibleStateSet() sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() , AccessibleState.VISIBLE sample code for javax.accessibility.AccessibleState.VISIBLE definition code for javax.accessibility.AccessibleState.VISIBLE , AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet

setVisible sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setVisible(boolean) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setVisible(boolean)

public void setVisible(boolean b)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setVisible(boolean) definition code for javax.accessibility.AccessibleComponent.setVisible(boolean)
Sets the visible state of the object.

Specified by:
setVisible sample code for javax.accessibility.AccessibleComponent.setVisible(boolean) definition code for javax.accessibility.AccessibleComponent.setVisible(boolean) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
b - if true, shows this object; otherwise, hides it
See Also:
AccessibleComponent.isVisible() sample code for javax.accessibility.AccessibleComponent.isVisible() definition code for javax.accessibility.AccessibleComponent.isVisible()

isShowing sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isShowing() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isShowing()

public boolean isShowing()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.isShowing() definition code for javax.accessibility.AccessibleComponent.isShowing()
Determines if the object is showing. This is determined by checking the visibility of the object and its ancestors. Note: this will return true even if the object is obscured by another (for example, it is underneath a menu that was pulled down).

Specified by:
isShowing sample code for javax.accessibility.AccessibleComponent.isShowing() definition code for javax.accessibility.AccessibleComponent.isShowing() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object is showing; otherwise, false

contains sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.contains(java.awt.Point) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.contains(java.awt.Point)

public boolean contains(Point sample code for java.awt.Point definition code for java.awt.Point  p)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.contains(java.awt.Point)
Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.

Specified by:
contains sample code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
p - the Point relative to the coordinate system of the object
Returns:
true if object contains Point; otherwise false
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds()

getLocationOnScreen sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationOnScreen() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationOnScreen()

public Point sample code for java.awt.Point definition code for java.awt.Point  getLocationOnScreen()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.getLocationOnScreen() definition code for javax.accessibility.AccessibleComponent.getLocationOnScreen()
Returns the location of the object on the screen.

Specified by:
getLocationOnScreen sample code for javax.accessibility.AccessibleComponent.getLocationOnScreen() definition code for javax.accessibility.AccessibleComponent.getLocationOnScreen() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
the location of the object on screen; null if this object is not on the screen
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds() , AccessibleComponent.getLocation() sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation()

getLocationInJTree sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationInJTree() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocationInJTree()

protected Point sample code for java.awt.Point definition code for java.awt.Point  getLocationInJTree()

getLocation sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocation() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getLocation()

public Point sample code for java.awt.Point definition code for java.awt.Point  getLocation()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation()
Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.

Specified by:
getLocation sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
An instance of Point representing the top-left corner of the object's bounds in the coordinate space of the screen; null if this object or its parent are not on the screen
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds() , AccessibleComponent.getLocationOnScreen() sample code for javax.accessibility.AccessibleComponent.getLocationOnScreen() definition code for javax.accessibility.AccessibleComponent.getLocationOnScreen()

setLocation sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setLocation(java.awt.Point) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setLocation(java.awt.Point)

public void setLocation(Point sample code for java.awt.Point definition code for java.awt.Point  p)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point)
Sets the location of the object relative to the parent.

Specified by:
setLocation sample code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.setLocation(java.awt.Point) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
p - the new position for the top-left corner
See Also:
AccessibleComponent.getLocation() sample code for javax.accessibility.AccessibleComponent.getLocation() definition code for javax.accessibility.AccessibleComponent.getLocation()

getBounds sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBounds() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getBounds()

public Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  getBounds()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds()
Gets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.

Specified by:
getBounds sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
A rectangle indicating this component's bounds; null if this object is not on the screen.
See Also:
AccessibleComponent.contains(java.awt.Point) sample code for javax.accessibility.AccessibleComponent.contains(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.contains(java.awt.Point)

setBounds sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBounds(java.awt.Rectangle) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setBounds(java.awt.Rectangle)

public void setBounds(Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  r)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle) definition code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle)
Sets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.

Specified by:
setBounds sample code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle) definition code for javax.accessibility.AccessibleComponent.setBounds(java.awt.Rectangle) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
r - rectangle indicating this component's bounds
See Also:
AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds()

getSize sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getSize() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getSize()

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getSize()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.getSize() definition code for javax.accessibility.AccessibleComponent.getSize()
Returns the size of this object in the form of a Dimension object. The height field of the Dimension object contains this object's height, and the width field of the Dimension object contains this object's width.

Specified by:
getSize sample code for javax.accessibility.AccessibleComponent.getSize() definition code for javax.accessibility.AccessibleComponent.getSize() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
A Dimension object that indicates the size of this component; null if this object is not on the screen
See Also:
AccessibleComponent.setSize(java.awt.Dimension) sample code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) definition code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension)

setSize sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setSize(java.awt.Dimension) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.setSize(java.awt.Dimension)

public void setSize(Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  d)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) definition code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension)
Resizes this object so that it has width and height.

Specified by:
setSize sample code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) definition code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
d - The dimension specifying the new size of the object.
See Also:
AccessibleComponent.getSize() sample code for javax.accessibility.AccessibleComponent.getSize() definition code for javax.accessibility.AccessibleComponent.getSize()

getAccessibleAt sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAt(java.awt.Point) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAt(java.awt.Point)

public Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleAt(Point sample code for java.awt.Point definition code for java.awt.Point  p)
Returns the Accessible child, if one exists, contained at the local coordinate Point. Otherwise returns null.

Specified by:
getAccessibleAt sample code for javax.accessibility.AccessibleComponent.getAccessibleAt(java.awt.Point) definition code for javax.accessibility.AccessibleComponent.getAccessibleAt(java.awt.Point) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
p - point in local coordinates of this Accessible
Returns:
the Accessible, if it exists, at the specified location; else null

isFocusTraversable sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isFocusTraversable() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isFocusTraversable()

public boolean isFocusTraversable()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.isFocusTraversable() definition code for javax.accessibility.AccessibleComponent.isFocusTraversable()
Returns whether this object can accept focus or not. Objects that can accept focus will also have the AccessibleState.FOCUSABLE state set in their AccessibleStateSets.

Specified by:
isFocusTraversable sample code for javax.accessibility.AccessibleComponent.isFocusTraversable() definition code for javax.accessibility.AccessibleComponent.isFocusTraversable() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Returns:
true if object can accept focus; otherwise false
See Also:
AccessibleContext.getAccessibleStateSet() sample code for javax.accessibility.AccessibleContext.getAccessibleStateSet() definition code for javax.accessibility.AccessibleContext.getAccessibleStateSet() , AccessibleState.FOCUSABLE sample code for javax.accessibility.AccessibleState.FOCUSABLE definition code for javax.accessibility.AccessibleState.FOCUSABLE , AccessibleState.FOCUSED sample code for javax.accessibility.AccessibleState.FOCUSED definition code for javax.accessibility.AccessibleState.FOCUSED , AccessibleStateSet sample code for javax.accessibility.AccessibleStateSet definition code for javax.accessibility.AccessibleStateSet

requestFocus sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.requestFocus() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.requestFocus()

public void requestFocus()
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.requestFocus() definition code for javax.accessibility.AccessibleComponent.requestFocus()
Requests focus for this object. If this object cannot accept focus, nothing will happen. Otherwise, the object will attempt to take focus.

Specified by:
requestFocus sample code for javax.accessibility.AccessibleComponent.requestFocus() definition code for javax.accessibility.AccessibleComponent.requestFocus() in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
See Also:
AccessibleComponent.isFocusTraversable() sample code for javax.accessibility.AccessibleComponent.isFocusTraversable() definition code for javax.accessibility.AccessibleComponent.isFocusTraversable()

addFocusListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addFocusListener(java.awt.event.FocusListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addFocusListener(java.awt.event.FocusListener)

public void addFocusListener(FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener)
Adds the specified focus listener to receive focus events from this component.

Specified by:
addFocusListener sample code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
l - the focus listener
See Also:
AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) sample code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener)

removeFocusListener sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeFocusListener(java.awt.event.FocusListener) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeFocusListener(java.awt.event.FocusListener)

public void removeFocusListener(FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l)
Description copied from interface: AccessibleComponent sample code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener)
Removes the specified focus listener so it no longer receives focus events from this component.

Specified by:
removeFocusListener sample code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.removeFocusListener(java.awt.event.FocusListener) in interface AccessibleComponent sample code for javax.accessibility.AccessibleComponent definition code for javax.accessibility.AccessibleComponent
Parameters:
l - the focus listener
See Also:
AccessibleComponent.addFocusListener(java.awt.event.FocusListener) sample code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener) definition code for javax.accessibility.AccessibleComponent.addFocusListener(java.awt.event.FocusListener)

getAccessibleSelectionCount sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelectionCount() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelectionCount()

public int getAccessibleSelectionCount()
Returns the number of items currently selected. If no items are selected, the return value will be 0.

Specified by:
getAccessibleSelectionCount sample code for javax.accessibility.AccessibleSelection.getAccessibleSelectionCount() definition code for javax.accessibility.AccessibleSelection.getAccessibleSelectionCount() in interface AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection
Returns:
the number of items currently selected.

getAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleSelection(int)

public Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.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.

Specified by:
getAccessibleSelection sample code for javax.accessibility.AccessibleSelection.getAccessibleSelection(int) definition code for javax.accessibility.AccessibleSelection.getAccessibleSelection(int) in interface AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection
Parameters:
i - the zero-based index of selected items
Returns:
an Accessible containing the selected item
See Also:
AccessibleSelection.getAccessibleSelectionCount() sample code for javax.accessibility.AccessibleSelection.getAccessibleSelectionCount() definition code for javax.accessibility.AccessibleSelection.getAccessibleSelectionCount()

isAccessibleChildSelected sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isAccessibleChildSelected(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.isAccessibleChildSelected(int)

public boolean isAccessibleChildSelected(int i)
Returns true if the current child of this object is selected.

Specified by:
isAccessibleChildSelected sample code for javax.accessibility.AccessibleSelection.isAccessibleChildSelected(int) definition code for javax.accessibility.AccessibleSelection.isAccessibleChildSelected(int) in interface AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection
Parameters:
i - the zero-based index of the child in this Accessible object.
Returns:
true if the current child of this object is selected; else false.
See Also:
AccessibleContext.getAccessibleChild(int) sample code for javax.accessibility.AccessibleContext.getAccessibleChild(int) definition code for javax.accessibility.AccessibleContext.getAccessibleChild(int)

addAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addAccessibleSelection(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.addAccessibleSelection(int)

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.

Specified by:
addAccessibleSelection sample code for javax.accessibility.AccessibleSelection.addAccessibleSelection(int) definition code for javax.accessibility.AccessibleSelection.addAccessibleSelection(int) in interface AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection
Parameters:
i - the zero-based index of selectable items
See Also:
AccessibleContext.getAccessibleChild(int) sample code for javax.accessibility.AccessibleContext.getAccessibleChild(int) definition code for javax.accessibility.AccessibleContext.getAccessibleChild(int)

removeAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeAccessibleSelection(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.removeAccessibleSelection(int)

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.

Specified by:
removeAccessibleSelection sample code for javax.accessibility.AccessibleSelection.removeAccessibleSelection(int) definition code for javax.accessibility.AccessibleSelection.removeAccessibleSelection(int) in interface AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection
Parameters:
i - the zero-based index of selectable items
See Also:
AccessibleContext.getAccessibleChild(int) sample code for javax.accessibility.AccessibleContext.getAccessibleChild(int) definition code for javax.accessibility.AccessibleContext.getAccessibleChild(int)

clearAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.clearAccessibleSelection() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.clearAccessibleSelection()

public void clearAccessibleSelection()
Clears the selection in the object, so that nothing in the object is selected.

Specified by:
clearAccessibleSelection sample code for javax.accessibility.AccessibleSelection.clearAccessibleSelection() definition code for javax.accessibility.AccessibleSelection.clearAccessibleSelection() in interface AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection

selectAllAccessibleSelection sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.selectAllAccessibleSelection() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.selectAllAccessibleSelection()

public void selectAllAccessibleSelection()
Causes every selected item in the object to be selected if the object supports multiple selections.

Specified by:
selectAllAccessibleSelection sample code for javax.accessibility.AccessibleSelection.selectAllAccessibleSelection() definition code for javax.accessibility.AccessibleSelection.selectAllAccessibleSelection() in interface AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection

getAccessibleActionCount sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionCount() definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionCount()

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.

Specified by:
getAccessibleActionCount sample code for javax.accessibility.AccessibleAction.getAccessibleActionCount() definition code for javax.accessibility.AccessibleAction.getAccessibleActionCount() in interface AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
Returns:
the number of Actions in this object

getAccessibleActionDescription sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionDescription(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionDescription(int)

public String sample code for java.lang.String definition code for java.lang.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.

Specified by:
getAccessibleActionDescription sample code for javax.accessibility.AccessibleAction.getAccessibleActionDescription(int) definition code for javax.accessibility.AccessibleAction.getAccessibleActionDescription(int) in interface AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
Parameters:
i - zero-based index of the actions
Returns:
a description of the action
See Also:
AccessibleAction.getAccessibleActionCount() sample code for javax.accessibility.AccessibleAction.getAccessibleActionCount() definition code for javax.accessibility.AccessibleAction.getAccessibleActionCount()

doAccessibleAction sample code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.doAccessibleAction(int) definition code for javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.doAccessibleAction(int)

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.

Specified by:
doAccessibleAction sample code for javax.accessibility.AccessibleAction.doAccessibleAction(int) definition code for javax.accessibility.AccessibleAction.doAccessibleAction(int) in interface AccessibleAction sample code for javax.accessibility.AccessibleAction definition code for javax.accessibility.AccessibleAction
Parameters:
i - zero-based index of actions
Returns:
true if the the action was performed; else false.
See Also:
AccessibleAction.getAccessibleActionCount() sample code for javax.accessibility.AccessibleAction.getAccessibleActionCount() definition code for javax.accessibility.AccessibleAction.getAccessibleActionCount()