API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. JTable.AccessibleJTable View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AccessibleContext
          Component.AccessibleAWTComponent
              Container.AccessibleAWTContainer
                  JComponent.AccessibleJComponent
                      JTable.AccessibleJTable
Implements
 AccessibleSelection
 ListSelectionListener
 TableModelListener
 TableColumnModelListener
 CellEditorListener
 PropertyChangeListener
 AccessibleExtendedTable
Subclasses
Description
protected class JTable.AccessibleJTable
  This class implements accessibility support for the JTable class.
See also:   
Constructors
protected JTable.AccessibleJTable ()
  AccessibleJTable constructor
Methods
Hide/Show inherited methods
public void addAccessibleSelection (int i) [Specified in AccessibleSelection]
  Adds the specified Accessible child of the object to the object's selection.
public void addFocusListener (FocusListener l) [Inherited From Component.AccessibleAWTComponent]
  Adds the specified focus listener to receive focus events from this component.
public void addPropertyChangeListener (PropertyChangeListener listener) [Inherited From JComponent.AccessibleJComponent]
  Adds a PropertyChangeListener to the listener list.
public void clearAccessibleSelection () [Specified in AccessibleSelection]
Clears the selection in the object, so that no children in the object are selected.
public void columnAdded (TableColumnModelEvent e) [Specified in TableColumnModelListener]
Track changes to the table contents (column insertions)
public void columnMarginChanged (ChangeEvent e) [Specified in TableColumnModelListener]
  Track changes of a column moving due to margin changes.
public void columnMoved (TableColumnModelEvent e) [Specified in TableColumnModelListener]
  Track changes of a column repositioning.
public void columnRemoved (TableColumnModelEvent e) [Specified in TableColumnModelListener]
Track changes to the table contents (column deletions)
public void columnSelectionChanged (ListSelectionEvent e) [Specified in TableColumnModelListener]
  Track that the selection model of the TableColumnModel changed.
public boolean contains (Point p) [Inherited From Component.AccessibleAWTComponent]
  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.
public void editingCanceled (ChangeEvent e) [Specified in CellEditorListener]
  Invoked when editing is canceled.
public void editingStopped (ChangeEvent e) [Specified in CellEditorListener]
  Track changes to a cell's contents.
public void firePropertyChange (String propertyName, Object oldValue, Object newValue) [Inherited From AccessibleContext]
  Support for reporting bound property changes.
public AccessibleAction getAccessibleAction () [Inherited From AccessibleContext]
  Gets the AccessibleAction associated with this object that supports one or more actions.
public Accessible getAccessibleAt (int r, int c)
public Accessible getAccessibleAt (Point p) [Overrides Container.AccessibleAWTContainer]
  Returns the Accessible child, if one exists, contained at the local coordinate Point.
public Accessible getAccessibleCaption ()
  Returns the caption for the table.
