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 AccessibleAction messages to an accessible object.
22 * @see AccessibleActionListener
23 * @see AccessibleActionAdapter
27 public class AccessibleActionEvent extends EventObject {
30 * The value of this field must be set in the accessible action listener method
31 * before returning. What to set it to depends on the listener method called.
36 public boolean localized;
38 static final long serialVersionUID = 2849066792640153087L;
41 * Constructs a new instance of this class.
43 * @param source the object that fired the event
45 public AccessibleActionEvent(Object source) {
50 * Returns a string containing a concise, human-readable
51 * description of the receiver.
53 * @return a string representation of the event
56 public String toString () {
57 return "AccessibleActionEvent {" //$NON-NLS-1$
58 + "string=" + result //$NON-NLS-1$
59 + " count=" + count //$NON-NLS-1$
60 + " index=" + index //$NON-NLS-1$