comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/accessibility/AccessibleControlEvent.d @ 0:6dd524f61e62

add dwt win and basic java stuff
author Frank Benoit <benoit@tionex.de>
date Mon, 02 Mar 2009 14:44:16 +0100
parents
children 6bf2837c50fe
comparison
equal deleted inserted replaced
-1:000000000000 0:6dd524f61e62
1 /*******************************************************************************
2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/
13 module org.eclipse.swt.accessibility.AccessibleControlEvent;
14
15 import org.eclipse.swt.accessibility.Accessible;
16
17 import org.eclipse.swt.internal.SWTEventObject;
18 import tango.text.convert.Format;
19 import java.lang.all;
20
21 /**
22 * Instances of this class are sent as a result of
23 * accessibility clients sending messages to controls
24 * asking for detailed information about the implementation
25 * of the control instance. Typically, only implementors
26 * of custom controls need to listen for this event.
27 * <p>
28 * Note: The meaning of each field depends on the
29 * message that was sent.
30 * </p>
31 *
32 * @see AccessibleControlListener
33 * @see AccessibleControlAdapter
34 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
35 *
36 * @since 2.0
37 */
38 public class AccessibleControlEvent : SWTEventObject {
39 public int childID; // IN/OUT
40 public Accessible accessible; // OUT
41 public int x, y; // IN/OUT
42 public int width, height; // OUT
43 public int detail; // IN/OUT
44 public String result; // OUT
45 public Object children[]; // [OUT]
46
47 //static final long serialVersionUID = 3257281444169529141L;
48
49 /**
50 * Constructs a new instance of this class.
51 *
52 * @param source the object that fired the event
53 */
54 public this(Object source) {
55 super(source);
56 }
57
58 /**
59 * Returns a string containing a concise, human-readable
60 * description of the receiver.
61 *
62 * @return a string representation of the event
63 */
64 public String toString () {
65 return Format( "AccessibleControlEvent {childID={} accessible={} x={} y={} width={} heigth={} detail={} result={}",
66 childID, accessible, x, y, width, height, detail, result);
67 }
68 }