Mercurial > projects > dwt-win
comparison dwt/accessibility/AccessibleControlEvent.d @ 212:ab60f3309436
reverted the char[] to String and use the an alias.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:12:38 +0200 |
parents | 943a86053d88 |
children | fd9c62a2998e |
comparison
equal
deleted
inserted
replaced
211:ff59aeb96cac | 212:ab60f3309436 |
---|---|
14 | 14 |
15 import dwt.accessibility.Accessible; | 15 import dwt.accessibility.Accessible; |
16 | 16 |
17 import dwt.internal.DWTEventObject; | 17 import dwt.internal.DWTEventObject; |
18 import tango.text.convert.Format; | 18 import tango.text.convert.Format; |
19 import dwt.dwthelper.utils; | |
19 | 20 |
20 /** | 21 /** |
21 * Instances of this class are sent as a result of | 22 * Instances of this class are sent as a result of |
22 * accessibility clients sending messages to controls | 23 * accessibility clients sending messages to controls |
23 * asking for detailed information about the implementation | 24 * asking for detailed information about the implementation |
37 public int childID; // IN/OUT | 38 public int childID; // IN/OUT |
38 public Accessible accessible; // OUT | 39 public Accessible accessible; // OUT |
39 public int x, y; // IN/OUT | 40 public int x, y; // IN/OUT |
40 public int width, height; // OUT | 41 public int width, height; // OUT |
41 public int detail; // IN/OUT | 42 public int detail; // IN/OUT |
42 public char[] result; // OUT | 43 public String result; // OUT |
43 public Object children[]; // [OUT] | 44 public Object children[]; // [OUT] |
44 | 45 |
45 //static final long serialVersionUID = 3257281444169529141L; | 46 //static final long serialVersionUID = 3257281444169529141L; |
46 | 47 |
47 /** | 48 /** |
57 * Returns a string containing a concise, human-readable | 58 * Returns a string containing a concise, human-readable |
58 * description of the receiver. | 59 * description of the receiver. |
59 * | 60 * |
60 * @return a string representation of the event | 61 * @return a string representation of the event |
61 */ | 62 */ |
62 public char[] toString () { | 63 public String toString () { |
63 return Format( "AccessibleControlEvent {childID={} accessible={} x={} y={} width={} heigth={} detail={} result={}", | 64 return Format( "AccessibleControlEvent {childID={} accessible={} x={} y={} width={} heigth={} detail={} result={}", |
64 childID, accessible, x, y, width, height, detail, result); | 65 childID, accessible, x, y, width, height, detail, result); |
65 } | 66 } |
66 } | 67 } |