public Accessible getAccessibleChild (int i) [Overrides JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Returns the nth Accessible child of the object.
public int getAccessibleChildrenCount () [Overrides JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Returns the number of accessible children in the object.
public int getAccessibleColumn (int index) [Specified in AccessibleExtendedTable]
  Returns the column number of an index in the table.
public int getAccessibleColumnAtIndex (int i)
  Returns the column at a given index into the table.
public int getAccessibleColumnCount ()
public Accessible getAccessibleColumnDescription (int c)
  Returns the description of the specified column in the table.
public int getAccessibleColumnExtentAt (int r, int c)
  Returns the number of columns occupied by the Accessible at a given (row, column).
public AccessibleTable getAccessibleColumnHeader ()
  Returns the column headers as an AccessibleTable.
public AccessibleComponent getAccessibleComponent () [Inherited From Component.AccessibleAWTComponent]
  Gets the AccessibleComponent associated with this object if one exists.
public String getAccessibleDescription () [Inherited From JComponent.AccessibleJComponent]
  Gets the accessible description of this object.
public AccessibleEditableText getAccessibleEditableText () [Inherited From AccessibleContext]
  Gets the AccessibleEditableText associated with this object presenting editable text on the display.
pack-private AccessibleExtendedComponent getAccessibleExtendedComponent () [Inherited From JComponent.AccessibleJComponent]
  Returns the AccessibleExtendedComponent
public AccessibleIcon getAccessibleIcon () [Inherited From AccessibleContext]
  Gets the AccessibleIcons associated with an object that has one or more associated icons
public int getAccessibleIndex (int r, int c) [Specified in AccessibleExtendedTable]
  Returns the index at a row and column in the table.
public int getAccessibleIndexAt (int r, int c)
  Returns the index at a given (row, column) in the table.
public int getAccessibleIndexInParent () [Inherited From Component.AccessibleAWTComponent] [Specified in AccessibleContext]
  Gets the index of this object in its accessible parent.
public AccessibleKeyBinding getAccessibleKeyBinding () [Inherited From JComponent.AccessibleJComponent]
  Returns key bindings associated with this object
public String getAccessibleName () [Inherited From JComponent.AccessibleJComponent]
  Gets the accessible name of this object.
public Accessible getAccessibleParent () [Inherited From Component.AccessibleAWTComponent]
  Gets the Accessible parent of this object.
public AccessibleRelationSet getAccessibleRelationSet () [Inherited From AccessibleContext]
  Gets the AccessibleRelationSet associated with an object
public AccessibleRole getAccessibleRole () [Overrides JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Gets the role of this object.
public int getAccessibleRow (int index) [Specified in AccessibleExtendedTable]
  Returns the row number of an index in the table.
public int getAccessibleRowAtIndex (int i)
  Returns the row at a given index into the table.
public int getAccessibleRowCount ()
public Accessible getAccessibleRowDescription (int r)
  Returns the description of the specified row in the table.
public int getAccessibleRowExtentAt (int r, int c)
  Returns the number of rows occupied by the Accessible at a specified row and column in the table.
public AccessibleTable getAccessibleRowHeader ()
  Returns the row headers as an AccessibleTable.
public AccessibleSelection getAccessibleSelection () [Overrides AccessibleContext]
  Get the AccessibleSelection associated with this object.
public Accessible getAccessibleSelection (int i) [Specified in AccessibleSelection]
  Returns an Accessible representing the specified selected child in the object.
public int getAccessibleSelectionCount () [Specified in AccessibleSelection]
  Returns the number of Accessible children currently selected.
public AccessibleStateSet getAccessibleStateSet () [Inherited From JComponent.AccessibleJComponent] [Specified in AccessibleContext]
  Gets the state of this object.
public Accessible getAccessibleSummary ()
  Returns the summary description of the table.
public AccessibleTable getAccessibleTable () [Overrides AccessibleContext]
  Gets the AccessibleTable associated with this object.
public AccessibleText getAccessibleText () [Inherited From AccessibleContext]
  Gets the AccessibleText associated with this object presenting text on the display.
public AccessibleValue getAccessibleValue () [Inherited From AccessibleContext]
  Gets the AccessibleValue associated with this object that supports a Numerical value.
public Color getBackground () [Inherited From Component.AccessibleAWTComponent]
  Gets the background color of this object.
protected String getBorderTitle (Border b) [Inherited From JComponent.AccessibleJComponent]
  Recursively search through the border hierarchy (if it exists) for a TitledBorder with a non-null title.
public Rectangle getBounds () [Inherited From Component.AccessibleAWTComponent]
  Gets the bounds of this object in the form of a Rectangle object.
public Cursor getCursor () [Inherited From Component.AccessibleAWTComponent]
  Gets the Cursor of this object.
public Font getFont () [Inherited From Component.AccessibleAWTComponent]
  Gets the Font of this object.
public FontMetrics getFontMetrics (Font f) [Inherited From Component.AccessibleAWTComponent]
  Gets the FontMetrics of this object.
public Color getForeground () [Inherited From Component.AccessibleAWTComponent]
  Gets the foreground color of this object.
public Locale getLocale () [Inherited From Component.AccessibleAWTComponent] [Specified in AccessibleContext]
  Returns the locale of this object.
public Point getLocation () [Inherited From Component.AccessibleAWTComponent]
  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.
public Point getLocationOnScreen () [Inherited From Component.AccessibleAWTComponent]
  Returns the location of the object on the screen.
public int getSelectedAccessibleColumns ()
  Returns the selected columns in a table.
public int getSelectedAccessibleRows ()
  Returns the selected rows in a table.
public Dimension getSize () [Inherited From Component.AccessibleAWTComponent]
  Returns the size of this object in the form of a Dimension object.
public String getTitledBorderText () [Inherited From JComponent.AccessibleJComponent]
  Returns the titled border text
public String getToolTipText () [Inherited From JComponent.AccessibleJComponent]
  Returns the tool tip text
public boolean isAccessibleChildSelected (int i) [Specified in AccessibleSelection]
  Determines if the current child of this object is selected.
public boolean isAccessibleColumnSelected (int c)
  Returns a boolean value indicating whether the specified column is selected.
public boolean isAccessibleRowSelected (int r)
  Returns a boolean value indicating whether the specified row is selected.
public boolean isAccessibleSelected (int r, int c)
  Returns a boolean value indicating whether the accessible at a given (row, column) is selected.
public boolean isEnabled () [Inherited From Component.AccessibleAWTComponent]
  Determines if the object is enabled.
public boolean isFocusTraversable () [Inherited From Component.AccessibleAWTComponent]
  Returns whether this object can accept focus or not.
public boolean isShowing () [Inherited From Component.AccessibleAWTComponent]
  Determines if the object is showing.
public boolean isVisible () [Inherited From Component.AccessibleAWTComponent]
  Determines if the object is visible.
public void propertyChange (PropertyChangeEvent e) [Specified in PropertyChangeListener]
  Track changes to selection model, column model, etc.
public void removeAccessibleSelection (int i) [Specified in AccessibleSelection]
  Removes the specified child of the object from the object's selection.
public void removeFocusListener (FocusListener l) [Inherited From Component.AccessibleAWTComponent]
  Removes the specified focus listener so it no longer receives focus events from this component.
public void removePropertyChangeListener (PropertyChangeListener listener) [Inherited From JComponent.AccessibleJComponent]
  Removes a PropertyChangeListener from the listener list.
public void requestFocus () [Inherited From Component.AccessibleAWTComponent]
Requests focus for this object.
public void selectAllAccessibleSelection () [Specified in AccessibleSelection]
Causes every child of the object to be selected, but only if the JTable supports multiple selections, and if individual cell selection is enabled.
public void setAccessibleCaption (Accessible a)
  Sets the caption for the table.
public void setAccessibleColumnDescription (int c, Accessible a)
  Sets the description text of the specified column of the table.
public void setAccessibleColumnHeader (AccessibleTable a)
  Sets the column headers as an AccessibleTable.
public void setAccessibleDescription (String s) [Inherited From AccessibleContext]
  Sets the accessible description of this object.
public void setAccessibleName (String s) [Inherited From AccessibleContext]
  Sets the localized accessible name of this object.
public void setAccessibleParent (Accessible a) [Inherited From AccessibleContext]
  Sets the Accessible parent of this object.
public void setAccessibleRowDescription (int r, Accessible a)
  Sets the description text of the specified row of the table.
public void setAccessibleRowHeader (AccessibleTable a)
  Sets the row headers as an AccessibleTable.
public void setAccessibleSummary (Accessible a)
  Sets the summary description of the table.
public void setBackground (Color c) [Inherited From Component.AccessibleAWTComponent]
  Sets the background color of this object.
public void setBounds (Rectangle r) [Inherited From Component.AccessibleAWTComponent]
  Sets the bounds of this object in the form of a Rectangle object.
public void setCursor (Cursor cursor) [Inherited From Component.AccessibleAWTComponent]
  Sets the Cursor of this object.
public void setEnabled (boolean b) [Inherited From Component.AccessibleAWTComponent]
  Sets the enabled state of the object.
public void setFont (Font f) [Inherited From Component.AccessibleAWTComponent]
  Sets the Font of this object.
public void setForeground (Color c) [Inherited From Component.AccessibleAWTComponent]
  Sets the foreground color of this object.
public void setLocation (Point p) [Inherited From Component.AccessibleAWTComponent]
  Sets the location of the object relative to the parent.
public void setSize (Dimension d) [Inherited From Component.AccessibleAWTComponent]
  Resizes this object so that it has width and height.
public void setVisible (boolean b) [Inherited From Component.AccessibleAWTComponent]
  Sets the visible state of the object.
public void tableChanged (TableModelEvent e) [Specified in TableModelListener]
Track changes to the table contents
public void tableRowsDeleted (TableModelEvent e)
Track changes to the table contents (row deletions)
public void tableRowsInserted (TableModelEvent e)
Track changes to the table contents (row insertions)
public void valueChanged (ListSelectionEvent e) [Specified in ListSelectionListener]
Track changes to table cell selections
Fields
Hide/Show inherited fields
publicfinalstatic String ACCESSIBLE_ACTION_PROPERTY = "accessibleActionProperty" [Inherited From AccessibleContext]
  Constant used to indicate that the supported set of actions has changed.
publicfinalstatic String ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY = "AccessibleActiveDescendant" [Inherited From AccessibleContext]
  Constant used to determine when the active descendant of a component has changed.
publicfinalstatic String ACCESSIBLE_CARET_PROPERTY = "AccessibleCaret" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleText caret has changed.
publicfinalstatic String ACCESSIBLE_CHILD_PROPERTY = "AccessibleChild" [Inherited From AccessibleContext]
  Constant used to determine when Accessible children are added/removed from the object.
publicfinalstatic String ACCESSIBLE_COMPONENT_BOUNDS_CHANGED = "accessibleComponentBoundsChanged" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that a change has occurred in a component's bounds.
publicfinalstatic String ACCESSIBLE_DESCRIPTION_PROPERTY = "AccessibleDescription" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleDescription property has changed.
publicfinalstatic String ACCESSIBLE_HYPERTEXT_OFFSET = "AccessibleHypertextOffset" [Inherited From AccessibleContext]
  Constant used to indicate that a hypertext element has received focus.
publicfinalstatic String ACCESSIBLE_INVALIDATE_CHILDREN = "accessibleInvalidateChildren" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that a significant change has occurred to the children of a component like a tree or text.
publicfinalstatic String ACCESSIBLE_NAME_PROPERTY = "AccessibleName" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleName property has changed.
publicfinalstatic String ACCESSIBLE_SELECTION_PROPERTY = "AccessibleSelection" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleSelection has changed.
publicfinalstatic String ACCESSIBLE_STATE_PROPERTY = "AccessibleState" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleStateSet property has changed.
publicfinalstatic String ACCESSIBLE_TABLE_CAPTION_CHANGED = "accessibleTableCaptionChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the table caption has changed The old value in the PropertyChangeEvent will be an Accessible representing the previous table caption and the new value will be an Accessible representing the new table caption.
publicfinalstatic String ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED = "accessibleTableColumnDescriptionChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the column description has changed The old value in the PropertyChangeEvent will be null and the new value will be an Integer representing the column index.
publicfinalstatic String ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED = "accessibleTableColumnHeaderChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the column header has changed The old value in the PropertyChangeEvent will be null and the new value will be an AccessibleTableModelChange representing the header change.
publicfinalstatic String ACCESSIBLE_TABLE_MODEL_CHANGED = "accessibleTableModelChanged" [Inherited From AccessibleContext]
  Constant used to indicate that table data has changed.
publicfinalstatic String ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED = "accessibleTableRowDescriptionChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the row description has changed The old value in the PropertyChangeEvent will be null and the new value will be an Integer representing the row index.
publicfinalstatic String ACCESSIBLE_TABLE_ROW_HEADER_CHANGED = "accessibleTableRowHeaderChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the row header has changed The old value in the PropertyChangeEvent will be null and the new value will be an AccessibleTableModelChange representing the header change.
publicfinalstatic String ACCESSIBLE_TABLE_SUMMARY_CHANGED = "accessibleTableSummaryChanged" [Inherited From AccessibleContext]
  Constant used to indicate that the table summary has changed The old value in the PropertyChangeEvent will be an Accessible representing the previous table summary and the new value will be an Accessible representing the new table summary.
publicfinalstatic String ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED = "accessibleTextAttributesChanged" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that text attributes have changed.
publicfinalstatic String ACCESSIBLE_TEXT_PROPERTY = "AccessibleText" [Inherited From AccessibleContext]
  PropertyChangeEvent which indicates that text has changed.
publicfinalstatic String ACCESSIBLE_VALUE_PROPERTY = "AccessibleValue" [Inherited From AccessibleContext]
  Constant used to determine when the accessibleValue property has changed.
publicfinalstatic String ACCESSIBLE_VISIBLE_DATA_PROPERTY = "AccessibleVisibleData" [Inherited From AccessibleContext]
  Constant used to determine when the visual appearance of the object has changed.
protected ComponentListener accessibleAWTComponentHandler [Inherited From Component.AccessibleAWTComponent]
protected FocusListener accessibleAWTFocusHandler [Inherited From Component.AccessibleAWTComponent]
protected ContainerListener accessibleContainerHandler [Inherited From JComponent.AccessibleJComponent]
protected String accessibleDescription [Inherited From AccessibleContext]
  A localized String containing the description of the object.
protected FocusListener accessibleFocusHandler [Inherited From JComponent.AccessibleJComponent]
protected String accessibleName [Inherited From AccessibleContext]
  A localized String containing the name of the object.
protected Accessible accessibleParent [Inherited From AccessibleContext]
  The accessible parent of this object.
pack-private int lastSelectedCol
pack-private int lastSelectedRow
Nested Classes
  JTable.AccessibleJTable.AccessibleJTableModelChange
  JTable.AccessibleJTable.AccessibleJTableCell
The class provides an implementation of the Java Accessibility API appropriate to table cells.
  JComponent.AccessibleJComponent.AccessibleContainerHandler
Fire PropertyChange listener, if one is registered, when children added/removed.
  JComponent.AccessibleJComponent.AccessibleFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happen
  Container.AccessibleAWTContainer.AccessibleContainerHandler
Fire PropertyChange listener, if one is registered, when children are added or removed.
  Component.AccessibleAWTComponent.AccessibleAWTComponentHandler
Fire PropertyChange listener, if one is registered, when shown/hidden..
  Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happen
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar