1 /*******************************************************************************
2 * Copyright (c) 2009, 2017 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.accessibility;
19 * Instances of this class are sent as a result of accessibility clients
20 * sending AccessibleTable messages to an accessible object.
22 * @see AccessibleTableListener
23 * @see AccessibleTableAdapter
27 public class AccessibleTableEvent extends EventObject {
29 public Accessible accessible;
30 public Accessible[] accessibles;
33 * The value of this field must be set in the accessible table listener method
34 * before returning. What to set it to depends on the listener method called.
41 public boolean isSelected;
42 public int[] selected;
44 static final long serialVersionUID = 1624586163666270447L;
47 * Constructs a new instance of this class.
49 * @param source the object that fired the event
51 public AccessibleTableEvent(Object source) {
56 * Returns a string containing a concise, human-readable
57 * description of the receiver.
59 * @return a string representation of the event
62 public String toString () {
63 return "AccessibleTableEvent {" //$NON-NLS-1$
64 + "accessible=" + accessible //$NON-NLS-1$
65 + " accessibles=" + accessibles //$NON-NLS-1$
66 + " string=" + result //$NON-NLS-1$
67 + " isSelected=" + isSelected //$NON-NLS-1$
68 + " column=" + column //$NON-NLS-1$
69 + " count=" + count //$NON-NLS-1$
70 + " row=" + row //$NON-NLS-1$
71 + " selected=" + selected //$NON-NLS-1$