/******************************************************************************* * Copyright (c) 2009, 2010 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.swt.accessibility; import org.eclipse.swt.internal.*; /** * Classes which implement this interface provide methods * that handle AccessibleTable events. *

* After creating an instance of a class that implements * this interface it can be added to an accessible using the * addAccessibleTableListener method and removed using * the removeAccessibleTableListener method. *

* Many methods in this listener return cell accessible objects, * which should implement AccessibleTableCellListener. *

* * @see AccessibleTableAdapter * @see AccessibleTableEvent * @see AccessibleTableCellListener * @see AccessibleTableCellEvent * * @since 3.6 */ public interface AccessibleTableListener extends SWTEventListener { /** * Deselects one column, leaving other selected columns selected (if any). * * @param e an event object containing the following fields: */ public void deselectColumn(AccessibleTableEvent e); /** * Deselects one row, leaving other selected rows selected (if any). * * @param e an event object containing the following fields: */ public void deselectRow(AccessibleTableEvent e); /** * Returns the caption for the table. * * @param e an event object containing the following fields: * * @deprecated IAccessibleTable2::caption is deprecated, instead use the * IA2_RELATION_LABELED_BY relation to create a relation between the table and its caption. */ @Deprecated public void getCaption(AccessibleTableEvent e); /** * Returns the accessible object at the specified row and column in the table. * * @param e an event object containing the following fields: */ public void getCell(AccessibleTableEvent e); /** * Returns the accessible object for the specified column in the table. * * @param e an event object containing the following fields: */ public void getColumn(AccessibleTableEvent e); /** * Returns the total number of columns in the table. * * @param e an event object containing the following fields: */ public void getColumnCount(AccessibleTableEvent e); /** * Returns the description text of the specified column in the table. * * @param e an event object containing the following fields: */ public void getColumnDescription(AccessibleTableEvent e); /** * Returns the accessible object for the column header. * * @param e an event object containing the following fields: */ public void getColumnHeader(AccessibleTableEvent e); /** * Returns the column header cells as an array of accessible objects. * * @param e an event object containing the following fields: */ public void getColumnHeaderCells(AccessibleTableEvent e); /** * Returns the columns as an array of accessible objects. * * @param e an event object containing the following fields: */ public void getColumns(AccessibleTableEvent e); /** * Returns the accessible object for the specified row in the table. * * @param e an event object containing the following fields: */ public void getRow(AccessibleTableEvent e); /** * Returns the total number of rows in the table. * * @param e an event object containing the following fields: */ public void getRowCount(AccessibleTableEvent e); /** * Returns the description text of the specified row in the table. * * @param e an event object containing the following fields: */ public void getRowDescription(AccessibleTableEvent e); /** * Returns the accessible object for the row header. * * @param e an event object containing the following fields: */ public void getRowHeader(AccessibleTableEvent e); /** * Returns the row header cells as an array of accessible objects. * * @param e an event object containing the following fields: */ public void getRowHeaderCells(AccessibleTableEvent e); /** * Returns the rows as an array of accessible objects. * * @param e an event object containing the following fields: */ public void getRows(AccessibleTableEvent e); /** * Returns the number of selected cells. * * @param e an event object containing the following fields: */ public void getSelectedCellCount(AccessibleTableEvent e); /** * Returns the currently selected cells. * * @param e an event object containing the following fields: */ public void getSelectedCells(AccessibleTableEvent e); /** * Returns the number of selected columns. * * @param e an event object containing the following fields: */ public void getSelectedColumnCount(AccessibleTableEvent e); /** * Returns the column indexes that are currently selected. * * @param e an event object containing the following fields: */ public void getSelectedColumns(AccessibleTableEvent e); /** * Returns the number of selected rows. * * @param e an event object containing the following fields: */ public void getSelectedRowCount(AccessibleTableEvent e); /** * Returns the row indexes that are currently selected. * * @param e an event object containing the following fields: */ public void getSelectedRows(AccessibleTableEvent e); /** * Returns the summary description of the table. * * @param e an event object containing the following fields: * * @deprecated IAccessibleTable2::summary is deprecated, instead use the * IA2_RELATION_DESCRIBED_BY relation to create a relation between the table and its summary. */ @Deprecated public void getSummary(AccessibleTableEvent e); /** * Returns the visible columns as an array of accessible objects. * * @param e an event object containing the following fields: */ public void getVisibleColumns(AccessibleTableEvent e); /** * Returns the visible rows as an array of accessible objects. * * @param e an event object containing the following fields: */ public void getVisibleRows(AccessibleTableEvent e); /** * Returns a boolean value indicating whether the specified column is * completely selected. * * @param e an event object containing the following fields: */ public void isColumnSelected(AccessibleTableEvent e); /** * Returns a boolean value indicating whether the specified row is * completely selected. * * @param e an event object containing the following fields: */ public void isRowSelected(AccessibleTableEvent e); /** * Selects a column. * * @param e an event object containing the following fields: */ public void selectColumn(AccessibleTableEvent e); /** * Selects a row. * * @param e an event object containing the following fields: */ public void selectRow(AccessibleTableEvent e); /** * Selects a column and deselects all previously selected columns. * * @param e an event object containing the following fields: */ public void setSelectedColumn(AccessibleTableEvent e); /** * Selects a row and deselects all previously selected rows. * * @param e an event object containing the following fields: */ public void setSelectedRow(AccessibleTableEvent e); }