]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/accessibility/AccessibleTableCellEvent.java
03674e1e1dfbb90e5b38908035690dd434d7a3c8
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / accessibility / AccessibleTableCellEvent.java
1 /*******************************************************************************
2  * Copyright (c) 2009, 2017 IBM Corporation and others.
3  *
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/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.accessibility;
15
16 import java.util.*;
17
18 /**
19  * Instances of this class are sent as a result of accessibility clients
20  * sending AccessibleTableCell messages to an accessible object.
21  *
22  * @see AccessibleTableCellListener
23  * @see AccessibleTableCellAdapter
24  *
25  * @since 3.6
26  */
27 public class AccessibleTableCellEvent extends EventObject {
28
29         public Accessible accessible;
30         public Accessible[] accessibles;
31         public boolean isSelected;
32         public int count;
33         public int index;
34
35         static final long serialVersionUID = 7231059449172889781L;
36
37 /**
38  * Constructs a new instance of this class.
39  *
40  * @param source the object that fired the event
41  */
42 public AccessibleTableCellEvent(Object source) {
43         super(source);
44 }
45
46 /**
47  * Returns a string containing a concise, human-readable
48  * description of the receiver.
49  *
50  * @return a string representation of the event
51  */
52 @Override
53 public String toString () {
54         return "AccessibleTableCellEvent {" //$NON-NLS-1$
55                 + " accessibles=" + accessibles   //$NON-NLS-1$
56                 + " isSelected=" + isSelected   //$NON-NLS-1$
57                 + " count=" + count   //$NON-NLS-1$
58                 + " index=" + index   //$NON-NLS-1$
59                 + "}";  //$NON-NLS-1$
60 }
61 }