]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/accessibility/AccessibleValueEvent.java
bd381f2108dcaa2fe9174330a1fa98831425e98e
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / accessibility / AccessibleValueEvent.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 AccessibleValue messages to an accessible object.
21  *
22  * @see AccessibleValueListener
23  * @see AccessibleValueAdapter
24  *
25  * @since 3.6
26  */
27 public class AccessibleValueEvent extends EventObject {
28
29         public Number value;
30
31         static final long serialVersionUID = -465979079760740668L;
32
33 /**
34  * Constructs a new instance of this class.
35  *
36  * @param source the object that fired the event
37  */
38 public AccessibleValueEvent(Object source) {
39         super(source);
40 }
41
42 /**
43  * Returns a string containing a concise, human-readable
44  * description of the receiver.
45  *
46  * @return a string representation of the event
47  */
48 @Override
49 public String toString () {
50         return "AccessibleValueEvent {" //$NON-NLS-1$
51                 + "value=" + value   //$NON-NLS-1$
52                 + "}";  //$NON-NLS-1$
53 }
54 }